Helper class to return either a SourceUnit or ClassNode.
| Constructor and description | 
|---|
| ClassNodeResolver.LookupResult
                                (SourceUnit su, ClassNode cn)creates a new LookupResult. | 
| Type Params | Return Type | Name and description | 
|---|---|---|
|  | ClassNode | getClassNode()returns the ClassNode | 
|  | SourceUnit | getSourceUnit()returns the SourceUnit | 
|  | boolean | isClassNode()returns true if a ClassNode is stored | 
|  | boolean | isSourceUnit()returns true if a SourecUnit is stored | 
creates a new LookupResult. You are not supposed to supply a SourceUnit and a ClassNode at the same time
returns the ClassNode
returns the SourceUnit
returns true if a ClassNode is stored
returns true if a SourecUnit is stored
Copyright © 2003-2021 The Apache Software Foundation. All rights reserved.