public final class ClassSpec
extends java.lang.Object
| Constructor | Description |
|---|---|
ClassSpec() |
Construct a new instance.
|
| Modifier and Type | Method | Description |
|---|---|---|
AssertionSetting |
getAssertionSetting() |
Get the class assertion setting.
|
java.nio.ByteBuffer |
getByteBuffer() |
Get the class byte buffer, if one is set.
|
byte[] |
getBytes() |
Get the class file bytes, if they are set.
|
java.security.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(java.nio.ByteBuffer byteBuffer) |
Set the class byte buffer.
|
ClassSpec |
setBytes(byte[] bytes) |
Set the class file bytes.
|
void |
setBytes$$bridge(byte[] bytes) |
|
ClassSpec |
setCodeSource(java.security.CodeSource codeSource) |
Set the code source (should not be
null). |
void |
setCodeSource$$bridge(java.security.CodeSource codeSource) |
public byte[] getBytes()
null otherwisepublic ClassSpec setBytes(byte[] bytes)
ByteBuffer.bytes - the class file bytespublic void setBytes$$bridge(byte[] bytes)
public java.nio.ByteBuffer getByteBuffer()
null otherwisepublic ClassSpec setByteBuffer(java.nio.ByteBuffer byteBuffer)
byte[].byteBuffer - the class byte bufferpublic java.security.CodeSource getCodeSource()
null).public ClassSpec setCodeSource(java.security.CodeSource codeSource)
null).codeSource - the code sourcepublic void setCodeSource$$bridge(java.security.CodeSource codeSource)
public AssertionSetting getAssertionSetting()
public ClassSpec setAssertionSetting(AssertionSetting assertionSetting)
assertionSetting - the assertion settingpublic void setAssertionSetting$$bridge(AssertionSetting assertionSetting)
Copyright © 2022 JBoss by Red Hat. All rights reserved.