public class TypeExtractorMethodReturn extends Object implements Iterable<Class<?>>
Method.
For example,
public class CustomerRepository {
public List<Customer> findCustomers( ... ) { ... }
}
will find both List and Customer.
| Constructor and Description |
|---|
TypeExtractorMethodReturn(Method method) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
add(Class<?> cls)
Adds to
list of classes, provided not Void. |
protected void |
addParameterizedTypes(Type... genericTypes) |
List<Class<?>> |
getClasses() |
protected Method |
getMethod()
The
Method provided in the constructor. |
Iterator<Class<?>> |
iterator() |
public TypeExtractorMethodReturn(Method method)
protected void addParameterizedTypes(Type... genericTypes)
protected void add(Class<?> cls)
list of classes, provided not Void.protected Method getMethod()
Method provided in the constructor.public List<Class<?>> getClasses()
Copyright © 2010–2014 The Apache Software Foundation. All rights reserved.