Class EnumConstantWrapper

    • Field Detail

      • enumType

        private final Type enumType
    • Constructor Detail

      • EnumConstantWrapper

        public EnumConstantWrapper​(Assignment decoratedAssignment,
                                   Type enumType)
    • Method Detail

      • getImportTypes

        public java.util.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 interface Assignment
        Overrides:
        getImportTypes in class AssignmentWrapper
        Returns:
        A set with type referenced by this model element. Must not be null.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object