public class ClassDefiner extends Object
Modifier and Type | Field and Description |
---|---|
static boolean |
IS_IBM_SDK |
static boolean |
IS_JDK7 |
Constructor and Description |
---|
ClassDefiner() |
Modifier and Type | Method and Description |
---|---|
static Class<?> |
defineClass(String className,
Class<?> clazz,
byte[] bytes,
AviatorClassLoader classLoader) |
static Class<?> |
defineClassByClassLoader(String className,
byte[] bytes,
AviatorClassLoader classLoader) |
public static final boolean IS_JDK7
public static final boolean IS_IBM_SDK
public static final Class<?> defineClass(String className, Class<?> clazz, byte[] bytes, AviatorClassLoader classLoader) throws NoSuchFieldException, IllegalAccessException
public static Class<?> defineClassByClassLoader(String className, byte[] bytes, AviatorClassLoader classLoader)
Copyright © 2010–2021. All rights reserved.