|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectorg.oklab.compiler.nametable.content.Content
org.oklab.compiler.nametable.content.ContentFieldRef
class ContentFieldRef
フィールドの参照情報を保持する.
ContentMethodRef| フィールドの概要 | |
|---|---|
private int |
classIndex
フィールドのクラス名を格納したインデックス. |
protected int |
CONTENT_ID
バイトコードでの識別子. |
private int |
nameAndTypeIndex
フィールドの名前と型を格納したインデックス. |
| クラス org.oklab.compiler.nametable.content.Content から継承されたフィールド |
|---|
contentPoolIndex |
| コンストラクタの概要 | |
|---|---|
ContentFieldRef(int classIndex,
int nameAndTypeIndex)
フィールドの参照情報を生成する. |
|
| メソッドの概要 | |
|---|---|
(package private) void |
emitCode(java.io.DataOutputStream f)
クラスファイルへの出力. |
| クラス org.oklab.compiler.nametable.content.Content から継承されたメソッド |
|---|
getContentPoolIndex, setContentPoolIndex, toString |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| フィールドの詳細 |
|---|
protected int CONTENT_ID
private int classIndex
private int nameAndTypeIndex
| コンストラクタの詳細 |
|---|
ContentFieldRef(int classIndex,
int nameAndTypeIndex)
classIndex - フィールドのクラス名を格納したインデックス.nameAndTypeIndex - フィールドの名前と型を格納したインデックス.| メソッドの詳細 |
|---|
void emitCode(java.io.DataOutputStream f)
throws java.io.IOException
ContentMethodRefサブクラスでも
利用している.
Content 内の emitCodef - 出力クラスファイル.
java.io.IOException - 出力に失敗した時に発生する.ContentMethodRef
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||