Package net.bytebuddy.description.type
Interface TypeDescription.Generic.AnnotationReader.Delegator.ForLoadedMethodReturnType.Dispatcher
-
@Proxied("java.lang.reflect.Method") protected static interface TypeDescription.Generic.AnnotationReader.Delegator.ForLoadedMethodReturnType.Dispatcher
A dispatcher for interacting withMethod
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.reflect.AnnotatedElement
getAnnotatedReturnType(java.lang.reflect.Method method)
Resolves the supplied method's annotated return type.
-
-
-
Method Detail
-
getAnnotatedReturnType
@MaybeNull @Defaults java.lang.reflect.AnnotatedElement getAnnotatedReturnType(java.lang.reflect.Method method)
Resolves the supplied method's annotated return type.- Parameters:
method
- The executable for which to resolve the annotated return type.- Returns:
- The return type annotations or
null
if this feature is not supported.
-
-