Package io.micronaut.core.beans
Interface BeanMethod<B,T>
- Type Parameters:
B- The bean typeT- The return type
- All Superinterfaces:
AnnotationMetadataProvider,AnnotationSource,Executable<B,,T> Named
- All Known Implementing Classes:
AbstractBeanMethod,AbstractExecutableBeanMethod
Represents a method on a
BeanIntrospection.
A BeanMethod is created when an accessible method on a class is annotated with io.micronaut.context.annotation.Executable or an annotation stereotype annotated with that annotation
- Since:
- 2.3.0
-
Field Summary
Fields inherited from interface io.micronaut.core.annotation.AnnotationSource
EMPTY -
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from interface io.micronaut.core.annotation.AnnotationMetadataProvider
findAnnotation, findAnnotation, findDeclaredAnnotation, findDeclaredAnnotation, getAnnotationMetadata, getTargetAnnotationMetadata, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeAll, synthesizeAnnotationsByType, synthesizeDeclared, synthesizeDeclared, synthesizeDeclaredAnnotationsByTypeMethods inherited from interface io.micronaut.core.annotation.AnnotationSource
getAnnotation, getAnnotation, getDeclaredAnnotation, getDeclaredAnnotation, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeDeclaredMethods inherited from interface io.micronaut.core.type.Executable
getArguments, invoke
-
Method Details
-
getDeclaringBean
- Returns:
- The declaring bean introspection.
-
getReturnType
- Returns:
- The return type.
-
getDeclaringType
- Specified by:
getDeclaringTypein interfaceExecutable<B,T> - Returns:
- The declaring type
-