static class SerializableTypeWrapper.MethodParameterTypeProvider extends java.lang.Object implements SerializableTypeWrapper.TypeProvider
Modifier and Type | Field and Description |
---|---|
private java.lang.Class<?> |
declaringClass |
private java.lang.String |
methodName |
private MethodParameter |
methodParameter |
private int |
parameterIndex |
private java.lang.Class<?>[] |
parameterTypes |
Constructor and Description |
---|
MethodParameterTypeProvider(MethodParameter methodParameter) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getSource()
Return the source of the type or
null . |
java.lang.reflect.Type |
getType()
Return the (possibly non
Serializable ) Type . |
private void |
readObject(java.io.ObjectInputStream inputStream) |
private final java.lang.String methodName
private final java.lang.Class<?>[] parameterTypes
private final java.lang.Class<?> declaringClass
private final int parameterIndex
private transient MethodParameter methodParameter
public MethodParameterTypeProvider(MethodParameter methodParameter)
public java.lang.reflect.Type getType()
SerializableTypeWrapper.TypeProvider
Serializable
) Type
.getType
in interface SerializableTypeWrapper.TypeProvider
public java.lang.Object getSource()
SerializableTypeWrapper.TypeProvider
null
.getSource
in interface SerializableTypeWrapper.TypeProvider
private void readObject(java.io.ObjectInputStream inputStream) throws java.io.IOException, java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException