public class GenericClass<T>
extends java.lang.Object
Constructor and Description |
---|
GenericClass(java.lang.Class<T> type,
java.lang.Class<?> cls)
Create a generic of type T for the untyped class cls.
|
GenericClass(java.lang.Class<T> type,
InterceptorContext ic,
byte[] classData)
Create a GenericClass of the given type by modifying classData
with the given interceptors.
|
public GenericClass(java.lang.Class<T> type, InterceptorContext ic, byte[] classData)
public GenericClass(java.lang.Class<T> type, java.lang.Class<?> cls)
java.lang.IllegalArgumentException
- if cls is not a subclass of type.public T create(java.lang.Object... args)