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

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

 class ContentClass
extends Content

クラス情報を保持する..

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

フィールドの概要
private  int classnameIndex
          コンテントプール内のクラス名文字列が入っている場所のindex.
 
クラス org.oklab.compiler.nametable.content.Content から継承されたフィールド
contentPoolIndex
 
コンストラクタの概要
ContentClass(int classnameIndex)
           
 
メソッドの概要
(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
 

フィールドの詳細

classnameIndex

private int classnameIndex
コンテントプール内のクラス名文字列が入っている場所のindex.

コンストラクタの詳細

ContentClass

ContentClass(int classnameIndex)
パラメータ:
classnameIndex - コンテントプール内のクラス名文字列が入っている場所のindex.
メソッドの詳細

emitCode

void emitCode(java.io.DataOutputStream f)
        throws java.io.IOException
クラスファイルへの出力.

定義:
クラス Content 内の emitCode
パラメータ:
f - 出力クラスファイル.
例外:
java.io.IOException - 出力に失敗した時に発生する.