org.glassfish.pfl.dynamic.codegen.impl
Class CodeGeneratorUtil
java.lang.Object
org.glassfish.pfl.dynamic.codegen.impl.CodeGeneratorUtil
public class CodeGeneratorUtil
- extends Object
Class used to get a class directly from code generated by
a runtime code generator.
The code generator extends this base class, and must implement
the getClassData method.
Most of this is independent of BCEL, but finalizeMethod is
specific to the BCEL framework.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CONSTRUCTOR_METHOD_NAME
public static final String CONSTRUCTOR_METHOD_NAME
- See Also:
- Constant Field Values
STATIC_INITIALIZER_METHOD_NAME
public static final String STATIC_INITIALIZER_METHOD_NAME
- See Also:
- Constant Field Values
makeClass
public static Class<?> makeClass(String name,
byte[] def,
ProtectionDomain pd,
ClassLoader loader)
Copyright © 2013 Oracle. All Rights Reserved.