Enum InterceptorCommonLibrary.AnnotationUsage

java.lang.Object
java.lang.Enum<InterceptorCommonLibrary.AnnotationUsage>
name.matthewgreet.strutscommons.util.InterceptorCommonLibrary.AnnotationUsage
All Implemented Interfaces:
Serializable, Comparable<InterceptorCommonLibrary.AnnotationUsage>, java.lang.constant.Constable
Enclosing class:
InterceptorCommonLibrary

public static enum InterceptorCommonLibrary.AnnotationUsage extends Enum<InterceptorCommonLibrary.AnnotationUsage>
  • Enum Constant Details

  • Method Details

    • values

      public static InterceptorCommonLibrary.AnnotationUsage[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static InterceptorCommonLibrary.AnnotationUsage valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getDirectInterface

      public Class<?> getDirectInterface()
      Returns interface, such as Converter, that defines policies of this annotation usage, or null if not applicable.
    • getDirectInterfaceAnnotationIndex

      public int getDirectInterfaceAnnotationIndex()
      Returns index of generic parameters of interface for annotation type, with 0 being the first.
    • getDirectInterfaceRecipientTypeIndex

      public Integer getDirectInterfaceRecipientTypeIndex()
      Returns index of generic parameters of interface for recipient type, with 0 being the first, or null if not applicable.
    • getSupportClass

      public Class<?> getSupportClass()
      Returns template class, such as AbstractConverterSupport, that aids policy implementation of this annotation usage, or null if not applicable.
    • getSupportClassAnnotationIndex

      public int getSupportClassAnnotationIndex()
      Returns index of generic parameters of support class for annotation type, with 0 being the first.
    • getSupportClassRecipientTypeIndex

      public Integer getSupportClassRecipientTypeIndex()
      Returns index of generic parameters of support class for recipient type, with 0 being the first, or null if not applicable.