com.jeffpalm.basic.bytecode.base
Class CONSTANT_Utf8_info
java.lang.Object
com.jeffpalm.basic.bytecode.base.Info
com.jeffpalm.basic.bytecode.base.CONSTANT_info
com.jeffpalm.basic.bytecode.base.CONSTANT_Utf8_info
- All Implemented Interfaces:
- ConstantFlags, ICodeGenerator, ICONSTANT_info, ICONSTANT_Utf8_info, IInfo
public final class CONSTANT_Utf8_info
- extends CONSTANT_info
- implements ICONSTANT_Utf8_info
Fields inherited from interface com.jeffpalm.basic.bytecode.base.ConstantFlags |
CONSTANT_Class, CONSTANT_Double, CONSTANT_Fieldref, CONSTANT_Float, CONSTANT_Integer, CONSTANT_InterfaceMethodref, CONSTANT_Long, CONSTANT_Methodref, CONSTANT_NameAndType, CONSTANT_String, CONSTANT_Utf8 |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
length
public final u2 length
bytes
public final u1[] bytes
CONSTANT_Utf8_info
public CONSTANT_Utf8_info(u2 length,
u1[] bytes)
newInstance
public static CONSTANT_Utf8_info newInstance(java.lang.String str)
getTag
public byte getTag()
- Specified by:
getTag
in class CONSTANT_info
getString
protected java.lang.String getString()
- Specified by:
getString
in class CONSTANT_info
asString
public java.lang.String asString()
- Specified by:
asString
in interface ICONSTANT_Utf8_info
stringRep
public java.lang.String stringRep()
length
public Iu2 length()
- Specified by:
length
in interface ICONSTANT_Utf8_info
bytes
public Iu1[] bytes()
- Specified by:
bytes
in interface ICONSTANT_Utf8_info
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
genRest
protected void genRest(ICodeStream code)
throws java.io.IOException
- Specified by:
genRest
in class CONSTANT_info
- Throws:
java.io.IOException