org.codehaus.janino
Class Java.AbstractTypeBodyDeclaration

java.lang.Object
  extended by org.codehaus.janino.Java.Located
      extended by org.codehaus.janino.Java.AbstractTypeBodyDeclaration
All Implemented Interfaces:
Java.Locatable, Java.Scope, Java.TypeBodyDeclaration
Direct Known Subclasses:
Java.FunctionDeclarator, Java.Initializer
Enclosing class:
Java

public abstract static class Java.AbstractTypeBodyDeclaration
extends Java.Located
implements Java.TypeBodyDeclaration


Field Summary
 boolean statiC
           
 
Fields inherited from class org.codehaus.janino.Java.Located
NOWHERE
 
Constructor Summary
protected Java.AbstractTypeBodyDeclaration(Location location, boolean statiC)
           
 
Method Summary
 Java.TypeDeclaration getDeclaringType()
           
 Java.Scope getEnclosingScope()
           
 boolean isStatic()
           
 void setDeclaringType(Java.TypeDeclaration declaringType)
           
 void setEnclosingScope(Java.Scope enclosingScope)
           
 
Methods inherited from class org.codehaus.janino.Java.Located
getLocation, throwCompileException
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.codehaus.janino.Java.TypeBodyDeclaration
accept
 
Methods inherited from interface org.codehaus.janino.Java.Locatable
getLocation, throwCompileException
 

Field Detail

statiC

public final boolean statiC
Constructor Detail

Java.AbstractTypeBodyDeclaration

protected Java.AbstractTypeBodyDeclaration(Location location,
                                           boolean statiC)
Method Detail

setDeclaringType

public void setDeclaringType(Java.TypeDeclaration declaringType)
Specified by:
setDeclaringType in interface Java.TypeBodyDeclaration

getDeclaringType

public Java.TypeDeclaration getDeclaringType()
Specified by:
getDeclaringType in interface Java.TypeBodyDeclaration

isStatic

public boolean isStatic()
Specified by:
isStatic in interface Java.TypeBodyDeclaration

setEnclosingScope

public void setEnclosingScope(Java.Scope enclosingScope)

getEnclosingScope

public Java.Scope getEnclosingScope()
Specified by:
getEnclosingScope in interface Java.Scope


Copyright © 2001-2012. All Rights Reserved.