public interface JvmDeclaredType extends JvmMember, JvmComponentType
The following features are supported:
TypesPackage.getJvmDeclaredType()
Modifier and Type | Method and Description |
---|---|
java.lang.Iterable<JvmFeature> |
findAllFeaturesByName(java.lang.String simpleName)
Returns all the fields and operations with the given simple name.
|
java.lang.Iterable<JvmDeclaredType> |
findAllNestedTypesByName(java.lang.String simpleName)
Returns all the nested types with the given simple name.
|
java.lang.Iterable<JvmFeature> |
getAllFeatures()
Returns all the fields and operations of this type.
|
java.lang.Iterable<JvmDeclaredType> |
getAllNestedTypes()
Returns all the nested types of this type.
|
java.lang.Iterable<JvmConstructor> |
getDeclaredConstructors() |
java.lang.Iterable<JvmField> |
getDeclaredFields() |
java.lang.Iterable<JvmOperation> |
getDeclaredOperations() |
JvmTypeReference |
getExtendedClass() |
java.lang.Iterable<JvmTypeReference> |
getExtendedInterfaces() |
org.eclipse.emf.common.util.EList<JvmMember> |
getMembers()
Returns the value of the 'Members' containment reference list.
|
java.lang.String |
getPackageName()
Returns the value of the 'Package Name' attribute
|
org.eclipse.emf.common.util.EList<JvmTypeReference> |
getSuperTypes()
Returns the value of the 'Super Types' containment reference list.
|
boolean |
isAbstract()
Returns the value of the 'Abstract' attribute
|
boolean |
isFinal()
Returns the value of the 'Final' attribute
|
boolean |
isInstantiateable() |
boolean |
isLocal() |
boolean |
isStatic()
Returns the value of the 'Static' attribute
|
void |
setAbstract(boolean value)
Sets the value of the '
Abstract ' attribute |
void |
setFinal(boolean value)
Sets the value of the '
Final ' attribute |
void |
setPackageName(java.lang.String value)
Sets the value of the '
Package Name ' attribute |
void |
setStatic(boolean value)
Sets the value of the '
Static ' attribute |
getDeclaringType, getIdentifier, getSimpleName, getVisibility, internalSetIdentifier, isDeprecated, isSetDeprecated, setDeclaringType, setDeprecated, setSimpleName, setVisibility, unsetDeprecated
getAnnotations
getArrayType, setArrayType
getQualifiedName, getQualifiedName
org.eclipse.emf.common.util.EList<JvmTypeReference> getSuperTypes()
JvmTypeReference
.
If the meaning of the 'Super Types' containment reference list isn't clear, there really should be more of a description here...
TypesPackage.getJvmDeclaredType_SuperTypes()
org.eclipse.emf.common.util.EList<JvmMember> getMembers()
JvmMember
.
It is bidirectional and its opposite is 'Declaring Type
'.
If the meaning of the 'Members' containment reference list isn't clear, there really should be more of a description here...
TypesPackage.getJvmDeclaredType_Members()
,
JvmMember.getDeclaringType()
boolean isAbstract()
If the meaning of the 'Abstract' attribute isn't clear, there really should be more of a description here...
setAbstract(boolean)
,
TypesPackage.getJvmDeclaredType_Abstract()
void setAbstract(boolean value)
Abstract
' attribute.
value
- the new value of the 'Abstract' attribute.isAbstract()
boolean isStatic()
If the meaning of the 'Static' attribute isn't clear, there really should be more of a description here...
setStatic(boolean)
,
TypesPackage.getJvmDeclaredType_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.getJvmDeclaredType_Final()
void setFinal(boolean value)
Final
' attribute.
value
- the new value of the 'Final' attribute.isFinal()
java.lang.String getPackageName()
If the meaning of the 'Package Name' attribute isn't clear, there really should be more of a description here...
setPackageName(String)
,
TypesPackage.getJvmDeclaredType_PackageName()
void setPackageName(java.lang.String value)
Package Name
' attribute.
value
- the new value of the 'Package Name' attribute.getPackageName()
java.lang.Iterable<JvmOperation> getDeclaredOperations()
java.lang.Iterable<JvmField> getDeclaredFields()
java.lang.Iterable<JvmFeature> findAllFeaturesByName(java.lang.String simpleName)
Returns all the fields and operations with the given simple name.
Inherited features will be returend, but overridden features are not contained in the result.
java.lang.Iterable<JvmFeature> getAllFeatures()
Returns all the fields and operations of this type.
Inherited features are included, but overridden features will not be returned.
java.lang.Iterable<JvmTypeReference> getExtendedInterfaces()
JvmTypeReference getExtendedClass()
boolean isInstantiateable()
java.lang.Iterable<JvmDeclaredType> findAllNestedTypesByName(java.lang.String simpleName)
Returns all the nested types with the given simple name.
Inherited types will be returned, too.
boolean isLocal()
java.lang.Iterable<JvmConstructor> getDeclaredConstructors()
java.lang.Iterable<JvmDeclaredType> getAllNestedTypes()
Returns all the nested types of this type.
Inherited types will also be returned.