|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.codehaus.groovy.classgen.asm.StatementMetaTypeChooser
org.codehaus.groovy.classgen.asm.sc.StaticTypesTypeChooser
public class StaticTypesTypeChooser
A TypeChooser which reads type information from node metadata
generated by the CompileStatic annotation.
| Constructor Summary | |
|---|---|
StaticTypesTypeChooser()
|
|
| Method Summary | |
|---|---|
ClassNode |
resolveType(Expression exp,
ClassNode current)
Resolve the type of an expression. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StaticTypesTypeChooser()
| Method Detail |
|---|
public ClassNode resolveType(Expression exp,
ClassNode current)
TypeChooser
resolveType in interface TypeChooserresolveType in class StatementMetaTypeChooserexp - the expression for which the type must be returned.current - the classnode this expression belongs to
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||