Package org.codehaus.groovy.classgen.asm
Class StatementMetaTypeChooser
java.lang.Object
org.codehaus.groovy.classgen.asm.StatementMetaTypeChooser
- All Implemented Interfaces:
- TypeChooser
- Direct Known Subclasses:
- StaticTypesTypeChooser
public class StatementMetaTypeChooser extends java.lang.Object implements TypeChooser
A 
TypeChooser which is aware of statement metadata.- 
Constructor SummaryConstructors Constructor Description StatementMetaTypeChooser()
- 
Method SummaryModifier and Type Method Description ClassNoderesolveType(Expression exp, ClassNode current)Resolve the type of an expression.Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
- 
Constructor Details- 
StatementMetaTypeChooserpublic StatementMetaTypeChooser()
 
- 
- 
Method Details- 
resolveTypeDescription copied from interface:TypeChooserResolve the type of an expression. Depending on the implementations, the returned type may be the declared type or an inferred type.- Specified by:
- resolveTypein interface- TypeChooser
- Parameters:
- exp- the expression for which the type must be returned.
- current- the classnode this expression belongs to
- Returns:
- the resolved type.
 
 
-