All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class NET.shudo.moba.io.ClassWriter

java.lang.Object
   |
   +----java.io.OutputStream
           |
           +----java.io.FilterOutputStream
                   |
                   +----java.io.DataOutputStream
                           |
                           +----NET.shudo.moba.io.ClassWriter

public final class ClassWriter
extends DataOutputStream
Class externalizer。
VM 内部のクラス情報をクラスファイルのフォーマットで出力する。


Constructor Index

 o ClassWriter()
 o ClassWriter(OutputStream)

Method Index

 o catchFrameEndPC(MetaMethod, int)
 o catchFrameExceptionIndexInCP(MetaMethod, int)
 o catchFrameHandlerPC(MetaMethod, int)
 o catchFrameLength(MetaMethod)
 o catchFrameStartPC(MetaMethod, int)
 o classfileLength(Class)
ClassWriter で生成されるクラスファイルの長さを返す。
 o codeLength(MetaMethod)
 o lineNoTableLength(MetaMethod)
 o lineNoTableLineNo(MetaMethod, int)
 o lineNoTablePC(MetaMethod, int)
 o localVarTableLength(MetaMethod)
 o localVarTableLife(MetaMethod, int)
 o localVarTableNameIndex(MetaMethod, int)
 o localVarTablePC(MetaMethod, int)
 o localVarTableSigIndex(MetaMethod, int)
 o localVarTableSlot(MetaMethod, int)
 o maxLocals(MetaMethod)
 o maxStack(MetaMethod)
 o sourceName(Class)
ソースファイル名を返す。
 o thrownExceptionIndexInCP(MetaMethod, int)
 o thrownExceptionLength(MetaMethod)
 o writeClass(Class)
 o writeCode(MetaMethod, OutputStream)

Constructors

 o ClassWriter
 public ClassWriter(OutputStream out)
 o ClassWriter
 public ClassWriter()

Methods

 o writeClass
 public void writeClass(Class clazz) throws IOException
 o sourceName
 public static native String sourceName(Class clazz)
ソースファイル名を返す。

 o classfileLength
 public long classfileLength(Class clazz)
ClassWriter で生成されるクラスファイルの長さを返す。

 o maxStack
 public static native int maxStack(MetaMethod mm)
 o maxLocals
 public static native int maxLocals(MetaMethod mm)
 o codeLength
 public static native long codeLength(MetaMethod mm)
 o catchFrameLength
 public static native int catchFrameLength(MetaMethod mm)
 o catchFrameStartPC
 public static native int catchFrameStartPC(MetaMethod mm,
                                            int CFIndex)
 o catchFrameEndPC
 public static native int catchFrameEndPC(MetaMethod mm,
                                          int CFIndex)
 o catchFrameHandlerPC
 public static native int catchFrameHandlerPC(MetaMethod mm,
                                              int CFIndex)
 o catchFrameExceptionIndexInCP
 public static native int catchFrameExceptionIndexInCP(MetaMethod mm,
                                                       int CFIndex)
 o lineNoTableLength
 public static native int lineNoTableLength(MetaMethod mm)
 o lineNoTablePC
 public static native int lineNoTablePC(MetaMethod mm,
                                        int index)
 o lineNoTableLineNo
 public static native int lineNoTableLineNo(MetaMethod mm,
                                            int index)
 o localVarTableLength
 public static native int localVarTableLength(MetaMethod mm)
 o localVarTablePC
 public static native int localVarTablePC(MetaMethod mm,
                                          int index)
 o localVarTableLife
 public static native int localVarTableLife(MetaMethod mm,
                                            int index)
 o localVarTableNameIndex
 public static native int localVarTableNameIndex(MetaMethod mm,
                                                 int index)
 o localVarTableSigIndex
 public static native int localVarTableSigIndex(MetaMethod mm,
                                                int index)
 o localVarTableSlot
 public static native int localVarTableSlot(MetaMethod mm,
                                            int index)
 o thrownExceptionLength
 public static native int thrownExceptionLength(MetaMethod mm)
 o thrownExceptionIndexInCP
 public static native int thrownExceptionIndexInCP(MetaMethod mm,
                                                   int index)
 o writeCode
 public static native void writeCode(MetaMethod mm,
                                     OutputStream out)

All Packages  Class Hierarchy  This Package  Previous  Next  Index