Package ch.nolix.core.reflection
Klasse GlobalReflectionTool
java.lang.Object
ch.nolix.core.reflection.GlobalReflectionTool
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic boolean
allParametersOfMethodAreOfType
(Executable executable, Class<?> type) static <T> T
createInstanceFromDefaultConstructorOfClass
(Class<T> paramClass) static <T> Constructor
<T> getDefaultConstructorOfClass
(Class<T> paramClass) static Field
getFirstFieldOfObjectThatStoresValue
(Object object, Object value) static String
getNameOfFirstFieldOfObjectThatStoresValue
(Object object, Object value) static IContainer
<Object> getPublicStaticFieldValuesOfClass
(Class<?> paramClass) static <V> V
getValueFromStaticField
(Field staticField) static Object
getValueOfFieldOfObject
(Object object, Field field) static <A extends Annotation>
booleanhasAnnotation
(AnnotatedElement object, Class<A> annotationType) static boolean
hasGivenTypeOrSuperType
(Field field, Class<?> type) static boolean
static boolean
isProtected
(Member member) static boolean
static boolean
static boolean
isStaticAndStoresValueOfGivenType
(Field field, Class<?> type)
-
Methodendetails
-
allParametersOfMethodAreOfType
-
createInstanceFromDefaultConstructorOfClass
-
getDefaultConstructorOfClass
-
getFirstFieldOfObjectThatStoresValue
-
getNameOfFirstFieldOfObjectThatStoresValue
-
getPublicStaticFieldValuesOfClass
-
getValueFromStaticField
-
getValueOfFieldOfObject
-
hasAnnotation
public static <A extends Annotation> boolean hasAnnotation(AnnotatedElement object, Class<A> annotationType) -
hasGivenTypeOrSuperType
-
isPrivate
-
isProtected
-
isPublic
-
isStatic
-
isStaticAndStoresValueOfGivenType
-