public class GenericUtils extends Object
| Constructor and Description |
|---|
GenericUtils() |
| Modifier and Type | Method and Description |
|---|---|
static Class |
findFieldType(Field field,
Class concreteClass)
Tries to discover type of given field
If the field ha a concrete type then there is nothing to do and it's type is returned.
|
public static Class findFieldType(Field field, Class concreteClass)
field - fieldconcreteClass - concrete class that either declares the field or is a subclass of such classCopyright © 2018 Neo Technology, Inc.. All rights reserved.