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 anjava.lang.reflect.Executable's parameters.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetParameterCount(java.lang.Object executable)Returns the amount of parameters of a given executable..java.lang.Object[]getParameters(java.lang.Object value)Returns the parameters of an executable.booleanisInstance(java.lang.Object value)Checks if the supplied instance is ajava.lang.reflect.Executable.
-
-
-
Method Detail
-
isInstance
@Instance boolean isInstance(java.lang.Object value)
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
int getParameterCount(java.lang.Object executable)
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
java.lang.Object[] getParameters(java.lang.Object value)
Returns the parameters of an executable.- Parameters:
value- The executable to introspect.- Returns:
- An array of the parameters of the supplied executable.
-
-