public class JavassistTypeInfoFactory extends Object implements TypeInfoFactory
This avoids recalculating things everytime a factory is constructed inside the same classloader
| Modifier and Type | Field and Description |
|---|---|
protected static JavassistTypeInfoFactoryImpl |
delegate
The delegate
|
| Constructor and Description |
|---|
JavassistTypeInfoFactory() |
| Modifier and Type | Method and Description |
|---|---|
TypeInfo |
getTypeInfo(Class<?> clazz)
Get a type info
|
TypeInfo |
getTypeInfo(String name,
ClassLoader cl)
Get a type info
|
TypeInfo |
getTypeInfo(Type type)
Get a type info
|
protected static JavassistTypeInfoFactoryImpl delegate
public TypeInfo getTypeInfo(Class<?> clazz)
TypeInfoFactorygetTypeInfo in interface TypeInfoFactoryclazz - the classpublic TypeInfo getTypeInfo(String name, ClassLoader cl) throws ClassNotFoundException
TypeInfoFactorygetTypeInfo in interface TypeInfoFactoryname - the class namecl - the classloaderClassNotFoundException - when there is no such classpublic TypeInfo getTypeInfo(Type type)
TypeInfoFactorygetTypeInfo in interface TypeInfoFactorytype - the typeCopyright © 2013 JBoss, a division of Red Hat, Inc.. All rights reserved.