| 
Groovy 1.8.5 | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.codehaus.groovy.ast.ASTNode
org.codehaus.groovy.ast.AnnotatedNode
org.codehaus.groovy.ast.ClassNode
org.codehaus.groovy.ast.InnerClassNode
public class InnerClassNode extends ClassNode
Represents an inner class declaration
| Field Summary | 
|---|
| Fields inherited from class ClassNode | |
|---|---|
| EMPTY_ARRAY, SUPER, THIS, clazz, innerClasses, isPrimaryNode, lazyInitLock | 
| Constructor Summary | |
            InnerClassNode(ClassNode outerClass, String name, int modifiers, ClassNode superClass)
            @param name is the full name of the class  | 
        |
            InnerClassNode(ClassNode outerClass, String name, int modifiers, ClassNode superClass, ClassNode[] interfaces, MixinNode[] mixins)
            @param name is the full name of the class  | 
        |
| Method Summary | |
|---|---|
            ClassNode
         | 
        
            getOuterClass()
             | 
        
            FieldNode
         | 
        
            getOuterField(String name)
            @return the field node on the outer class or null if this is not an inner class  | 
        
            VariableScope
         | 
        
            getVariableScope()
             | 
        
            boolean
         | 
        
            isAnonymous()
             | 
        
            void
         | 
        
            setAnonymous(boolean anonymous)
             | 
        
            void
         | 
        
            setVariableScope(VariableScope scope)
             | 
        
| Methods inherited from class AnnotatedNode | |
|---|---|
| addAnnotation, addAnnotations, getAnnotations, getAnnotations, getDeclaringClass, hasNoRealSourcePosition, isSynthetic, setDeclaringClass, setHasNoRealSourcePosition, setSynthetic | 
| Methods inherited from class Object | |
|---|---|
| wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll | 
| Constructor Detail | 
|---|
public InnerClassNode(ClassNode outerClass, String name, int modifiers, ClassNode superClass)
name -  is the full name of the classmodifiers -  the modifiers,superClass -  the base class name - use "java.lang.Object" if no direct base class
public InnerClassNode(ClassNode outerClass, String name, int modifiers, ClassNode superClass, ClassNode[] interfaces, MixinNode[] mixins)
name -  is the full name of the classmodifiers -  the modifiers,superClass -  the base class name - use "java.lang.Object" if no direct base class
| Method Detail | 
|---|
public ClassNode getOuterClass()
public FieldNode getOuterField(String name)
public VariableScope getVariableScope()
public boolean isAnonymous()
public void setAnonymous(boolean anonymous)
public void setVariableScope(VariableScope scope)
Copyright © 2003-2011 The Codehaus. All rights reserved.