public final class ClassSpec extends Object
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.
|
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 © 2017 JBoss by Red Hat. All rights reserved.