public final class ClassSpec
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private AssertionSetting |
assertionSetting |
private byte[] |
bytes |
private java.security.CodeSource |
codeSource |
| Constructor and Description |
|---|
ClassSpec()
Construct a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
AssertionSetting |
getAssertionSetting()
Get the class assertion setting.
|
byte[] |
getBytes()
Get the class file bytes.
|
java.security.CodeSource |
getCodeSource()
Get the code source (should not be
null). |
void |
setAssertionSetting(AssertionSetting assertionSetting)
Set the class assertion setting.
|
void |
setBytes(byte[] bytes)
Set the class file bytes.
|
void |
setCodeSource(java.security.CodeSource codeSource)
Set the code source (should not be
null). |
private byte[] bytes
private java.security.CodeSource codeSource
private AssertionSetting assertionSetting
public byte[] getBytes()
public void setBytes(byte[] bytes)
bytes - the class file bytespublic java.security.CodeSource getCodeSource()
null).public void setCodeSource(java.security.CodeSource codeSource)
null).codeSource - the code sourcepublic AssertionSetting getAssertionSetting()
public void setAssertionSetting(AssertionSetting assertionSetting)
assertionSetting - the assertion setting