| Modifier and Type | Field and Description |
|---|---|
| private static final RuntimePermission | |
| private static final ClassDefiner |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public Class | Returns: the defined class (notnull)the existing class (must not be originalClass, String null)the new class name (must not be className, ByteBuffer null)the new class bytes (must not be classBytes)null)Define a class using the module and protection domain of an existing class. |
| public Class | Returns: the defined class (notnull)the existing class (must not be originalClass, String null)the new class name (must not be className, byte[] null)the new class bytes (must not be classBytes, int null)the offset into the off, int classBytes arraythe number of bytes to use from the len)classBytes arrayDefine a class using the module and protection domain of an existing class. |
| public Class | Returns: the defined class (notnull)the existing class (must not be originalClass, String null)the new class name (must not be className, byte[] null)the new class bytes (must not be classBytes)null)Define a class using the module and protection domain of an existing class. |
| public Class | Returns: the defined class (notnull)the existing class (must not be originalClass, String null)the new class name (must not be className, ProtectionDomain null)the protection domain of the new class (must not be protectionDomain, ByteBuffer null)the new class bytes (must not be classBytes)null)Define a class using the module of an existing class. |
| public Class | Returns: the defined class (notnull)the existing class (must not be originalClass, String null)the new class name (must not be className, ProtectionDomain null)the protection domain of the new class (must not be protectionDomain, byte[] null)the new class bytes (must not be classBytes, int null)the offset into the off, int classBytes arraythe number of bytes to use from the len)classBytes arrayDefine a class using the module of an existing class. |
| public Class | Returns: the defined class (notnull)the existing class (must not be originalClass, String null)the new class name (must not be className, ProtectionDomain null)the protection domain of the new class (must not be protectionDomain, byte[] null)the new class bytes (must not be classBytes)null)Define a class using the module of an existing class. |
| public Class | Returns: the defined class (notnull)the module to define the class to (must not be module, String null)the new class name (must not be className, ProtectionDomain null)the protection domain of the new class (must not be protectionDomain, ByteBuffer null)the new class bytes (must not be classBytes)null)Define a class. |
| public Class | Returns: the defined class (notnull)the module to define the class to (must not be module, String null)the new class name (must not be className, ProtectionDomain null)the protection domain of the new class (must not be protectionDomain, byte[] null)the new class bytes (must not be classBytes, int null)the offset into the off, int classBytes arraythe number of bytes to use from the len)classBytes arrayDefine a class. |
| public Class | Returns: the defined class (notnull)the module to define the class to (must not be module, String null)the new class name (must not be className, ProtectionDomain null)the protection domain of the new class (must not be protectionDomain, byte[] null)the new class bytes (must not be classBytes)null)Define a class. |
| public static ClassDefiner | Returns: the singleton class definer instance (notnull)Get the class definer instance. |
| private ProtectionDomain |
| createClassLoaderPermission | back to summary |
|---|---|
| private static final RuntimePermission createClassLoaderPermission | |
| instance | back to summary |
|---|---|
| private static final ClassDefiner instance | |
| ClassDefiner | back to summary |
|---|---|
| private ClassDefiner() | |
| defineClass | back to summary |
|---|---|
| public Class Define a class using the module and protection domain of an existing class.
| |
| defineClass | back to summary |
|---|---|
| public Class Define a class using the module and protection domain of an existing class.
| |
| defineClass | back to summary |
|---|---|
| public Class Define a class using the module and protection domain of an existing class. | |
| defineClass | back to summary |
|---|---|
| public Class Define a class using the module of an existing class.
| |
| defineClass | back to summary |
|---|---|
| public Class Define a class using the module of an existing class.
| |
| defineClass | back to summary |
|---|---|
| public Class Define a class using the module of an existing class.
| |
| defineClass | back to summary |
|---|---|
| public Class Define a class.
| |
| defineClass | back to summary |
|---|---|
| public Class Define a class.
| |
| defineClass | back to summary |
|---|---|
| public Class Define a class.
| |
| getInstance | back to summary |
|---|---|
| public static ClassDefiner getInstance() Get the class definer instance. The caller must have the
| |
| getProtectionDomain | back to summary |
|---|---|
| private ProtectionDomain getProtectionDomain(final Class<?> clazz) | |