Class AnnotationElement

  • All Implemented Interfaces:
    Writable

    public class AnnotationElement
    extends ModelElement
    Author:
    Ben Zegveld
    • Method Detail

      • getElementName

        public String getElementName()
      • getValues

        public List<? extends Object> getValues()
      • 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.
      • isBoolean

        public boolean isBoolean()
      • isByte

        public boolean isByte()
      • isCharacter

        public boolean isCharacter()
      • isClass

        public boolean isClass()
      • isDouble

        public boolean isDouble()
      • isEnum

        public boolean isEnum()
      • isFloat

        public boolean isFloat()
      • isInteger

        public boolean isInteger()
      • isLong

        public boolean isLong()
      • isShort

        public boolean isShort()
      • isString

        public boolean isString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object