Package org.vesalainen.bcc
Class ConstantInfo
- java.lang.Object
-
- org.vesalainen.bcc.ConstantInfo
-
- All Implemented Interfaces:
Writable
- Direct Known Subclasses:
ConstantInfo.Clazz,ConstantInfo.ConstantDouble,ConstantInfo.ConstantFloat,ConstantInfo.ConstantInteger,ConstantInfo.ConstantLong,ConstantInfo.ConstantString,ConstantInfo.Filler,ConstantInfo.NameAndType,ConstantInfo.Ref,ConstantInfo.Utf8
public abstract class ConstantInfo extends java.lang.Object implements Writable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classConstantInfo.Clazzstatic classConstantInfo.ConstantDoublestatic classConstantInfo.ConstantFloatstatic classConstantInfo.ConstantIntegerstatic classConstantInfo.ConstantLongstatic classConstantInfo.ConstantStringstatic classConstantInfo.Fieldref(package private) static classConstantInfo.Fillerstatic classConstantInfo.InterfaceMethodrefstatic classConstantInfo.Methodrefstatic classConstantInfo.NameAndTypestatic classConstantInfo.Refstatic classConstantInfo.Utf8
-
Field Summary
Fields Modifier and Type Field Description static intCONSTANT_Classstatic intCONSTANT_Doublestatic intCONSTANT_Fieldrefstatic intCONSTANT_Floatstatic intCONSTANT_Integerstatic intCONSTANT_InterfaceMethodrefstatic intCONSTANT_Longstatic intCONSTANT_Methodrefstatic intCONSTANT_NameAndTypestatic intCONSTANT_Stringstatic intCONSTANT_Utf8private inttag
-
Constructor Summary
Constructors Constructor Description ConstantInfo(int tag)ConstantInfo(int tag, java.io.DataInput in)
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description intgetTag()protected abstract voidinitialize(java.io.DataInput in)static ConstantInforead(java.io.DataInput in)voidwrite(java.io.DataOutput out)
-
-
-
Field Detail
-
CONSTANT_Class
public static final int CONSTANT_Class
- See Also:
- Constant Field Values
-
CONSTANT_Fieldref
public static final int CONSTANT_Fieldref
- See Also:
- Constant Field Values
-
CONSTANT_Methodref
public static final int CONSTANT_Methodref
- See Also:
- Constant Field Values
-
CONSTANT_InterfaceMethodref
public static final int CONSTANT_InterfaceMethodref
- See Also:
- Constant Field Values
-
CONSTANT_String
public static final int CONSTANT_String
- See Also:
- Constant Field Values
-
CONSTANT_Integer
public static final int CONSTANT_Integer
- See Also:
- Constant Field Values
-
CONSTANT_Float
public static final int CONSTANT_Float
- See Also:
- Constant Field Values
-
CONSTANT_Long
public static final int CONSTANT_Long
- See Also:
- Constant Field Values
-
CONSTANT_Double
public static final int CONSTANT_Double
- See Also:
- Constant Field Values
-
CONSTANT_NameAndType
public static final int CONSTANT_NameAndType
- See Also:
- Constant Field Values
-
CONSTANT_Utf8
public static final int CONSTANT_Utf8
- See Also:
- Constant Field Values
-
tag
private int tag
-
-
Method Detail
-
read
public static ConstantInfo read(java.io.DataInput in) throws java.io.IOException
- Throws:
java.io.IOException
-
initialize
protected abstract void initialize(java.io.DataInput in) throws java.io.IOException- Throws:
java.io.IOException
-
write
public void write(java.io.DataOutput out) throws java.io.IOException
-
getTag
public int getTag()
-
-