protected static interface ParameterList.ForLoadedExecutable.Dispatcher
java.lang.reflect.Executable
's parameters.Modifier and Type | Interface and Description |
---|---|
static class |
ParameterList.ForLoadedExecutable.Dispatcher.CreationAction
A creation action for a dispatcher.
|
static class |
ParameterList.ForLoadedExecutable.Dispatcher.ForJava8CapableVm
A dispatcher for a legacy VM that does support the
java.lang.reflect.Parameter type. |
static class |
ParameterList.ForLoadedExecutable.Dispatcher.ForLegacyVm
A dispatcher for a legacy VM that does not support the
java.lang.reflect.Parameter type. |
Modifier and Type | Method and Description |
---|---|
ParameterList<ParameterDescription.InDefinedShape> |
describe(Constructor<?> constructor,
ParameterDescription.ForLoadedParameter.ParameterAnnotationSource parameterAnnotationSource)
Describes a
Constructor 's parameters of the given VM. |
ParameterList<ParameterDescription.InDefinedShape> |
describe(Method method,
ParameterDescription.ForLoadedParameter.ParameterAnnotationSource parameterAnnotationSource)
Describes a
Method 's parameters of the given VM. |
int |
getParameterCount(Object executable)
Returns the amount of parameters of a given executable..
|
int getParameterCount(Object executable)
executable
- The executable for which the amount of parameters should be found.ParameterList<ParameterDescription.InDefinedShape> describe(Constructor<?> constructor, ParameterDescription.ForLoadedParameter.ParameterAnnotationSource parameterAnnotationSource)
Constructor
's parameters of the given VM.constructor
- The constructor for which the parameters should be described.parameterAnnotationSource
- The parameter annotation source to query.ParameterList<ParameterDescription.InDefinedShape> describe(Method method, ParameterDescription.ForLoadedParameter.ParameterAnnotationSource parameterAnnotationSource)
Method
's parameters of the given VM.method
- The method for which the parameters should be described.parameterAnnotationSource
- The parameter annotation source to query.Copyright © 2014–2020. All rights reserved.