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