Package net.bytebuddy.description.method
Interface ParameterList.ForLoadedExecutable.Executable
- Enclosing class:
ParameterList.ForLoadedExecutable<T>
@Proxied("java.lang.reflect.Executable")
protected static interface ParameterList.ForLoadedExecutable.Executable
A dispatcher for creating descriptions of parameter lists and for evaluating the size of an
java.lang.reflect.Executable's parameters.-
Method Summary
Modifier and TypeMethodDescriptionintgetParameterCount(Object executable) Returns the amount of parameters of a given executable..Object[]getParameters(Object value) Returns the parameters of an executable.booleanisInstance(Object value) Checks if the supplied instance is ajava.lang.reflect.Executable.
-
Method Details
-
isInstance
Checks if the supplied instance is ajava.lang.reflect.Executable.- Parameters:
value- The value to check for being ajava.lang.reflect.Executable.- Returns:
trueif the supplied instance is ajava.lang.reflect.Executable.
-
getParameterCount
Returns the amount of parameters of a given executable..- Parameters:
executable- The executable for which the amount of parameters should be found.- Returns:
- The amount of parameters of the given executable.
-
getParameters
Returns the parameters of an executable.- Parameters:
value- The executable to introspect.- Returns:
- An array of the parameters of the supplied executable.
-