Class ReflectionHelper
java.lang.Object
org.apache.sling.junit.jupiter.osgi.impl.ReflectionHelper
Utility class used for resolving type-arguments to concrete types.
-
Method Summary
Modifier and TypeMethodDescriptionstatic Map
<TypeVariable<?>, Type> determineTypeArguments
(@NotNull Class<?> clazz) static @NotNull ParameterizedType
parameterizedTypeForBaseClass
(@NotNull Class<?> baseClass, @NotNull Class<?> clazz)
-
Method Details
-
determineTypeArguments
-
parameterizedTypeForBaseClass
@NotNull public static @NotNull ParameterizedType parameterizedTypeForBaseClass(@NotNull @NotNull Class<?> baseClass, @NotNull @NotNull Class<?> clazz)
-