| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.codehaus.groovy.control.ClassNodeResolver.LookupResult
public static class ClassNodeResolver.LookupResult
Helper class to return either a SourceUnit or ClassNode.
| Constructor Summary | |
|---|---|
ClassNodeResolver.LookupResult(SourceUnit su,
                               ClassNode cn)
creates a new LookupResult.  | 
|
| Method Summary | |
|---|---|
 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  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public ClassNodeResolver.LookupResult(SourceUnit su,
                                      ClassNode cn)
| Method Detail | 
|---|
public boolean isClassNode()
public boolean isSourceUnit()
public SourceUnit getSourceUnit()
public ClassNode getClassNode()
  | 
Copyright © 2003-2012 The Codehaus. All rights reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||