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.
|
booleanValue, booleanValue, booleanValue, booleanValue, classValue, classValue, classValue, classValue, classValues, classValues, classValues, classValues, doubleValue, doubleValue, doubleValue, enumValue, enumValue, enumValue, enumValue, 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, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValues, getValues, hasAnnotation, hasAnnotation, hasDeclaredAnnotation, hasDeclaredAnnotation, hasDeclaredStereotype, hasDeclaredStereotype, hasDeclaredStereotype, 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
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 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 instancearguments
- The argumentsdefault AnnotationMetadata getAnnotationMetadata()
AnnotationMetadataProvider
AnnotationMetadata.EMPTY_METADATA
.getAnnotationMetadata
in interface AnnotationMetadataProvider
AnnotationMetadata