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 java.lang.String[] |
getArgumentNames() |
default Argument[] |
getArguments()
The required argument types.
|
default java.lang.Class[] |
getArgumentTypes() |
default java.lang.Class<T> |
getDeclaringType() |
default java.lang.String |
getMethodName() |
default ReturnType<R> |
getReturnType() |
ExecutableMethod<T,R> |
getTarget() |
default java.lang.reflect.Method |
getTargetMethod() |
default R |
invoke(T instance,
java.lang.Object... arguments)
Invokes the method.
|
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, getAnnotation, getAnnotation, getAnnotationNameByStereotype, getAnnotationNameByStereotype, getAnnotationNames, getAnnotationNamesByStereotype, getAnnotationNamesByStereotype, getAnnotationType, getAnnotationTypeByStereotype, getAnnotationTypeByStereotype, getAnnotationTypesByStereotype, getAnnotationValuesByType, getDeclaredAnnotation, getDeclaredAnnotation, getDeclaredAnnotationNameByStereotype, getDeclaredAnnotationNames, getDeclaredAnnotationNamesByStereotype, getDeclaredAnnotationTypeByStereotype, getDeclaredAnnotationTypeByStereotype, getDeclaredAnnotationValuesByType, 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, hasSimpleAnnotation, hasSimpleDeclaredAnnotation, hasStereotype, hasStereotype, hasStereotype, hasStereotype, intValue, intValue, intValue, isAnnotationPresent, isDeclaredAnnotationPresent, isEmpty, isFalse, isFalse, isPresent, isPresent, isTrue, isTrue, longValue, longValue, stringValue, stringValue, stringValue, stringValue, stringValues, stringValues, synthesize, synthesizeAll, synthesizeAnnotationsByType, synthesizeDeclared, synthesizeDeclared, synthesizeDeclaredAnnotationsByType
isDeclaredNonNull, isDeclaredNullable, isNonNull, isNullable
ExecutableMethod<T,R> getTarget()
default java.lang.reflect.Method getTargetMethod()
getTargetMethod
in interface MethodReference<T,R>
default ReturnType<R> getReturnType()
getReturnType
in interface MethodReference<T,R>
default java.lang.Class<T> getDeclaringType()
getDeclaringType
in interface MethodReference<T,R>
default java.lang.String getMethodName()
getMethodName
in interface MethodReference<T,R>
default java.lang.Class[] getArgumentTypes()
getArgumentTypes
in interface MethodReference<T,R>
default java.lang.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, java.lang.Object... arguments)
Executable
invoke
in interface Executable<T,R>
instance
- The instancearguments
- The argumentsdefault AnnotationMetadata getAnnotationMetadata()
AnnotationMetadataProvider
AnnotationMetadata.EMPTY_METADATA
.getAnnotationMetadata
in interface AnnotationMetadataProvider
AnnotationMetadata