T
- The typeR
- The resultpublic interface DelegatingExecutableMethod<T,R> extends ExecutableMethod<T,R>
ExecutableMethod
instances that delegate to an underlying ExecutableMethod
.CLASS_NAME_SUFFIX, EMPTY_METADATA, VALUE_MEMBER
EMPTY
Modifier and Type | Method and Description |
---|---|
default AnnotationMetadata |
getAnnotationMetadata()
Supplies the metadata.
|
default String[] |
getArgumentNames() |
default Argument[] |
getArguments()
The required argument types.
|
default Class[] |
getArgumentTypes() |
default Class<T> |
getDeclaringType() |
default String |
getMethodName() |
default ReturnType<R> |
getReturnType() |
ExecutableMethod<T,R> |
getTarget() |
default Method |
getTargetMethod() |
default R |
invoke(T instance,
Object... arguments)
Invokes the method.
|
getDescription, getDescription, isAbstract, isSuspend
getName
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, getDeclaredStereotypeAnnotationNames, getDefaultValue, getDefaultValue, getDefaultValue, getDefaultValue, getDefaultValues, getStereotypeAnnotationNames, 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
getAnnotationValuesByName, getAnnotationValuesByStereotype, getDeclaredAnnotationValuesByName, getValues, hasDeclaredStereotype, isAnnotationPresent, isDeclaredAnnotationPresent
isDeclaredNonNull, isDeclaredNullable, isNonNull, isNullable
ExecutableMethod<T,R> getTarget()
default Method getTargetMethod()
getTargetMethod
in interface MethodReference<T,R>
default ReturnType<R> getReturnType()
getReturnType
in interface MethodReference<T,R>
default Class<T> getDeclaringType()
getDeclaringType
in interface Executable<T,R>
getDeclaringType
in interface MethodReference<T,R>
default String getMethodName()
getMethodName
in interface MethodReference<T,R>
default Class[] getArgumentTypes()
getArgumentTypes
in interface MethodReference<T,R>
default String[] getArgumentNames()
getArgumentNames
in interface MethodReference<T,R>
default Argument[] getArguments()
Executable
getArguments
in interface Executable<T,R>
getArguments
in interface MethodReference<T,R>
default R invoke(T instance, Object... arguments)
Executable
invoke
in interface Executable<T,R>
instance
- The instance. Nullable only if it's a static method call.arguments
- The argumentsdefault AnnotationMetadata getAnnotationMetadata()
AnnotationMetadataProvider
AnnotationMetadata.EMPTY_METADATA
.getAnnotationMetadata
in interface AnnotationMetadataProvider
AnnotationMetadata