Class GenericsUtils
java.lang.Object
com.logicaldoc.webservice.doc.util.GenericsUtils
Get a variable's java type, or a collection's generic type
For Example,
"String a" => String.class, and "List<Integer> b" => Integer.class
For Example,
"String a" => String.class, and "List<Integer> b" => Integer.class
- 
Method SummaryModifier and TypeMethodDescriptionstatic Class<?> getFieldGenericType(Field field) static StringgetMethodGenericParameterName(Method method, int paramIndex) static Class<?> getMethodGenericParameterTypes(Method method, int paramIndex) static Class<?> getMethodGenericReturnType(Method method) 
- 
Method Details- 
getFieldGenericType
- 
getMethodGenericReturnType
- 
getMethodGenericParameterTypes
- 
getMethodGenericParameterName
 
-