public static class GenericTypeDescription.LazyProjection.OfLoadedParameter.Dispatcher.ForModernVm extends Object implements GenericTypeDescription.LazyProjection.OfLoadedParameter.Dispatcher
java.lang.reflect.Parameter
API for Java 8+.GenericTypeDescription.LazyProjection.OfLoadedParameter.Dispatcher.ForLegacyVm, GenericTypeDescription.LazyProjection.OfLoadedParameter.Dispatcher.ForModernVm
Modifier | Constructor and Description |
---|---|
protected |
ForModernVm(Method getType,
Method getParameterizedType)
Creates a new dispatcher.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
Type |
getParameterizedType(Object parameter)
Returns a parameter's parameterized type.
|
Class<?> |
getType(Object parameter)
Returns the parameter's type.
|
int |
hashCode() |
String |
toString() |
public Type getParameterizedType(Object parameter)
GenericTypeDescription.LazyProjection.OfLoadedParameter.Dispatcher
getParameterizedType
in interface GenericTypeDescription.LazyProjection.OfLoadedParameter.Dispatcher
parameter
- The parameter to extract the paramaterized type of.public Class<?> getType(Object parameter)
GenericTypeDescription.LazyProjection.OfLoadedParameter.Dispatcher
getType
in interface GenericTypeDescription.LazyProjection.OfLoadedParameter.Dispatcher
parameter
- The parameter to extract the non-generic type of.Copyright © 2014–2015. All rights reserved.