Class PsaRstApiMapEntry<T extends Annotation>

java.lang.Object
de.pisa.psa.rst.obj.PsaRstApiMapEntry<T>
Type Parameters:
T - annotation type
Direct Known Subclasses:
PsaRstApiMapFld.MapEntry

public class PsaRstApiMapEntry<T extends Annotation> extends Object
Annotation mapping entry
Since:
25.07.2023
Author:
weiland
  • Method Details

    • get

      public static <T extends Annotation> List<PsaRstApiMapEntry<T>> get(Class<?> clazz, Class<T> annotation_clazz)
      get the component mapping defined by annotation
      Type Parameters:
      T - type of the annotation
      Parameters:
      clazz - class to analyze
      annotation_clazz - class of the annotation
      Returns:
      list of component mapping
    • toString

      public String toString()
      Overrides:
      toString in class Object
      See Also:
    • getClassField

      public Field getClassField()
      get the class field
      Returns:
      field
    • getAnnotation

      public T getAnnotation()
      get the annotation
      Returns:
      annotation