org.camunda.bpm.cycle.util
Class ClassUtil
java.lang.Object
org.camunda.bpm.cycle.util.ClassUtil
public class ClassUtil
- extends Object
- Author:
- nico.rehwaldt
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClassUtil
public ClassUtil()
extractParameterizedType
public static Class<?> extractParameterizedType(Class<?> cls)
- Returns the parameterized type of a class, e.g. the
part of a generic class definition as a Class.
That inference is not possible except we do it at run-time:
http://blog.xebia.com/2009/02/07/acessing-generic-types-at-runtime-in-java/
- Parameters:
cls -
- Returns:
Copyright © 2014 camunda services GmbH. All rights reserved.