T
- The declaring typeR
- The result of the method callpublic interface Executable<T,R> extends AnnotationMetadataProvider
Represents an executable reference. The reference could be implemented via reflection (slow) or via generated code
.EMPTY
Modifier and Type | Method and Description |
---|---|
Argument<?>[] |
getArguments()
The required argument types.
|
Class<T> |
getDeclaringType() |
R |
invoke(T instance,
Object... arguments)
Invokes the method.
|
findAnnotation, findAnnotation, findDeclaredAnnotation, findDeclaredAnnotation, getAnnotationMetadata, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeAll, synthesizeAnnotationsByType, synthesizeDeclared, synthesizeDeclared, synthesizeDeclaredAnnotationsByType
getAnnotation, getAnnotation, getDeclaredAnnotation, getDeclaredAnnotation, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeDeclared