static class SerializableTypeWrapper.MethodInvokeTypeProvider extends java.lang.Object implements SerializableTypeWrapper.TypeProvider
SerializableTypeWrapper.TypeProvider
for Type
s obtained by invoking a no-arg method.Modifier and Type | Field and Description |
---|---|
private int |
index |
private java.lang.String |
methodName |
private SerializableTypeWrapper.TypeProvider |
provider |
private java.lang.Object |
result |
Constructor and Description |
---|
MethodInvokeTypeProvider(SerializableTypeWrapper.TypeProvider provider,
java.lang.reflect.Method method,
int index) |
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 SerializableTypeWrapper.TypeProvider provider
private final java.lang.String methodName
private final int index
private transient java.lang.Object result
public MethodInvokeTypeProvider(SerializableTypeWrapper.TypeProvider provider, java.lang.reflect.Method method, int index)
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