public final class ClassSpec extends Object
Constructor | Description |
---|---|
ClassSpec() |
Construct a new instance.
|
Modifier and Type | Method | Description |
---|---|---|
AssertionSetting |
getAssertionSetting() |
Get the class assertion setting.
|
byte[] |
getBytes() |
Get the class file bytes.
|
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(CodeSource codeSource) |
Set the code source (should not be
null ). |
public byte[] getBytes()
public void setBytes(byte[] bytes)
bytes
- the class file bytespublic CodeSource getCodeSource()
null
).public void setCodeSource(CodeSource codeSource)
null
).codeSource
- the code sourcepublic AssertionSetting getAssertionSetting()
public void setAssertionSetting(AssertionSetting assertionSetting)
assertionSetting
- the assertion settingCopyright © 2022 JBoss by Red Hat. All rights reserved.