Module org.eclipse.xtend.lib.macro
Interface EnumerationTypeDeclaration
- All Superinterfaces:
AnnotationTarget,Declaration,Element,MemberDeclaration,NamedElement,Type,TypeDeclaration
- All Known Subinterfaces:
MutableEnumerationTypeDeclaration
- Author:
- Sven Efftinge
-
Method Summary
Modifier and TypeMethodDescriptionfindDeclaredValue(String name) Iterable<? extends EnumerationValueDeclaration> Methods inherited from interface org.eclipse.xtend.lib.macro.declaration.AnnotationTarget
findAnnotation, getAnnotationsMethods inherited from interface org.eclipse.xtend.lib.macro.declaration.MemberDeclaration
getDeclaringType, getDocComment, getModifiers, getVisibility, isDeprecatedMethods inherited from interface org.eclipse.xtend.lib.macro.declaration.NamedElement
getCompilationUnit, getSimpleNameMethods inherited from interface org.eclipse.xtend.lib.macro.declaration.Type
getQualifiedName, isAssignableFromMethods inherited from interface org.eclipse.xtend.lib.macro.declaration.TypeDeclaration
findDeclaredConstructor, findDeclaredField, findDeclaredMethod, findDeclaredType, getDeclaredAnnotationTypes, getDeclaredClasses, getDeclaredConstructors, getDeclaredEnumerationTypes, getDeclaredFields, getDeclaredInterfaces, getDeclaredMembers, getDeclaredMethods, getDeclaredTypes
-
Method Details
-
getDeclaredValues
Iterable<? extends EnumerationValueDeclaration> getDeclaredValues()- Returns:
- the values directly declared and contained in the enumeration type declaration
-
findDeclaredValue
- Parameters:
name- of the feature- Returns:
- the declared value with the given name or
nullof no such value exists.
-