JBoss Reflection 2.2.1.SP1

org.jboss.reflect.plugins
Class GenericsUtil

java.lang.Object
  extended by 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

Constructor Summary
GenericsUtil()
           
 
Method Summary
protected static void appendTypeGenericInfo(Type type, StringBuilder sb, Set<String> doneVars)
           
static ClassLoader findClassLoader(Type type)
           
static String getGenericName(Type type)
          Create the name of the generic type
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericsUtil

public GenericsUtil()
Method Detail

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)

JBoss Reflection 2.2.1.SP1

Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.