Interface Annotation<O extends JavaType<O>>

    • Method Detail

      • isSingleValue

        boolean isSingleValue()
      • isMarker

        boolean isMarker()
        Checks if this annotation is a marker annotation. A marker annotation is defined as @TypeName, e.g. @Overwrite. The annotation has no value.
        Returns:
        true, if this annotation is a marker annotation, false otherwise.
      • isNormal

        boolean isNormal()
      • getName

        String getName()
        Get the simple name of this annotation.

        NOTE: This method returns always the simple name indifferent if the type was imported or not.

        Returns:
        the simple name
        See Also:
        Types.toSimpleName(String)
      • getQualifiedName

        String getQualifiedName()
        Get the qualified name of this annotation.

        NOTE: This method returns always the qualified name indifferent if the type was imported or not.

        Returns:
        the qualified name
      • getEnumValue

        <T extends Enum<T>> T getEnumValue​(Class<T> type)
      • getEnumValue

        <T extends Enum<T>> T getEnumValue​(Class<T> type,
                                           String name)
      • getEnumArrayValue

        <T extends Enum<T>> T[] getEnumArrayValue​(Class<T> type)
      • getEnumArrayValue

        <T extends Enum<T>> T[] getEnumArrayValue​(Class<T> type,
                                                  String name)
      • getLiteralValue

        String getLiteralValue()
      • getStringValue

        String getStringValue()
      • getStringArrayValue

        String[] getStringArrayValue()
      • getStringArrayValue

        String[] getStringArrayValue​(String name)
      • getAnnotationValue

        Annotation<O> getAnnotationValue()
      • getAnnotationArrayValue

        Annotation<O>[] getAnnotationArrayValue()
      • getClassValue

        Class<?> getClassValue()
      • getClassValue

        Class<?> getClassValue​(String name)
      • getClassArrayValue

        Class<?>[] getClassArrayValue()
      • getClassArrayValue

        Class<?>[] getClassArrayValue​(String name)
      • isTypeElementDefined

        boolean isTypeElementDefined​(String name)