|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.modules.ClassSpec
public final class ClassSpec
A class definition specification.
Constructor Summary | |
---|---|
ClassSpec()
Construct a new instance. |
Method Summary | |
---|---|
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 ). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClassSpec()
Method Detail |
---|
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 setting
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |