org.oklab.compiler.nametable.content
クラス ContentMethodRef

java.lang.Object
  上位を拡張 org.oklab.compiler.nametable.content.Content
      上位を拡張 org.oklab.compiler.nametable.content.ContentFieldRef
          上位を拡張 org.oklab.compiler.nametable.content.ContentMethodRef

 class ContentMethodRef
extends ContentFieldRef

メソッドの参照情報を保持する. ContentFieldRefとの違いはバイトコードに出力するIDのみのため、ContentFieldRef クラスを継承して実装している.

導入されたバージョン:
1.0
バージョン:
1.0
作成者:
Satoshi Okita satoshiokita@gmail.com

フィールドの概要
 
クラス org.oklab.compiler.nametable.content.ContentFieldRef から継承されたフィールド
CONTENT_ID
 
クラス org.oklab.compiler.nametable.content.Content から継承されたフィールド
contentPoolIndex
 
コンストラクタの概要
ContentMethodRef(int classIndex, int nameAndTypeIndex)
          メソッドの参照情報を生成する.
 
メソッドの概要
 
クラス org.oklab.compiler.nametable.content.ContentFieldRef から継承されたメソッド
emitCode
 
クラス org.oklab.compiler.nametable.content.Content から継承されたメソッド
getContentPoolIndex, setContentPoolIndex, toString
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

コンストラクタの詳細

ContentMethodRef

ContentMethodRef(int classIndex,
                 int nameAndTypeIndex)
メソッドの参照情報を生成する.

パラメータ:
classIndex - メソッドのクラス名を格納したインデックス.
nameAndTypeIndex - メソッドの名前と型を格納したインデックス.