public static interface Java.TypeBodyDeclaration extends Java.Locatable, Java.Scope
| Modifier and Type | Method and Description |
|---|---|
<R,EX extends Throwable> |
accept(Visitor.TypeBodyDeclarationVisitor<R,EX> 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, throwCompileExceptiongetEnclosingScopevoid setDeclaringType(Java.TypeDeclaration declaringType)
Java.TypeDeclaration getDeclaringType()
boolean isStatic()
@Nullable <R,EX extends Throwable> R accept(Visitor.TypeBodyDeclarationVisitor<R,EX> visitor) throws EX extends Throwable
visit...()' method of Visitor.TypeBodyDeclarationVisitor for the concrete
Java.TypeBodyDeclaration type.EXEX extends Throwable