public abstract static class Java.AbstractTypeBodyDeclaration extends Java.Located implements Java.TypeBodyDeclaration
Java.TypeBodyDeclaration
.Modifier and Type | Field and Description |
---|---|
boolean |
statiC
Whether this declaration has the STATIC modifier
|
NOWHERE
Modifier | Constructor and Description |
---|---|
protected |
AbstractTypeBodyDeclaration(Location location,
boolean statiC) |
Modifier and Type | Method and Description |
---|---|
Java.TypeDeclaration |
getDeclaringType() |
Java.Scope |
getEnclosingScope() |
boolean |
isStatic() |
void |
setDeclaringType(Java.TypeDeclaration declaringType)
Sets the type declaration that this declaration belongs to.
|
void |
setEnclosingScope(Java.Scope enclosingScope)
Forward-implements
Java.BlockStatement.setEnclosingScope(Java.Scope) . |
getLocation, throwCompileException
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
accept
getLocation, throwCompileException
protected AbstractTypeBodyDeclaration(Location location, boolean statiC)
public void setDeclaringType(Java.TypeDeclaration declaringType)
Java.TypeBodyDeclaration
setDeclaringType
in interface Java.TypeBodyDeclaration
public Java.TypeDeclaration getDeclaringType()
getDeclaringType
in interface Java.TypeBodyDeclaration
public boolean isStatic()
isStatic
in interface Java.TypeBodyDeclaration
public void setEnclosingScope(Java.Scope enclosingScope)
Java.BlockStatement.setEnclosingScope(Java.Scope)
.public Java.Scope getEnclosingScope()
getEnclosingScope
in interface Java.Scope
null
Copyright © 2001–2016. All rights reserved.