org.eclipse.gmt.modisco.java
Interface Modifier

All Superinterfaces:
ASTNode

public interface Modifier
extends ASTNode

A representation of the model object 'Modifier'.

The following features are supported:

See Also:
JavaPackage.getModifier()
Generated:
Model:

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

getVisibility

VisibilityKind getVisibility()
Returns the value of the 'Visibility' attribute. The literals are from the enumeration VisibilityKind.

If the meaning of the 'Visibility' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Visibility' attribute.
See Also:
VisibilityKind, setVisibility(VisibilityKind), JavaPackage.getModifier_Visibility()
Generated:
Model:
unique="false" required="true" ordered="false"

setVisibility

void setVisibility(VisibilityKind value)
Sets the value of the 'Visibility' attribute.

Parameters:
value - the new value of the 'Visibility' attribute.
See Also:
VisibilityKind, getVisibility()
Generated:

getInheritance

InheritanceKind getInheritance()
Returns the value of the 'Inheritance' attribute. The literals are from the enumeration InheritanceKind.

If the meaning of the 'Inheritance' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Inheritance' attribute.
See Also:
InheritanceKind, setInheritance(InheritanceKind), JavaPackage.getModifier_Inheritance()
Generated:
Model:
unique="false" required="true" ordered="false"

setInheritance

void setInheritance(InheritanceKind value)
Sets the value of the 'Inheritance' attribute.

Parameters:
value - the new value of the 'Inheritance' attribute.
See Also:
InheritanceKind, getInheritance()
Generated:

isStatic

boolean isStatic()
Returns the value of the 'Static' attribute.

If the meaning of the 'Static' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Static' attribute.
See Also:
setStatic(boolean), JavaPackage.getModifier_Static()
Generated:
Model:
unique="false" required="true" ordered="false"

setStatic

void setStatic(boolean value)
Sets the value of the 'Static' attribute.

Parameters:
value - the new value of the 'Static' attribute.
See Also:
isStatic()
Generated:

isTransient

boolean isTransient()
Returns the value of the 'Transient' attribute.

If the meaning of the 'Transient' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Transient' attribute.
See Also:
setTransient(boolean), JavaPackage.getModifier_Transient()
Generated:
Model:
unique="false" required="true" ordered="false"

setTransient

void setTransient(boolean value)
Sets the value of the 'Transient' attribute.

Parameters:
value - the new value of the 'Transient' attribute.
See Also:
isTransient()
Generated:

isVolatile

boolean isVolatile()
Returns the value of the 'Volatile' attribute.

If the meaning of the 'Volatile' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Volatile' attribute.
See Also:
setVolatile(boolean), JavaPackage.getModifier_Volatile()
Generated:
Model:
unique="false" required="true" ordered="false"

setVolatile

void setVolatile(boolean value)
Sets the value of the 'Volatile' attribute.

Parameters:
value - the new value of the 'Volatile' attribute.
See Also:
isVolatile()
Generated:

isNative

boolean isNative()
Returns the value of the 'Native' attribute.

If the meaning of the 'Native' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Native' attribute.
See Also:
setNative(boolean), JavaPackage.getModifier_Native()
Generated:
Model:
unique="false" required="true" ordered="false"

setNative

void setNative(boolean value)
Sets the value of the 'Native' attribute.

Parameters:
value - the new value of the 'Native' attribute.
See Also:
isNative()
Generated:

isStrictfp

boolean isStrictfp()
Returns the value of the 'Strictfp' attribute.

If the meaning of the 'Strictfp' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Strictfp' attribute.
See Also:
setStrictfp(boolean), JavaPackage.getModifier_Strictfp()
Generated:
Model:
unique="false" required="true" ordered="false"

setStrictfp

void setStrictfp(boolean value)
Sets the value of the 'Strictfp' attribute.

Parameters:
value - the new value of the 'Strictfp' attribute.
See Also:
isStrictfp()
Generated:

