Web Site

org.codehaus.janino
Interface Java.TypeBodyDeclaration

All Superinterfaces:
Java.Locatable, Java.Scope
All Known Subinterfaces:
Java.MemberTypeDeclaration
All Known Implementing Classes:
Java.AbstractTypeBodyDeclaration, Java.FieldDeclaration, Java.MemberClassDeclaration, Java.MemberInterfaceDeclaration
Enclosing interface:
Java

public static interface Java.TypeBodyDeclaration
extends Java.Locatable, Java.Scope

Representation of a "ClassBodyDeclaration" or an "InterfaceMemberDeclaration". These are:


Method Summary
 void accept(Visitor.TypeBodyDeclarationVisitor visitor)
           
 Java.TypeDeclaration getDeclaringType()
           
 boolean isStatic()
           
 void setDeclaringType(Java.TypeDeclaration declaringType)
           
 
Methods inherited from interface org.codehaus.janino.Java.Locatable
getLocation, throwParseException
 
Methods inherited from interface org.codehaus.janino.Java.Scope
getEnclosingScope
 

Method Detail

setDeclaringType

public void setDeclaringType(Java.TypeDeclaration declaringType)

getDeclaringType

public Java.TypeDeclaration getDeclaringType()

isStatic

public boolean isStatic()

accept

public void accept(Visitor.TypeBodyDeclarationVisitor visitor)

Web Site