B
- The bean typeT
- The return type@Internal public abstract class AbstractExecutableBeanMethod<B,T> extends io.micronaut.core.beans.AbstractBeanMethod<B,T> implements ExecutableMethod<B,T>
AbstractBeanMethod
that also implements ExecutableMethod
.Modifier | Constructor and Description |
---|---|
protected |
AbstractExecutableBeanMethod(io.micronaut.core.beans.BeanIntrospection<B> introspection,
io.micronaut.core.type.Argument<T> returnType,
java.lang.String name,
io.micronaut.core.annotation.AnnotationMetadata annotationMetadata,
io.micronaut.core.type.Argument<?>... arguments)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Class<B> |
getDeclaringType() |
java.lang.String |
getMethodName() |
java.lang.reflect.Method |
getTargetMethod() |
getAnnotationMetadata, getArguments, getDeclaringBean, getName, getReturnType, invoke, invokeInternal
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDescription, getDescription, isAbstract, isSuspend
getArgumentNames, getArguments, getArgumentTypes, getName, getReturnType
booleanValue, booleanValue, booleanValue, booleanValue, classValue, classValue, classValue, classValue, classValues, classValues, classValues, classValues, doubleValue, doubleValue, doubleValue, enumValue, enumValue, enumValue, enumValue, enumValues, enumValues, enumValues, enumValues, findAnnotation, findAnnotation, findDeclaredAnnotation, findDeclaredAnnotation, findRepeatableAnnotation, findRepeatableAnnotation, getAnnotation, getAnnotation, getAnnotationNameByStereotype, getAnnotationNameByStereotype, getAnnotationNames, getAnnotationNamesByStereotype, getAnnotationNamesByStereotype, getAnnotationType, getAnnotationType, getAnnotationTypeByStereotype, getAnnotationTypeByStereotype, getAnnotationTypesByStereotype, getAnnotationTypesByStereotype, getAnnotationTypesByStereotype, getAnnotationValuesByType, getDeclaredAnnotation, getDeclaredAnnotation, getDeclaredAnnotationNameByStereotype, getDeclaredAnnotationNames, getDeclaredAnnotationNamesByStereotype, getDeclaredAnnotationTypeByStereotype, getDeclaredAnnotationTypeByStereotype, getDeclaredAnnotationValuesByType, getDeclaredMetadata, getDefaultValue, getDefaultValue, getDefaultValue, getDefaultValue, getDefaultValues, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValues, getValues, hasAnnotation, hasAnnotation, hasDeclaredAnnotation, hasDeclaredAnnotation, hasDeclaredStereotype, hasDeclaredStereotype, hasDeclaredStereotype, hasPropertyExpressions, hasSimpleAnnotation, hasSimpleDeclaredAnnotation, hasStereotype, hasStereotype, hasStereotype, hasStereotype, intValue, intValue, intValue, isAnnotationPresent, isDeclaredAnnotationPresent, isEmpty, isFalse, isFalse, isPresent, isPresent, isRepeatableAnnotation, isRepeatableAnnotation, isTrue, isTrue, longValue, longValue, stringValue, stringValue, stringValue, stringValue, stringValues, stringValues, stringValues, stringValues, synthesize, synthesize, synthesizeAll, synthesizeAnnotationsByType, synthesizeDeclared, synthesizeDeclared, synthesizeDeclared, synthesizeDeclaredAnnotationsByType
getValues, hasDeclaredStereotype, isAnnotationPresent, isDeclaredAnnotationPresent
protected AbstractExecutableBeanMethod(@NonNull io.micronaut.core.beans.BeanIntrospection<B> introspection, @NonNull io.micronaut.core.type.Argument<T> returnType, @NonNull java.lang.String name, @Nullable io.micronaut.core.annotation.AnnotationMetadata annotationMetadata, @Nullable io.micronaut.core.type.Argument<?>... arguments)
introspection
- The associated introspectionreturnType
- The return typename
- The name of the methodannotationMetadata
- The annotation metadataarguments
- The argument typespublic java.lang.reflect.Method getTargetMethod()
getTargetMethod
in interface MethodReference<B,T>
public java.lang.Class<B> getDeclaringType()
getDeclaringType
in interface io.micronaut.core.beans.BeanMethod<B,T>
getDeclaringType
in interface io.micronaut.core.type.Executable<B,T>
getDeclaringType
in interface MethodReference<B,T>
public java.lang.String getMethodName()
getMethodName
in interface MethodReference<B,T>