|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Modifier
A representation of the model object 'Modifier'.
The following features are supported:
Visibility
Inheritance
Static
Transient
Volatile
Native
Strictfp
Synchronized
Body Declaration
Single Variable Declaration
Variable Declaration Statement
Variable Declaration Expression
JavaPackage.getModifier()
Method Summary | |
---|---|
BodyDeclaration |
getBodyDeclaration()
Returns the value of the 'Body Declaration' container reference. |
InheritanceKind |
getInheritance()
Returns the value of the 'Inheritance' attribute. |
SingleVariableDeclaration |
getSingleVariableDeclaration()
Returns the value of the 'Single Variable Declaration' container reference. |
VariableDeclarationExpression |
getVariableDeclarationExpression()
Returns the value of the 'Variable Declaration Expression' container reference. |
VariableDeclarationStatement |
getVariableDeclarationStatement()
Returns the value of the 'Variable Declaration Statement' container reference. |
VisibilityKind |
getVisibility()
Returns the value of the 'Visibility' attribute. |
boolean |
isNative()
Returns the value of the 'Native' attribute. |
boolean |
isStatic()
Returns the value of the 'Static' attribute. |
boolean |
isStrictfp()
Returns the value of the 'Strictfp' attribute. |
boolean |
isSynchronized()
Returns the value of the 'Synchronized' attribute. |
boolean |
isTransient()
Returns the value of the 'Transient' attribute. |
boolean |
isVolatile()
Returns the value of the 'Volatile' attribute. |
void |
setBodyDeclaration(BodyDeclaration value)
Sets the value of the ' Body Declaration ' container reference. |
void |
setInheritance(InheritanceKind value)
Sets the value of the ' Inheritance ' attribute. |
void |
setNative(boolean value)
Sets the value of the ' Native ' attribute. |
void |
setSingleVariableDeclaration(SingleVariableDeclaration value)
Sets the value of the ' Single Variable Declaration ' container reference. |
void |
setStatic(boolean value)
Sets the value of the ' Static ' attribute. |
void |
setStrictfp(boolean value)
Sets the value of the ' Strictfp ' attribute. |
void |
setSynchronized(boolean value)
Sets the value of the ' Synchronized ' attribute. |
void |
setTransient(boolean value)
Sets the value of the ' Transient ' attribute. |
void |
setVariableDeclarationExpression(VariableDeclarationExpression value)
Sets the value of the ' Variable Declaration Expression ' container reference. |
void |
setVariableDeclarationStatement(VariableDeclarationStatement value)
Sets the value of the ' Variable Declaration Statement ' container reference. |
void |
setVisibility(VisibilityKind value)
Sets the value of the ' Visibility ' attribute. |
void |
setVolatile(boolean value)
Sets the value of the ' Volatile ' attribute. |
Methods inherited from interface org.eclipse.gmt.modisco.java.ASTNode |
---|
getComments, getOriginalClassFile, getOriginalCompilationUnit, setOriginalClassFile, setOriginalCompilationUnit |
Method Detail |
---|
VisibilityKind getVisibility()
VisibilityKind
.
If the meaning of the 'Visibility' attribute isn't clear, there really should be more of a description here...
VisibilityKind
,
setVisibility(VisibilityKind)
,
JavaPackage.getModifier_Visibility()
void setVisibility(VisibilityKind value)
Visibility
' attribute.
value
- the new value of the 'Visibility' attribute.VisibilityKind
,
getVisibility()
InheritanceKind getInheritance()
InheritanceKind
.
If the meaning of the 'Inheritance' attribute isn't clear, there really should be more of a description here...
InheritanceKind
,
setInheritance(InheritanceKind)
,
JavaPackage.getModifier_Inheritance()
void setInheritance(InheritanceKind value)
Inheritance
' attribute.
value
- the new value of the 'Inheritance' attribute.InheritanceKind
,
getInheritance()
boolean isStatic()
If the meaning of the 'Static' attribute isn't clear, there really should be more of a description here...
setStatic(boolean)
,
JavaPackage.getModifier_Static()
void setStatic(boolean value)
Static
' attribute.
value
- the new value of the 'Static' attribute.isStatic()
boolean isTransient()
If the meaning of the 'Transient' attribute isn't clear, there really should be more of a description here...
setTransient(boolean)
,
JavaPackage.getModifier_Transient()
void setTransient(boolean value)
Transient
' attribute.
value
- the new value of the 'Transient' attribute.isTransient()
boolean isVolatile()
If the meaning of the 'Volatile' attribute isn't clear, there really should be more of a description here...
setVolatile(boolean)
,
JavaPackage.getModifier_Volatile()
void setVolatile(boolean value)
Volatile
' attribute.
value
- the new value of the 'Volatile' attribute.isVolatile()
boolean isNative()
If the meaning of the 'Native' attribute isn't clear, there really should be more of a description here...
setNative(boolean)
,
JavaPackage.getModifier_Native()
void setNative(boolean value)
Native
' attribute.
value
- the new value of the 'Native' attribute.isNative()
boolean isStrictfp()
If the meaning of the 'Strictfp' attribute isn't clear, there really should be more of a description here...
setStrictfp(boolean)
,
JavaPackage.getModifier_Strictfp()
void setStrictfp(boolean value)
Strictfp
' attribute.
value
- the new value of the 'Strictfp' attribute.isStrictfp()
boolean isSynchronized()
If the meaning of the 'Synchronized' attribute isn't clear, there really should be more of a description here...
setSynchronized(boolean)
,
JavaPackage.getModifier_Synchronized()
void setSynchronized(boolean value)
Synchronized
' attribute.
value
- the new value of the 'Synchronized' attribute.isSynchronized()
BodyDeclaration getBodyDeclaration()
Modifier
'.
If the meaning of the 'Body Declaration' container reference isn't clear, there really should be more of a description here...
setBodyDeclaration(BodyDeclaration)
,
JavaPackage.getModifier_BodyDeclaration()
,
BodyDeclaration.getModifier()
void setBodyDeclaration(BodyDeclaration value)
Body Declaration
' container reference.
value
- the new value of the 'Body Declaration' container reference.getBodyDeclaration()
SingleVariableDeclaration getSingleVariableDeclaration()
Modifier
'.
If the meaning of the 'Single Variable Declaration' container reference isn't clear, there really should be more of a description here...
setSingleVariableDeclaration(SingleVariableDeclaration)
,
JavaPackage.getModifier_SingleVariableDeclaration()
,
SingleVariableDeclaration.getModifier()
void setSingleVariableDeclaration(SingleVariableDeclaration value)
Single Variable Declaration
' container reference.
value
- the new value of the 'Single Variable Declaration' container reference.getSingleVariableDeclaration()
VariableDeclarationStatement getVariableDeclarationStatement()
Modifier
'.
If the meaning of the 'Variable Declaration Statement' container reference isn't clear, there really should be more of a description here...
setVariableDeclarationStatement(VariableDeclarationStatement)
,
JavaPackage.getModifier_VariableDeclarationStatement()
,
VariableDeclarationStatement.getModifier()
void setVariableDeclarationStatement(VariableDeclarationStatement value)
Variable Declaration Statement
' container reference.
value
- the new value of the 'Variable Declaration Statement' container reference.getVariableDeclarationStatement()
VariableDeclarationExpression getVariableDeclarationExpression()
Modifier
'.
If the meaning of the 'Variable Declaration Expression' container reference isn't clear, there really should be more of a description here...
setVariableDeclarationExpression(VariableDeclarationExpression)
,
JavaPackage.getModifier_VariableDeclarationExpression()
,
VariableDeclarationExpression.getModifier()
void setVariableDeclarationExpression(VariableDeclarationExpression value)
Variable Declaration Expression
' container reference.
value
- the new value of the 'Variable Declaration Expression' container reference.getVariableDeclarationExpression()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |