Package org.codehaus.janino
Interface Java.TypeBodyDeclaration
- All Superinterfaces:
Java.Locatable
,Java.Scope
- All Known Subinterfaces:
Java.MemberTypeDeclaration
- All Known Implementing Classes:
Java.AbstractTypeBodyDeclaration
,Java.ConstructorDeclarator
,Java.FieldDeclaration
,Java.FunctionDeclarator
,Java.Initializer
,Java.MemberClassDeclaration
,Java.MemberInterfaceDeclaration
,Java.MethodDeclarator
- Enclosing class:
- Java
Representation of a "ClassBodyDeclaration" or an "InterfaceMemberDeclaration". These are:
- Field declarators
- Method declarators
- Static and non-static initializers
- Member type declarations
-
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(Visitor.TypeBodyDeclarationVisitor visitor) boolean
isStatic()
void
setDeclaringType
(Java.TypeDeclaration declaringType) Methods inherited from interface org.codehaus.janino.Java.Locatable
getLocation, throwCompileException
Methods inherited from interface org.codehaus.janino.Java.Scope
getEnclosingScope
-
Method Details
-
setDeclaringType
-
getDeclaringType
Java.TypeDeclaration getDeclaringType() -
isStatic
boolean isStatic() -
accept
-