|
||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object jp.hishidama.jas.BytecodeBlock
public class BytecodeBlock
バイトコードブロック.
バイトコードのひとかたまりを保持するクラス。
Javassistを利用している。
コンストラクタの概要 | |
---|---|
BytecodeBlock(BytecodeBlocks group,
int pos)
コンストラクター. |
メソッドの概要 | |
---|---|
void |
createStatement(CodeAttribute ca,
int stack_pos)
ステートメント生成. |
int |
getPos()
開始位置取得. |
List<BytecodeStatement> |
getStatementList()
ステートメント取得. |
void |
setEnd(int end)
終了位置設定. |
クラス java.lang.Object から継承されたメソッド |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
public BytecodeBlock(BytecodeBlocks group, int pos)
group
- 属するメソッドpos
- ブロックの開始位置メソッドの詳細 |
---|
public int getPos()
public void setEnd(int end)
end
- ブロックの終了位置public void createStatement(CodeAttribute ca, int stack_pos) throws BadBytecode
ca
- コードアトリビュートstack_pos
- スタックの開始位置
BadBytecode
public List<BytecodeStatement> getStatementList()
|
||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |