Class Annotation

  • All Implemented Interfaces:
    Writable

    public class Annotation
    extends ModelElement
    Represents a Java 5 annotation.
    Author:
    Gunnar Morling
    • Method Detail

      • getType

        public Type getType()
      • 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.