Interface DefineClassReflectionProxy
public interface DefineClassReflectionProxy
-
Method Summary
Modifier and TypeMethodDescriptionstatic DefineClassReflectionProxyClass<?>defineClass(MethodHandles.Lookup lookup, byte[] bytes) Class<?>defineClass(Object loader, byte[] b, int off, int len) Class<?>defineClass(Object loader, String name, byte[] b, int off, int len) Class<?>defineClass(Object secureLoader, String name, byte[] b, int off, int len, CodeSource cs) Class<?>defineClass(Object loader, String name, byte[] b, int off, int len, ProtectionDomain protectionDomain) Class<?>defineClass(Object secureLoader, String name, ByteBuffer b, CodeSource cs) Class<?>defineClass(Object loader, String name, ByteBuffer b, ProtectionDomain protectionDomain)
-
Method Details
-
defineClass
- Throws:
ClassFormatError
-
defineClass
Class<?> defineClass(Object loader, String name, byte[] b, int off, int len) throws ClassFormatError - Throws:
ClassFormatError
-
defineClass
Class<?> defineClass(Object loader, String name, byte[] b, int off, int len, ProtectionDomain protectionDomain) throws ClassFormatError - Throws:
ClassFormatError
-
defineClass
Class<?> defineClass(Object loader, String name, ByteBuffer b, ProtectionDomain protectionDomain) throws ClassFormatError - Throws:
ClassFormatError
-
defineClass
-
defineClass
-
defineClass
- Throws:
IllegalAccessException
-
create
-