Class AnnotationReflectionUtils
java.lang.Object
io.micronaut.context.AnnotationReflectionUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> @Nullable Argument<T> resolveGenericToArgument(Class<?> runtimeGenericType, Class<T> rawSuperType) Find implementation as an argument with types and annotations.
-
Method Details
-
resolveGenericToArgument
public static <T> @Nullable Argument<T> resolveGenericToArgument(Class<?> runtimeGenericType, Class<T> rawSuperType) Find implementation as an argument with types and annotations.- Type Parameters:
T- T- Parameters:
runtimeGenericType- The implementation class of the interfacerawSuperType- The implementedType type - interface or an abstract class- Returns:
- The argument of the interface with types and annotations
- Since:
- 4.6
-