Dali Provisional API
Release 3.2

org.eclipse.jpt.common.core.utility.jdt
Interface Enum

All Superinterfaces:
AbstractType, AnnotatedElement, Member

public interface Enum
extends AbstractType

Enum: some covariant overrides plus enumConstants 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. This interface is not intended to be implemented by clients.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.jpt.common.core.utility.jdt.AnnotatedElement
AnnotatedElement.Editor
 
Method Summary
 EnumDeclaration getBodyDeclaration(CompilationUnit astRoot)
          Covariant override.
 EnumConstantDeclaration[] getEnumConstants(EnumDeclaration enumDeclaration)
          Return the enum's constants
 
Methods inherited from interface org.eclipse.jpt.common.core.utility.jdt.Member
matches
 
Methods inherited from interface org.eclipse.jpt.common.core.utility.jdt.AnnotatedElement
edit, getModifiedDeclaration, getModifiedDeclaration, getName
 

Method Detail

getBodyDeclaration

EnumDeclaration getBodyDeclaration(CompilationUnit astRoot)
Covariant override.

Specified by:
getBodyDeclaration in interface AbstractType
Specified by:
getBodyDeclaration in interface AnnotatedElement

getEnumConstants

EnumConstantDeclaration[] getEnumConstants(EnumDeclaration enumDeclaration)
Return the enum's constants


Dali Provisional API
Release 3.2

Copyright (c) 2012 Oracle. All rights reserved.