Top Methods
org.eclipse.xtend.lib.macro.declaration

public Interface EnumerationTypeDeclaration

extends TypeDeclaration
Known Direct Subinterfaces
org.eclipse.xtend.lib.macro.declaration.MutableEnumerationTypeDeclaration
Annotations
@Beta
Imports
com.google.common.annotations.Beta

Author
Sven Efftinge

Method Summary

Modifier and TypeMethod and Description
public EnumerationValueDeclaration

Returns:

the declared value with the given name or null of no such value exists.
findDeclaredValue
(String
of the feature
name
)

public Iterable<? extends EnumerationValueDeclaration>

Returns:

the values directly declared and contained in the enumeration type declaration
getDeclaredValues
()

Inherited from org.eclipse.xtend.lib.macro.declaration.TypeDeclaration:
findDeclaredConstructorfindDeclaredFieldfindDeclaredMethodfindDeclaredTypegetDeclaredAnnotationTypesgetDeclaredClassesgetDeclaredConstructorsgetDeclaredEnumerationTypesgetDeclaredFieldsgetDeclaredInterfacesgetDeclaredMembersgetDeclaredMethodsgetDeclaredTypes

Method Detail

findDeclaredValueback to summary
public EnumerationValueDeclaration findDeclaredValue(String name)
Parameters
name:String

of the feature

Returns:EnumerationValueDeclaration

the declared value with the given name or null of no such value exists.

getDeclaredValuesback to summary
public Iterable<? extends EnumerationValueDeclaration> getDeclaredValues()
Returns:Iterable<? extends EnumerationValueDeclaration>

the values directly declared and contained in the enumeration type declaration