Class EnumAnnotationElementHolder

  • All Implemented Interfaces:
    Writable

    public class EnumAnnotationElementHolder
    extends ModelElement
    • Constructor Detail

      • EnumAnnotationElementHolder

        public EnumAnnotationElementHolder​(Type enumClass,
                                           String name)
    • Method Detail

      • getEnumClass

        public Type getEnumClass()
      • getName

        public String getName()
      • getImportTypes

        public Set<Type> getImportTypes()
        Description copied from class: ModelElement
        Returns a set containing those Types referenced by this model element for which an import statement needs to be declared.
        Specified by:
        getImportTypes in class ModelElement
        Returns:
        A set with type referenced by this model element. Must not be null.