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.
|
ByteBuffer |
getByteBuffer()
Get the class byte buffer, if one is set.
|
byte[] |
getBytes()
Get the class file bytes, if they are set.
|
CodeSource |
getCodeSource()
Get the code source (should not be
null ). |
ClassSpec |
setAssertionSetting(AssertionSetting assertionSetting)
Set the class assertion setting.
|
void |
setAssertionSetting$$bridge(AssertionSetting assertionSetting) |
ClassSpec |
setByteBuffer(ByteBuffer byteBuffer)
Set the class byte buffer.
|
ClassSpec |
setBytes(byte[] bytes)
Set the class file bytes.
|
void |
setBytes$$bridge(byte[] bytes) |
ClassSpec |
setCodeSource(CodeSource codeSource)
Set the code source (should not be
null ). |
void |
setCodeSource$$bridge(CodeSource codeSource) |
public byte[] getBytes()
null
otherwisepublic ClassSpec setBytes(byte[] bytes)
ByteBuffer
.bytes
- the class file bytespublic void setBytes$$bridge(byte[] bytes)
public ByteBuffer getByteBuffer()
null
otherwisepublic ClassSpec setByteBuffer(ByteBuffer byteBuffer)
byte[]
.byteBuffer
- the class byte bufferpublic CodeSource getCodeSource()
null
).public ClassSpec setCodeSource(CodeSource codeSource)
null
).codeSource
- the code sourcepublic void setCodeSource$$bridge(CodeSource codeSource)
public AssertionSetting getAssertionSetting()
public ClassSpec setAssertionSetting(AssertionSetting assertionSetting)
assertionSetting
- the assertion settingpublic void setAssertionSetting$$bridge(AssertionSetting assertionSetting)
Copyright © 2023 JBoss by Red Hat. All rights reserved.