Package de.pisa.psa.rst.obj
Class PsaRstApiMapEntry<T extends java.lang.annotation.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 java.lang.annotation.Annotation> extends java.lang.Object
Annotation mapping entry- Since:
- 25.07.2023
- Author:
- weiland
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <T extends java.lang.annotation.Annotation>
java.util.List<PsaRstApiMapEntry<T>>get(java.lang.Class<?> clazz, java.lang.Class<T> annotation_clazz)
get the component mapping defined by annotationT
getAnnotation()
get the annotationjava.lang.reflect.Field
getClassField()
get the class fieldjava.lang.String
toString()
-
-
-
Method Detail
-
get
public static <T extends java.lang.annotation.Annotation> java.util.List<PsaRstApiMapEntry<T>> get(java.lang.Class<?> clazz, java.lang.Class<T> annotation_clazz)
get the component mapping defined by annotation- Type Parameters:
T
- type of the annotation- Parameters:
clazz
- class to analyzeannotation_clazz
- class of the annotation- Returns:
- list of component mapping
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
- See Also:
Object.toString()
-
getClassField
public java.lang.reflect.Field getClassField()
get the class field- Returns:
- field
-
getAnnotation
public T getAnnotation()
get the annotation- Returns:
- annotation
-
-