org.camunda.bpm.cycle.util
Class ClassUtil

java.lang.Object
  extended by org.camunda.bpm.cycle.util.ClassUtil

public class ClassUtil
extends Object

Author:
nico.rehwaldt

Constructor Summary
ClassUtil()
           
 
Method Summary
static Class<?> extractParameterizedType(Class<?> cls)
          Returns the parameterized type of a class, e.g.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassUtil

public ClassUtil()
Method Detail

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.