protected static interface ParameterList.ForLoadedExecutable.Dispatcher
java.lang.reflect.Executable
's parameters.Modifier and Type | Interface and Description |
---|---|
static class |
ParameterList.ForLoadedExecutable.Dispatcher.ForLegacyVm
A dispatcher for a legacy VM that does not support the
java.lang.reflect.Parameter type. |
static class |
ParameterList.ForLoadedExecutable.Dispatcher.ForModernVm
A dispatcher for a legacy VM that does support the
java.lang.reflect.Parameter type. |
Modifier and Type | Method and Description |
---|---|
ParameterList<ParameterDescription.InDefinedShape> |
describe(Constructor<?> constructor)
Describes a
Constructor 's parameters of the given VM. |
ParameterList<ParameterDescription.InDefinedShape> |
describe(Method method)
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)
Constructor
's parameters of the given VM.constructor
- The constructor for which the parameters should be described.ParameterList<ParameterDescription.InDefinedShape> describe(Method method)
Method
's parameters of the given VM.method
- The method for which the parameters should be described.Copyright © 2014–2016. All rights reserved.