All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class NET.shudo.moba.reflect.ConstantPool

java.lang.Object
   |
   +----NET.shudo.moba.reflect.ConstantPool

public abstract class ConstantPool
extends Object

Variable Index

 o CONSTANT_Class
 o CONSTANT_Double
 o CONSTANT_Fieldref
 o CONSTANT_Float
 o CONSTANT_Integer
 o CONSTANT_InterfaceMethodref
 o CONSTANT_Long
 o CONSTANT_Methodref
 o CONSTANT_NameAndType
 o CONSTANT_String
 o CONSTANT_Unicode
 o CONSTANT_UNKNOWN
 o CONSTANT_Utf8

Constructor Index

 o ConstantPool()

Method Index

 o booleanIndex(Class, boolean)
 o classIndex(Class, Class)
 o classnames(Class)
constant pool 中に在るクラス名を列挙する。
 o classnamesInSignature(String)
signature 中からクラス名を抜き出す。
 o count(Class)
 o doubleIndex(Class, double)
 o floatIndex(Class, float)
 o getClassValue(Class, int)
 o getDoubleValue(Class, int)
 o getFloatValue(Class, int)
 o getIntValue(Class, int)
 o getLongValue(Class, int)
 o getStringValue(Class, int)
 o getUtf8Value(Class, int)
 o intIndex(Class, int)
 o lengthInClassfile(Class)
classfile 中に constant pool が占めるバイト数を得る。
 o longIndex(Class, long)
 o stringIndex(Class, String)
 o type(Class, int)
 o utf8Index(Class, String)
 o writeInClassfile(OutputStream, Class)
classfile のフォーマットで constant pool を出力する。

Variables

 o CONSTANT_UNKNOWN
 public static final int CONSTANT_UNKNOWN
 o CONSTANT_Utf8
 public static final int CONSTANT_Utf8
 o CONSTANT_Unicode
 public static final int CONSTANT_Unicode
 o CONSTANT_Integer
 public static final int CONSTANT_Integer
 o CONSTANT_Float
 public static final int CONSTANT_Float
 o CONSTANT_Long
 public static final int CONSTANT_Long
 o CONSTANT_Double
 public static final int CONSTANT_Double
 o CONSTANT_Class
 public static final int CONSTANT_Class
 o CONSTANT_String
 public static final int CONSTANT_String
 o CONSTANT_Fieldref
 public static final int CONSTANT_Fieldref
 o CONSTANT_Methodref
 public static final int CONSTANT_Methodref
 o CONSTANT_InterfaceMethodref
 public static final int CONSTANT_InterfaceMethodref
 o CONSTANT_NameAndType
 public static final int CONSTANT_NameAndType

Constructors

 o ConstantPool
 public ConstantPool()

Methods

 o count
 public static native int count(Class clazz)
 o type
 public static native int type(Class clazz,
                               int index)
 o getUtf8Value
 protected static native String getUtf8Value(Class clazz,
                                             int index)
 o getIntValue
 protected static native int getIntValue(Class clazz,
                                         int index)
 o getFloatValue
 protected static native float getFloatValue(Class clazz,
                                             int index)
 o getLongValue
 protected static native long getLongValue(Class clazz,
                                           int index)
 o getDoubleValue
 protected static native double getDoubleValue(Class clazz,
                                               int index)
 o getClassValue
 protected static native Class getClassValue(Class clazz,
                                             int index)
 o getStringValue
 protected static native String getStringValue(Class clazz,
                                               int index)
 o intIndex
 public static native int intIndex(Class clazz,
                                   int value)
 o floatIndex
 public static native int floatIndex(Class clazz,
                                     float value)
 o longIndex
 public static native int longIndex(Class clazz,
                                    long value)
 o doubleIndex
 public static native int doubleIndex(Class clazz,
                                      double value)
 o booleanIndex
 public static native int booleanIndex(Class clazz,
                                       boolean value)
 o utf8Index
 public static native int utf8Index(Class clazz,
                                    String utf8)
 o stringIndex
 public static native int stringIndex(Class clazz,
                                      String str)
 o classIndex
 public static native int classIndex(Class clazz,
                                     Class target)
 o writeInClassfile
 public static native void writeInClassfile(OutputStream out,
                                            Class clazz) throws IOException
classfile のフォーマットで constant pool を出力する。

 o lengthInClassfile
 public static native long lengthInClassfile(Class clazz)
classfile 中に constant pool が占めるバイト数を得る。

 o classnames
 protected static String[] classnames(Class clazz)
constant pool 中に在るクラス名を列挙する。

 o classnamesInSignature
 protected static String[] classnamesInSignature(String sig)
signature 中からクラス名を抜き出す。


All Packages  Class Hierarchy  This Package  Previous  Next  Index