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
FieldsFields inherited from class org.codehaus.janino.Java.Located
NOWHERE -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractTypeBodyDeclaration(Location location, boolean statiC) -
Method Summary
Modifier and TypeMethodDescriptionbooleanisStatic()voidsetDeclaringType(Java.TypeDeclaration declaringType) voidsetEnclosingScope(Java.Scope enclosingScope) Methods inherited from class org.codehaus.janino.Java.Located
getLocation, throwCompileExceptionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.codehaus.janino.Java.Locatable
getLocation, throwCompileExceptionMethods inherited from interface org.codehaus.janino.Java.TypeBodyDeclaration
accept
-
Field Details
-
statiC
public final boolean statiC
-
-
Constructor Details
-
AbstractTypeBodyDeclaration
-
-
Method Details
-
setDeclaringType
- Specified by:
setDeclaringTypein interfaceJava.TypeBodyDeclaration
-
getDeclaringType
- Specified by:
getDeclaringTypein interfaceJava.TypeBodyDeclaration
-
isStatic
public boolean isStatic()- Specified by:
isStaticin interfaceJava.TypeBodyDeclaration
-
setEnclosingScope
-
getEnclosingScope
- Specified by:
getEnclosingScopein interfaceJava.Scope
-