@HashCodeAndEqualsPlugin.Enhance public static class ParameterDescription.ForLoadedParameter.Dispatcher.ForJava8CapableVm extends Object implements ParameterDescription.ForLoadedParameter.Dispatcher
java.lang.reflect.Parameter API for Java 8+.ParameterDescription.ForLoadedParameter.Dispatcher.CreationAction, ParameterDescription.ForLoadedParameter.Dispatcher.ForJava8CapableVm, ParameterDescription.ForLoadedParameter.Dispatcher.ForLegacyVm| Modifier | Constructor and Description | 
|---|---|
| protected  | ForJava8CapableVm(Method getParameters,
                 Method getName,
                 Method isNamePresent,
                 Method getModifiers)Creates a new dispatcher for a modern VM. | 
| Modifier and Type | Method and Description | 
|---|---|
| int | getModifiers(AccessibleObject executable,
            int index)Returns the given parameter's modifiers. | 
| String | getName(AccessibleObject executable,
       int index)Returns the given parameter's implicit or explicit name. | 
| boolean | isNamePresent(AccessibleObject executable,
             int index)Returns  trueif the given parameter has an explicit name. | 
protected ForJava8CapableVm(Method getParameters, Method getName, Method isNamePresent, Method getModifiers)
getParameters - A reference to java.lang.reflect.Executable#getTypeArguments.getName - A reference to java.lang.reflect.Parameter#getName.isNamePresent - A reference to java.lang.reflect.Parameter#isNamePresent.getModifiers - A reference to java.lang.reflect.Parameter#getModifiers.public int getModifiers(AccessibleObject executable, int index)
getModifiers in interface ParameterDescription.ForLoadedParameter.Dispatcherexecutable - The executable to introspect.index - The parameter's index.public boolean isNamePresent(AccessibleObject executable, int index)
true if the given parameter has an explicit name.isNamePresent in interface ParameterDescription.ForLoadedParameter.Dispatcherexecutable - The parameter to introspect.index - The parameter's index.true if the given parameter has an explicit name.public String getName(AccessibleObject executable, int index)
getName in interface ParameterDescription.ForLoadedParameter.Dispatcherexecutable - The parameter to introspect.index - The parameter's index.Copyright © 2014–2019. All rights reserved.