Java.Locatable
, Java.Scope
Java.MemberTypeDeclaration
Java.AbstractTypeBodyDeclaration
, Java.ConstructorDeclarator
, Java.FieldDeclaration
, Java.FunctionDeclarator
, Java.Initializer
, Java.MemberClassDeclaration
, Java.MemberInterfaceDeclaration
, Java.MethodDeclarator
public static interface Java.TypeBodyDeclaration extends Java.Locatable, Java.Scope
Modifier and Type | Method | Description |
---|---|---|
void |
accept(Visitor.TypeBodyDeclarationVisitor visitor) |
Invokes the '
visit...() ' method of Visitor.TypeBodyDeclarationVisitor for the concrete
Java.TypeBodyDeclaration type. |
Java.TypeDeclaration |
getDeclaringType() |
|
boolean |
isStatic() |
|
void |
setDeclaringType(Java.TypeDeclaration declaringType) |
Sets the type declaration that this declaration belongs to.
|
getLocation, throwCompileException
getEnclosingScope
void setDeclaringType(Java.TypeDeclaration declaringType)
Java.TypeDeclaration getDeclaringType()
boolean isStatic()
void accept(Visitor.TypeBodyDeclarationVisitor visitor)
visit...()
' method of Visitor.TypeBodyDeclarationVisitor
for the concrete
Java.TypeBodyDeclaration
type.Copyright © 2001–2019. All rights reserved.