|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface JavaResourceAttribute
Java source code or binary attribute (field/method) Provisional API: This interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.eclipse.jpt.jaxb.core.resource.java.JavaResourceNode |
|---|
JavaResourceNode.Root |
| Field Summary | |
|---|---|
static java.lang.String |
MODIFIERS_PROPERTY
|
static java.lang.String |
TYPE_INTERFACE_NAMES_COLLECTION
|
static java.lang.String |
TYPE_IS_ARRAY_PROPERTY
|
static java.lang.String |
TYPE_IS_ENUM_PROPERTY
|
static java.lang.String |
TYPE_IS_INTERFACE_PROPERTY
|
static java.lang.String |
TYPE_NAME_PROPERTY
|
static java.lang.String |
TYPE_SUPERCLASS_NAMES_LIST
|
static java.lang.String |
TYPE_TYPE_ARGUMENT_NAMES_LIST
|
| Fields inherited from interface org.eclipse.jpt.jaxb.core.resource.java.JavaResourceMember |
|---|
FINAL_PROPERTY, PUBLIC_PROPERTY, STATIC_PROPERTY, TRANSIENT_PROPERTY |
| Fields inherited from interface org.eclipse.jpt.jaxb.core.resource.java.JavaResourceAnnotatedElement |
|---|
ANNOTATIONS_COLLECTION, NESTABLE_ANNOTATIONS_COLLECTION |
| Method Summary | |
|---|---|
int |
getModifiers()
|
java.lang.Iterable<java.lang.String> |
getTypeInterfaceNames()
Return the names of the attribute type's interfaces. |
java.lang.String |
getTypeName()
Return the resolved, qualified name of the attribute's type (e.g. |
org.eclipse.jpt.common.utility.internal.iterables.ListIterable<java.lang.String> |
getTypeSuperclassNames()
Return the names of the attribute type's superclasses. |
java.lang.String |
getTypeTypeArgumentName(int index)
|
org.eclipse.jpt.common.utility.internal.iterables.ListIterable<java.lang.String> |
getTypeTypeArgumentNames()
Return the names of the attribute type's type arguments. |
int |
getTypeTypeArgumentNamesSize()
|
boolean |
typeIsArray()
Return whether the attribute type is an array. |
boolean |
typeIsEnum()
Return whether the attribute type is an enum. |
boolean |
typeIsInterface()
Return whether the attribute type is an interface. |
boolean |
typeIsSubTypeOf(java.lang.String typeName)
Return whether the attribute's type implements or extends the specified type. |
boolean |
typeIsVariablePrimitive()
Return whether the attribute's type is a "variable" primitive type (i.e. |
| Methods inherited from interface org.eclipse.jpt.jaxb.core.resource.java.JavaResourceMember |
|---|
getName, isFinal, isFor, isPublic, isStatic, isTransient, resolveTypes, setPrimaryAnnotation |
| Methods inherited from interface org.eclipse.jpt.jaxb.core.resource.java.JavaResourceAnnotatedElement |
|---|
addAnnotation, addAnnotation, getAnnotation, getAnnotation, getAnnotations, getAnnotations, getAnnotationsSize, getAnnotationsSize, getNameTextRange, getNonNullAnnotation, isAnnotated, moveAnnotation, removeAnnotation, removeAnnotation |
| Methods inherited from interface org.eclipse.jpt.jaxb.core.resource.java.JavaResourceNode |
|---|
getFile, getJavaResourceCompilationUnit, getRoot, getTextRange, initialize, synchronizeWith |
| Methods inherited from interface org.eclipse.jpt.common.utility.model.Model |
|---|
addChangeListener, addCollectionChangeListener, addListChangeListener, addPropertyChangeListener, addStateChangeListener, addTreeChangeListener, removeChangeListener, removeCollectionChangeListener, removeListChangeListener, removePropertyChangeListener, removeStateChangeListener, removeTreeChangeListener |
| Field Detail |
|---|
static final java.lang.String MODIFIERS_PROPERTY
static final java.lang.String TYPE_NAME_PROPERTY
static final java.lang.String TYPE_IS_INTERFACE_PROPERTY
static final java.lang.String TYPE_IS_ENUM_PROPERTY
static final java.lang.String TYPE_IS_ARRAY_PROPERTY
static final java.lang.String TYPE_SUPERCLASS_NAMES_LIST
static final java.lang.String TYPE_INTERFACE_NAMES_COLLECTION
static final java.lang.String TYPE_TYPE_ARGUMENT_NAMES_LIST
| Method Detail |
|---|
boolean typeIsSubTypeOf(java.lang.String typeName)
boolean typeIsVariablePrimitive()
int getModifiers()
Modifierjava.lang.String getTypeName()
#typeTypeArgumentNames()boolean typeIsInterface()
boolean typeIsEnum()
boolean typeIsArray()
org.eclipse.jpt.common.utility.internal.iterables.ListIterable<java.lang.String> getTypeSuperclassNames()
java.lang.Iterable<java.lang.String> getTypeInterfaceNames()
org.eclipse.jpt.common.utility.internal.iterables.ListIterable<java.lang.String> getTypeTypeArgumentNames()
int getTypeTypeArgumentNamesSize()
java.lang.String getTypeTypeArgumentName(int index)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||