org.jboss.reflect.plugins
Class GenericsUtil
java.lang.Object
org.jboss.reflect.plugins.GenericsUtil
public class GenericsUtil
- extends Object
Common methods needed by both the javassist and introspection implementations
for figuring out generics.
- Version:
- $Revision: 1.1 $
- Author:
- Kabir Khan
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GenericsUtil
public GenericsUtil()
getGenericName
public static String getGenericName(Type type)
- Create the name of the generic type
- Parameters:
type
- the generic type
- Returns:
- the name
appendTypeGenericInfo
protected static void appendTypeGenericInfo(Type type,
StringBuilder sb,
Set<String> doneVars)
findClassLoader
public static ClassLoader findClassLoader(Type type)
Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.