Package io.micronaut.core.bind
Interface BoundExecutable<T,R> 
- Type Parameters:
- T-
- R-
- All Superinterfaces:
- AnnotationMetadataProvider,- AnnotationSource,- Executable<T,- R> 
A bound 
Executable is an executable who argument values have been pre-bound to
 values using a ArgumentBinderRegistry.
 Unlike a normal Executable zero arguments are expected and an exception will
 be thrown if the underlying target Executable cannot be invoked with the current state- 
Field SummaryFields inherited from interface io.micronaut.core.annotation.AnnotationSourceEMPTY
- 
Method SummaryModifier and TypeMethodDescriptiondefault AnnotationMetadataSupplies the metadata.default Argument[]The required argument types.Object[]That arguments that will be used to invoke the method.Executable<T,R> If the executable can only be partially bound then this method will return the arguments that have not been bound.Invoke the boundExecutable.default RInvokes the method.Methods inherited from interface io.micronaut.core.annotation.AnnotationMetadataProviderfindAnnotation, findAnnotation, findDeclaredAnnotation, findDeclaredAnnotation, getTargetAnnotationMetadata, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeAll, synthesizeAnnotationsByType, synthesizeDeclared, synthesizeDeclared, synthesizeDeclaredAnnotationsByTypeMethods inherited from interface io.micronaut.core.annotation.AnnotationSourcegetAnnotation, getAnnotation, getDeclaredAnnotation, getDeclaredAnnotation, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeDeclared
- 
Method Details- 
getTargetExecutable<T,R> getTarget()- Returns:
- The target executable
 
- 
invokeInvoke the boundExecutable.- Parameters:
- instance- The target instance
- Returns:
- The result
 
- 
getBoundArgumentsObject[] getBoundArguments()That arguments that will be used to invoke the method.- Returns:
- The arguments
 
- 
getDeclaringType- Specified by:
- getDeclaringTypein interface- Executable<T,- R> 
- Returns:
- The declaring type
 
- 
getUnboundArgumentsIf the executable can only be partially bound then this method will return the arguments that have not been bound.- Returns:
- The unbound arguments
 
- 
invokeDescription copied from interface:ExecutableInvokes the method.- Specified by:
- invokein interface- Executable<T,- R> 
- Parameters:
- instance- The instance. Nullable only if it's a static method call.
- arguments- The arguments
- Returns:
- The result
 
- 
getArgumentsDescription copied from interface:ExecutableThe required argument types.- Specified by:
- getArgumentsin interface- Executable<T,- R> 
- Returns:
- The arguments
 
- 
getAnnotationMetadataDescription copied from interface:AnnotationMetadataProviderSupplies the metadata. Defaults toAnnotationMetadata.EMPTY_METADATA.- Specified by:
- getAnnotationMetadatain interface- AnnotationMetadataProvider
- Returns:
- The AnnotationMetadata
 
 
-