Dali Provisional API
Release 3.2

org.eclipse.jpt.common.core.resource.java
Interface JavaResourceEnum

All Superinterfaces:
JavaResourceAbstractType, JavaResourceAnnotatedElement, JavaResourceMember, JavaResourceNode, Model

public interface JavaResourceEnum
extends JavaResourceAbstractType

Java source code or binary enum.

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.

Since:
3.0

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.jpt.common.core.resource.java.JavaResourceMember
JavaResourceMember.NameTransformer
 
Nested classes/interfaces inherited from interface org.eclipse.jpt.common.core.resource.java.JavaResourceAnnotatedElement
JavaResourceAnnotatedElement.AstNodeType, JavaResourceAnnotatedElement.AstNodeTypeEquals, JavaResourceAnnotatedElement.IsAnnotated, JavaResourceAnnotatedElement.IsAnnotatedWithAnyOf
 
Nested classes/interfaces inherited from interface org.eclipse.jpt.common.core.resource.java.JavaResourceNode
JavaResourceNode.FileTransformer, JavaResourceNode.Root
 
Field Summary
static String ENUM_CONSTANTS_COLLECTION
           
 
Fields inherited from interface org.eclipse.jpt.common.core.resource.java.JavaResourceAbstractType
DECLARING_TYPE_NAME_PROPERTY, ENUMS_COLLECTION, TYPE_BINDING_PROPERTY, TYPES_COLLECTION
 
Fields inherited from interface org.eclipse.jpt.common.core.resource.java.JavaResourceMember
FINAL_PROPERTY, NAME_TRANSFORMER, PROTECTED_PROPERTY, PUBLIC_PROPERTY, STATIC_PROPERTY, TRANSIENT_PROPERTY
 
Fields inherited from interface org.eclipse.jpt.common.core.resource.java.JavaResourceAnnotatedElement
ANNOTATIONS_COLLECTION, IS_ANNOTATED, NESTABLE_ANNOTATIONS_COLLECTION
 
Fields inherited from interface org.eclipse.jpt.common.core.resource.java.JavaResourceNode
FILE_TRANSFORMER
 
Method Summary
 Iterable<JavaResourceEnumConstant> getEnumConstants()
          Return the enum's enum constants.
 void resolveTypes(EnumDeclaration enumDeclaration)
          Resolve type information that could be dependent on changes elsewhere in the workspace.
 void synchronizeWith(EnumDeclaration enumDeclaration)
          Synchronize the [source] enum with the specified AST EnumDeclaration.
 
Methods inherited from interface org.eclipse.jpt.common.core.resource.java.JavaResourceAbstractType
getAllEnums, getAllTypes, getDeclaringTypeName, getEnums, getTypeBinding, getTypes, isIn, isIn
 
Methods inherited from interface org.eclipse.jpt.common.core.resource.java.JavaResourceMember
getName, isFinal, isFor, isProtected, isPublic, isPublicOrProtected, isStatic, isTransient, setPrimaryAnnotation
 
Methods inherited from interface org.eclipse.jpt.common.core.resource.java.JavaResourceAnnotatedElement
addAnnotation, addAnnotation, getAnnotation, getAnnotation, getAnnotations, getAnnotations, getAnnotationsSize, getAnnotationsSize, getAstNodeType, getContainerAnnotation, getNameTextRange, getNonNullAnnotation, getTextRange, getTopLevelAnnotations, isAnnotated, isAnnotatedWithAnyOf, moveAnnotation, removeAnnotation, removeAnnotation
 
Methods inherited from interface org.eclipse.jpt.common.core.resource.java.JavaResourceNode
getFile, getJavaResourceCompilationUnit, getParent, getRoot, getTextRange
 
Methods inherited from interface org.eclipse.jpt.common.utility.model.Model
addChangeListener, addCollectionChangeListener, addListChangeListener, addPropertyChangeListener, addStateChangeListener, removeChangeListener, removeCollectionChangeListener, removeListChangeListener, removePropertyChangeListener, removeStateChangeListener
 

Field Detail

ENUM_CONSTANTS_COLLECTION

static final String ENUM_CONSTANTS_COLLECTION
See Also:
Constant Field Values
Method Detail

synchronizeWith

void synchronizeWith(EnumDeclaration enumDeclaration)
Synchronize the [source] enum with the specified AST EnumDeclaration.


resolveTypes

void resolveTypes(EnumDeclaration enumDeclaration)
Resolve type information that could be dependent on changes elsewhere in the workspace.


getEnumConstants

Iterable<JavaResourceEnumConstant> getEnumConstants()
Return the enum's enum constants.


Dali Provisional API
Release 3.2

Copyright (c) 2012 Oracle. All rights reserved.