public interface JvmField extends JvmFeature
The following features are supported:
TypesPackage.getJvmField()
Modifier and Type | Method and Description |
---|---|
JvmTypeReference |
getType()
Returns the value of the 'Type' containment reference
|
boolean |
isFinal()
Returns the value of the 'Final' attribute
|
boolean |
isStatic()
Returns the value of the 'Static' attribute
|
boolean |
isTransient()
Returns the value of the 'Transient' attribute
|
boolean |
isVolatile()
Returns the value of the 'Volatile' attribute
|
void |
setFinal(boolean value)
Sets the value of the '
Final ' attribute |
void |
setStatic(boolean value)
Sets the value of the '
Static ' attribute |
void |
setTransient(boolean value)
Sets the value of the '
Transient ' attribute |
void |
setType(JvmTypeReference value)
Sets the value of the '
Type ' containment reference |
void |
setVolatile(boolean value)
Sets the value of the '
Volatile ' attribute |
getDeclaringType, getIdentifier, getSimpleName, getVisibility, internalSetIdentifier, setDeclaringType, setSimpleName, setVisibility
getAnnotations
getQualifiedName, getQualifiedName
boolean isStatic()
If the meaning of the 'Static' attribute isn't clear, there really should be more of a description here...
isStatic
in interface JvmFeature
setStatic(boolean)
,
TypesPackage.getJvmField_Static()
void setStatic(boolean value)
Static
' attribute.
value
- the new value of the 'Static' attribute.isStatic()
boolean isFinal()
If the meaning of the 'Final' attribute isn't clear, there really should be more of a description here...
setFinal(boolean)
,
TypesPackage.getJvmField_Final()
void setFinal(boolean value)
Final
' attribute.
value
- the new value of the 'Final' attribute.isFinal()
JvmTypeReference getType()
If the meaning of the 'Type' containment reference isn't clear, there really should be more of a description here...
setType(JvmTypeReference)
,
TypesPackage.getJvmField_Type()
void setType(JvmTypeReference value)
Type
' containment reference.
value
- the new value of the 'Type' containment reference.getType()
boolean isVolatile()
If the meaning of the 'Volatile' attribute isn't clear, there really should be more of a description here...
setVolatile(boolean)
,
TypesPackage.getJvmField_Volatile()
void setVolatile(boolean value)
Volatile
' attribute.
value
- the new value of the 'Volatile' attribute.isVolatile()
boolean isTransient()
If the meaning of the 'Transient' attribute isn't clear, there really should be more of a description here...
setTransient(boolean)
,
TypesPackage.getJvmField_Transient()
void setTransient(boolean value)
Transient
' attribute.
value
- the new value of the 'Transient' attribute.isTransient()