protected static interface ParameterDescription.ForLoadedParameter.Dispatcher
java.lang.reflect.Parameter instances.| Modifier and Type | Interface and Description | 
|---|---|
| static class  | ParameterDescription.ForLoadedParameter.Dispatcher.ForLegacyVmA dispatcher for a legacy VM that does not know the  java.lang.reflect.Parametertype that only throws
 exceptions on any property extraction. | 
| static class  | ParameterDescription.ForLoadedParameter.Dispatcher.ForModernVmA dispatcher for VMs that support the  java.lang.reflect.ParameterAPI for Java 8+. | 
| Modifier and Type | Method and Description | 
|---|---|
| List<Annotation> | getDeclaredAnnotations(Object parameter)Returns the given parameter's annotations. | 
| Object | getDeclaringExecutable(Object parameter)Returns the given parameter's declaring exectuable, i.e, method or constructor. | 
| int | getModifiers(Object parameter)Returns the given parameter's modifiers. | 
| String | getName(Object parameter)Returns the given parameter's implicit or explicit name. | 
| boolean | isNamePresent(Object parameter)Returns  trueif the given parameter has an explicit name. | 
int getModifiers(Object parameter)
parameter - The parameter to introspect.boolean isNamePresent(Object parameter)
true if the given parameter has an explicit name.parameter - The parameter to introspect.true if the given parameter has an explicit name.String getName(Object parameter)
parameter - The parameter to introspect.List<Annotation> getDeclaredAnnotations(Object parameter)
parameter - The parameter to introspect.Copyright © 2014–2015. All rights reserved.