public class StaticTypesTypeChooser
extends StatementMetaTypeChooser
A TypeChooser which reads type information from node metadata generated by the static type checker.
| Type Params | Return Type | Name and description |
|---|---|---|
|
public ClassNode |
resolveType(Expression exp, ClassNode current)* * Resolve the type of an expression. Depending on the implementations, the * returned type may be the declared type or an inferred type. *
|
| Methods inherited from class | Name |
|---|---|
class StatementMetaTypeChooser |
resolveType |
* * Resolve the type of an expression. Depending on the implementations, the * returned type may be the declared type or an inferred type. *
expression - the expression for which the type must be returned.
*classNode - the classnode this expression belongs to
*