Package org.codehaus.groovy.control
Class ClassNodeResolver.LookupResult
java.lang.Object
org.codehaus.groovy.control.ClassNodeResolver.LookupResult
- Enclosing class:
- ClassNodeResolver
Helper class to return either a SourceUnit or ClassNode.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionreturns the ClassNodereturns the SourceUnitbooleanreturns true if a ClassNode is storedbooleanreturns true if a SourceUnit is stored
- 
Constructor Details- 
LookupResultcreates a new LookupResult. You are not supposed to supply a SourceUnit and a ClassNode at the same time
 
- 
- 
Method Details- 
isClassNodepublic boolean isClassNode()returns true if a ClassNode is stored
- 
isSourceUnitpublic boolean isSourceUnit()returns true if a SourceUnit is stored
- 
getSourceUnitreturns the SourceUnit
- 
getClassNodereturns the ClassNode
 
-