Class MutableJvmEnumerationTypeDeclarationImpl
- java.lang.Object
-
- org.eclipse.xtend.core.macro.declaration.AbstractDelegator<T>
-
- org.eclipse.xtend.core.macro.declaration.AbstractElementImpl<T>
-
- org.eclipse.xtend.core.macro.declaration.JvmElementImpl<T>
-
- org.eclipse.xtend.core.macro.declaration.JvmNamedElementImpl<T>
-
- org.eclipse.xtend.core.macro.declaration.JvmAnnotationTargetImpl<T>
-
- org.eclipse.xtend.core.macro.declaration.JvmMemberDeclarationImpl<T>
-
- org.eclipse.xtend.core.macro.declaration.JvmTypeDeclarationImpl<org.eclipse.xtext.common.types.JvmEnumerationType>
-
- org.eclipse.xtend.core.macro.declaration.JvmEnumerationTypeDeclarationImpl
-
- org.eclipse.xtend.core.macro.declaration.MutableJvmEnumerationTypeDeclarationImpl
-
- All Implemented Interfaces:
org.eclipse.xtend.lib.macro.declaration.AnnotationTarget
,org.eclipse.xtend.lib.macro.declaration.Declaration
,org.eclipse.xtend.lib.macro.declaration.Element
,org.eclipse.xtend.lib.macro.declaration.EnumerationTypeDeclaration
,org.eclipse.xtend.lib.macro.declaration.MemberDeclaration
,org.eclipse.xtend.lib.macro.declaration.MutableAnnotationTarget
,org.eclipse.xtend.lib.macro.declaration.MutableDeclaration
,org.eclipse.xtend.lib.macro.declaration.MutableElement
,org.eclipse.xtend.lib.macro.declaration.MutableEnumerationTypeDeclaration
,org.eclipse.xtend.lib.macro.declaration.MutableMemberDeclaration
,org.eclipse.xtend.lib.macro.declaration.MutableNamedElement
,org.eclipse.xtend.lib.macro.declaration.MutableTypeDeclaration
,org.eclipse.xtend.lib.macro.declaration.NamedElement
,org.eclipse.xtend.lib.macro.declaration.Type
,org.eclipse.xtend.lib.macro.declaration.TypeDeclaration
public class MutableJvmEnumerationTypeDeclarationImpl extends JvmEnumerationTypeDeclarationImpl implements org.eclipse.xtend.lib.macro.declaration.MutableEnumerationTypeDeclaration
-
-
Constructor Summary
Constructors Constructor Description MutableJvmEnumerationTypeDeclarationImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.xtend.lib.macro.declaration.MutableEnumerationValueDeclaration
addValue(java.lang.String name, org.eclipse.xtext.xbase.lib.Procedures.Procedure1<org.eclipse.xtend.lib.macro.declaration.MutableEnumerationValueDeclaration> initializer)
org.eclipse.xtend.lib.macro.declaration.MutableConstructorDeclaration
findDeclaredConstructor(org.eclipse.xtend.lib.macro.declaration.TypeReference... parameterTypes)
org.eclipse.xtend.lib.macro.declaration.MutableFieldDeclaration
findDeclaredField(java.lang.String name)
org.eclipse.xtend.lib.macro.declaration.MutableMethodDeclaration
findDeclaredMethod(java.lang.String name, org.eclipse.xtend.lib.macro.declaration.TypeReference... parameterTypes)
org.eclipse.xtend.lib.macro.declaration.MutableTypeDeclaration
findDeclaredType(java.lang.String name)
org.eclipse.xtend.lib.macro.declaration.MutableEnumerationValueDeclaration
findDeclaredValue(java.lang.String name)
java.lang.Iterable<? extends org.eclipse.xtend.lib.macro.declaration.MutableAnnotationTypeDeclaration>
getDeclaredAnnotationTypes()
java.lang.Iterable<? extends org.eclipse.xtend.lib.macro.declaration.MutableClassDeclaration>
getDeclaredClasses()
java.lang.Iterable<? extends org.eclipse.xtend.lib.macro.declaration.MutableConstructorDeclaration>
getDeclaredConstructors()
java.lang.Iterable<? extends org.eclipse.xtend.lib.macro.declaration.MutableEnumerationTypeDeclaration>
getDeclaredEnumerationTypes()
java.lang.Iterable<? extends org.eclipse.xtend.lib.macro.declaration.MutableFieldDeclaration>
getDeclaredFields()
java.lang.Iterable<? extends org.eclipse.xtend.lib.macro.declaration.MutableInterfaceDeclaration>
getDeclaredInterfaces()
java.lang.Iterable<? extends org.eclipse.xtend.lib.macro.declaration.MutableMemberDeclaration>
getDeclaredMembers()
java.lang.Iterable<? extends org.eclipse.xtend.lib.macro.declaration.MutableMethodDeclaration>
getDeclaredMethods()
java.lang.Iterable<? extends org.eclipse.xtend.lib.macro.declaration.MutableTypeDeclaration>
getDeclaredTypes()
java.lang.Iterable<? extends org.eclipse.xtend.lib.macro.declaration.MutableEnumerationValueDeclaration>
getDeclaredValues()
org.eclipse.xtend.lib.macro.declaration.MutableTypeDeclaration
getDeclaringType()
void
markAsRead()
-
Methods inherited from class org.eclipse.xtend.core.macro.declaration.JvmTypeDeclarationImpl
addConstructor, addField, addMethod, getQualifiedName, getSimpleName, isAssignableFrom, remove, setSimpleName
-
Methods inherited from class org.eclipse.xtend.core.macro.declaration.JvmMemberDeclarationImpl
getDocComment, getModifiers, getVisibility, isDeprecated, setDeprecated, setDocComment, setVisibility
-
Methods inherited from class org.eclipse.xtend.core.macro.declaration.JvmAnnotationTargetImpl
addAnnotation, findAnnotation, getAnnotations, removeAnnotation
-
Methods inherited from class org.eclipse.xtend.core.macro.declaration.JvmNamedElementImpl
toString
-
Methods inherited from class org.eclipse.xtend.core.macro.declaration.JvmElementImpl
checkMutable
-
Methods inherited from class org.eclipse.xtend.core.macro.declaration.AbstractDelegator
getCompilationUnit, getDelegate, setCompilationUnit, setDelegate
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.eclipse.xtend.lib.macro.declaration.AnnotationTarget
findAnnotation, getAnnotations
-
Methods inherited from interface org.eclipse.xtend.lib.macro.declaration.MemberDeclaration
getDocComment, getModifiers, getVisibility, isDeprecated
-
Methods inherited from interface org.eclipse.xtend.lib.macro.declaration.MutableAnnotationTarget
addAnnotation, removeAnnotation
-
Methods inherited from interface org.eclipse.xtend.lib.macro.declaration.MutableMemberDeclaration
setDeprecated, setDocComment, setVisibility
-
Methods inherited from interface org.eclipse.xtend.lib.macro.declaration.MutableTypeDeclaration
addConstructor, addField, addMethod, remove, setSimpleName
-
-
-
-
Method Detail
-
markAsRead
public void markAsRead()
- Specified by:
markAsRead
in interfaceorg.eclipse.xtend.lib.macro.declaration.MutableDeclaration
-
findDeclaredMethod
public org.eclipse.xtend.lib.macro.declaration.MutableMethodDeclaration findDeclaredMethod(java.lang.String name, org.eclipse.xtend.lib.macro.declaration.TypeReference... parameterTypes)
- Specified by:
findDeclaredMethod
in interfaceorg.eclipse.xtend.lib.macro.declaration.MutableTypeDeclaration
- Specified by:
findDeclaredMethod
in interfaceorg.eclipse.xtend.lib.macro.declaration.TypeDeclaration
- Overrides:
findDeclaredMethod
in classJvmTypeDeclarationImpl<org.eclipse.xtext.common.types.JvmEnumerationType>
-
findDeclaredField
public org.eclipse.xtend.lib.macro.declaration.MutableFieldDeclaration findDeclaredField(java.lang.String name)
- Specified by:
findDeclaredField
in interfaceorg.eclipse.xtend.lib.macro.declaration.MutableTypeDeclaration
- Specified by:
findDeclaredField
in interfaceorg.eclipse.xtend.lib.macro.declaration.TypeDeclaration
- Overrides:
findDeclaredField
in classJvmTypeDeclarationImpl<org.eclipse.xtext.common.types.JvmEnumerationType>
-
findDeclaredType
public org.eclipse.xtend.lib.macro.declaration.MutableTypeDeclaration findDeclaredType(java.lang.String name)
- Specified by:
findDeclaredType
in interfaceorg.eclipse.xtend.lib.macro.declaration.MutableTypeDeclaration
- Specified by:
findDeclaredType
in interfaceorg.eclipse.xtend.lib.macro.declaration.TypeDeclaration
- Overrides:
findDeclaredType
in classJvmTypeDeclarationImpl<org.eclipse.xtext.common.types.JvmEnumerationType>
-
findDeclaredConstructor
public org.eclipse.xtend.lib.macro.declaration.MutableConstructorDeclaration findDeclaredConstructor(org.eclipse.xtend.lib.macro.declaration.TypeReference... parameterTypes)
- Specified by:
findDeclaredConstructor
in interfaceorg.eclipse.xtend.lib.macro.declaration.MutableTypeDeclaration
- Specified by:
findDeclaredConstructor
in interfaceorg.eclipse.xtend.lib.macro.declaration.TypeDeclaration
- Overrides:
findDeclaredConstructor
in classJvmTypeDeclarationImpl<org.eclipse.xtext.common.types.JvmEnumerationType>
-
getDeclaredMethods
public java.lang.Iterable<? extends org.eclipse.xtend.lib.macro.declaration.MutableMethodDeclaration> getDeclaredMethods()
- Specified by:
getDeclaredMethods
in interfaceorg.eclipse.xtend.lib.macro.declaration.MutableTypeDeclaration
- Specified by:
getDeclaredMethods
in interfaceorg.eclipse.xtend.lib.macro.declaration.TypeDeclaration
- Overrides:
getDeclaredMethods
in classJvmTypeDeclarationImpl<org.eclipse.xtext.common.types.JvmEnumerationType>
-
getDeclaredFields
public java.lang.Iterable<? extends org.eclipse.xtend.lib.macro.declaration.MutableFieldDeclaration> getDeclaredFields()
- Specified by:
getDeclaredFields
in interfaceorg.eclipse.xtend.lib.macro.declaration.MutableTypeDeclaration
- Specified by:
getDeclaredFields
in interfaceorg.eclipse.xtend.lib.macro.declaration.TypeDeclaration
- Overrides:
getDeclaredFields
in classJvmTypeDeclarationImpl<org.eclipse.xtext.common.types.JvmEnumerationType>
-
getDeclaredClasses
public java.lang.Iterable<? extends org.eclipse.xtend.lib.macro.declaration.MutableClassDeclaration> getDeclaredClasses()
- Specified by:
getDeclaredClasses
in interfaceorg.eclipse.xtend.lib.macro.declaration.MutableTypeDeclaration
- Specified by:
getDeclaredClasses
in interfaceorg.eclipse.xtend.lib.macro.declaration.TypeDeclaration
- Overrides:
getDeclaredClasses
in classJvmTypeDeclarationImpl<org.eclipse.xtext.common.types.JvmEnumerationType>
-
getDeclaredConstructors
public java.lang.Iterable<? extends org.eclipse.xtend.lib.macro.declaration.MutableConstructorDeclaration> getDeclaredConstructors()
- Specified by:
getDeclaredConstructors
in interfaceorg.eclipse.xtend.lib.macro.declaration.MutableTypeDeclaration
- Specified by:
getDeclaredConstructors
in interfaceorg.eclipse.xtend.lib.macro.declaration.TypeDeclaration
- Overrides:
getDeclaredConstructors
in classJvmTypeDeclarationImpl<org.eclipse.xtext.common.types.JvmEnumerationType>
-
getDeclaredInterfaces
public java.lang.Iterable<? extends org.eclipse.xtend.lib.macro.declaration.MutableInterfaceDeclaration> getDeclaredInterfaces()
- Specified by:
getDeclaredInterfaces
in interfaceorg.eclipse.xtend.lib.macro.declaration.MutableTypeDeclaration
- Specified by:
getDeclaredInterfaces
in interfaceorg.eclipse.xtend.lib.macro.declaration.TypeDeclaration
- Overrides:
getDeclaredInterfaces
in classJvmTypeDeclarationImpl<org.eclipse.xtext.common.types.JvmEnumerationType>
-
getDeclaredAnnotationTypes
public java.lang.Iterable<? extends org.eclipse.xtend.lib.macro.declaration.MutableAnnotationTypeDeclaration> getDeclaredAnnotationTypes()
- Specified by:
getDeclaredAnnotationTypes
in interfaceorg.eclipse.xtend.lib.macro.declaration.MutableTypeDeclaration
- Specified by:
getDeclaredAnnotationTypes
in interfaceorg.eclipse.xtend.lib.macro.declaration.TypeDeclaration
- Overrides:
getDeclaredAnnotationTypes
in classJvmTypeDeclarationImpl<org.eclipse.xtext.common.types.JvmEnumerationType>
-
getDeclaredEnumerationTypes
public java.lang.Iterable<? extends org.eclipse.xtend.lib.macro.declaration.MutableEnumerationTypeDeclaration> getDeclaredEnumerationTypes()
- Specified by:
getDeclaredEnumerationTypes
in interfaceorg.eclipse.xtend.lib.macro.declaration.MutableTypeDeclaration
- Specified by:
getDeclaredEnumerationTypes
in interfaceorg.eclipse.xtend.lib.macro.declaration.TypeDeclaration
- Overrides:
getDeclaredEnumerationTypes
in classJvmTypeDeclarationImpl<org.eclipse.xtext.common.types.JvmEnumerationType>
-
getDeclaredTypes
public java.lang.Iterable<? extends org.eclipse.xtend.lib.macro.declaration.MutableTypeDeclaration> getDeclaredTypes()
- Specified by:
getDeclaredTypes
in interfaceorg.eclipse.xtend.lib.macro.declaration.MutableTypeDeclaration
- Specified by:
getDeclaredTypes
in interfaceorg.eclipse.xtend.lib.macro.declaration.TypeDeclaration
- Overrides:
getDeclaredTypes
in classJvmTypeDeclarationImpl<org.eclipse.xtext.common.types.JvmEnumerationType>
-
getDeclaringType
public org.eclipse.xtend.lib.macro.declaration.MutableTypeDeclaration getDeclaringType()
- Specified by:
getDeclaringType
in interfaceorg.eclipse.xtend.lib.macro.declaration.MemberDeclaration
- Specified by:
getDeclaringType
in interfaceorg.eclipse.xtend.lib.macro.declaration.MutableMemberDeclaration
- Overrides:
getDeclaringType
in classJvmMemberDeclarationImpl<org.eclipse.xtext.common.types.JvmEnumerationType>
-
getDeclaredMembers
public java.lang.Iterable<? extends org.eclipse.xtend.lib.macro.declaration.MutableMemberDeclaration> getDeclaredMembers()
- Specified by:
getDeclaredMembers
in interfaceorg.eclipse.xtend.lib.macro.declaration.MutableTypeDeclaration
- Specified by:
getDeclaredMembers
in interfaceorg.eclipse.xtend.lib.macro.declaration.TypeDeclaration
- Overrides:
getDeclaredMembers
in classJvmTypeDeclarationImpl<org.eclipse.xtext.common.types.JvmEnumerationType>
-
getDeclaredValues
public java.lang.Iterable<? extends org.eclipse.xtend.lib.macro.declaration.MutableEnumerationValueDeclaration> getDeclaredValues()
- Specified by:
getDeclaredValues
in interfaceorg.eclipse.xtend.lib.macro.declaration.EnumerationTypeDeclaration
- Specified by:
getDeclaredValues
in interfaceorg.eclipse.xtend.lib.macro.declaration.MutableEnumerationTypeDeclaration
- Overrides:
getDeclaredValues
in classJvmEnumerationTypeDeclarationImpl
-
findDeclaredValue
public org.eclipse.xtend.lib.macro.declaration.MutableEnumerationValueDeclaration findDeclaredValue(java.lang.String name)
- Specified by:
findDeclaredValue
in interfaceorg.eclipse.xtend.lib.macro.declaration.EnumerationTypeDeclaration
- Specified by:
findDeclaredValue
in interfaceorg.eclipse.xtend.lib.macro.declaration.MutableEnumerationTypeDeclaration
- Overrides:
findDeclaredValue
in classJvmEnumerationTypeDeclarationImpl
-
addValue
public org.eclipse.xtend.lib.macro.declaration.MutableEnumerationValueDeclaration addValue(java.lang.String name, org.eclipse.xtext.xbase.lib.Procedures.Procedure1<org.eclipse.xtend.lib.macro.declaration.MutableEnumerationValueDeclaration> initializer)
- Specified by:
addValue
in interfaceorg.eclipse.xtend.lib.macro.declaration.MutableEnumerationTypeDeclaration
-
-