Package org.codehaus.janino
Class Java.AbstractTypeBodyDeclaration
- java.lang.Object
-
- org.codehaus.janino.Java.Located
-
- 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
Fields Modifier and Type Field Description boolean
statiC
-
Fields inherited from class org.codehaus.janino.Java.Located
NOWHERE
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractTypeBodyDeclaration(Location location, boolean statiC)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.Locatable
getLocation, throwCompileException
-
Methods inherited from interface org.codehaus.janino.Java.TypeBodyDeclaration
accept
-
-
-
-
Constructor Detail
-
AbstractTypeBodyDeclaration
protected AbstractTypeBodyDeclaration(Location location, boolean statiC)
-
-
Method Detail
-
setDeclaringType
public void setDeclaringType(Java.TypeDeclaration declaringType)
- Specified by:
setDeclaringType
in interfaceJava.TypeBodyDeclaration
-
getDeclaringType
public Java.TypeDeclaration getDeclaringType()
- Specified by:
getDeclaringType
in interfaceJava.TypeBodyDeclaration
-
isStatic
public boolean isStatic()
- Specified by:
isStatic
in interfaceJava.TypeBodyDeclaration
-
setEnclosingScope
public void setEnclosingScope(Java.Scope enclosingScope)
-
getEnclosingScope
public Java.Scope getEnclosingScope()
- Specified by:
getEnclosingScope
in interfaceJava.Scope
-
-