isSynchronized

boolean isSynchronized()
Returns the value of the 'Synchronized' attribute.

If the meaning of the 'Synchronized' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Synchronized' attribute.
See Also:
setSynchronized(boolean), JavaPackage.getModifier_Synchronized()
Generated:
Model:
unique="false" required="true" ordered="false"

setSynchronized

void setSynchronized(boolean value)
Sets the value of the 'Synchronized' attribute.

Parameters:
value - the new value of the 'Synchronized' attribute.
See Also:
isSynchronized()
Generated:

getBodyDeclaration

BodyDeclaration getBodyDeclaration()
Returns the value of the 'Body Declaration' container reference. It is bidirectional and its opposite is 'Modifier'.

If the meaning of the 'Body Declaration' container reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Body Declaration' container reference.
See Also:
setBodyDeclaration(BodyDeclaration), JavaPackage.getModifier_BodyDeclaration(), BodyDeclaration.getModifier()
Generated:
Model:
opposite="modifier" transient="false" ordered="false"

setBodyDeclaration

void setBodyDeclaration(BodyDeclaration value)
Sets the value of the 'Body Declaration' container reference.

Parameters:
value - the new value of the 'Body Declaration' container reference.
See Also:
getBodyDeclaration()
Generated:

getSingleVariableDeclaration

SingleVariableDeclaration getSingleVariableDeclaration()
Returns the value of the 'Single Variable Declaration' container reference. It is bidirectional and its opposite is 'Modifier'.

If the meaning of the 'Single Variable Declaration' container reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Single Variable Declaration' container reference.
See Also:
setSingleVariableDeclaration(SingleVariableDeclaration), JavaPackage.getModifier_SingleVariableDeclaration(), SingleVariableDeclaration.getModifier()
Generated:
Model:
opposite="modifier" transient="false" ordered="false"

setSingleVariableDeclaration

void setSingleVariableDeclaration(SingleVariableDeclaration value)
Sets the value of the 'Single Variable Declaration' container reference.

Parameters:
value - the new value of the 'Single Variable Declaration' container reference.
See Also:
getSingleVariableDeclaration()
Generated:

getVariableDeclarationStatement

VariableDeclarationStatement getVariableDeclarationStatement()
Returns the value of the 'Variable Declaration Statement' container reference. It is bidirectional and its opposite is 'Modifier'.

If the meaning of the 'Variable Declaration Statement' container reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Variable Declaration Statement' container reference.
See Also:
setVariableDeclarationStatement(VariableDeclarationStatement), JavaPackage.getModifier_VariableDeclarationStatement(), VariableDeclarationStatement.getModifier()
Generated:
Model:
opposite="modifier" transient="false" ordered="false"

setVariableDeclarationStatement

void setVariableDeclarationStatement(VariableDeclarationStatement value)
Sets the value of the 'Variable Declaration Statement' container reference.

Parameters:
value - the new value of the 'Variable Declaration Statement' container reference.
See Also:
getVariableDeclarationStatement()
Generated:

getVariableDeclarationExpression

VariableDeclarationExpression getVariableDeclarationExpression()
Returns the value of the 'Variable Declaration Expression' container reference. It is bidirectional and its opposite is 'Modifier'.

If the meaning of the 'Variable Declaration Expression' container reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Variable Declaration Expression' container reference.
See Also:
setVariableDeclarationExpression(VariableDeclarationExpression), JavaPackage.getModifier_VariableDeclarationExpression(), VariableDeclarationExpression.getModifier()
Generated:
Model:
opposite="modifier" transient="false" ordered="false"

setVariableDeclarationExpression

void setVariableDeclarationExpression(VariableDeclarationExpression value)
Sets the value of the 'Variable Declaration Expression' container reference.

Parameters:
value - the new value of the 'Variable Declaration Expression' container reference.
See Also:
getVariableDeclarationExpression()
Generated: