anvil.codec
Class RefInfo
java.lang.Object
|
+--anvil.codec.Info
|
+--anvil.codec.RefInfo
- All Implemented Interfaces:
- CodecConstants
- Direct Known Subclasses:
- FieldRefInfo, MethodRefInfo
- public abstract class RefInfo
- extends Info
| Fields inherited from class anvil.codec.Info |
_index |
| Fields inherited from interface anvil.codec.CodecConstants |
ACC_ABSTRACT, ACC_FINAL, ACC_INTERFACE, ACC_NATIVE, ACC_PRIVATE, ACC_PROTECTED, ACC_PUBLIC, ACC_STATIC, ACC_STRICT, ACC_SUPER, ACC_SYNCHRONIZED, ACC_TRANSIENT, ACC_VOLATILE, ATTR_Code, ATTR_ConstantValue, ATTR_Deprecated, ATTR_Exceptions, ATTR_InnerClasses, ATTR_LineNumberTable, ATTR_LocalVariableTable, ATTR_SourceFile, ATTR_Synthetic, CLASS_MAGIC, CONSTANT_Class, CONSTANT_Double, CONSTANT_FieldRef, CONSTANT_Float, CONSTANT_Integer, CONSTANT_InterfaceMethodRef, CONSTANT_Long, CONSTANT_MethodRef, CONSTANT_NameAndType, CONSTANT_SourceFile, CONSTANT_String, CONSTANT_Utf8, MAJOR_VERSION, MINOR_VERSION, T_BOOLEAN, T_BYTE, T_CHAR, T_DOUBLE, T_FLOAT, T_INT, T_LONG, T_SHORT |
|
Constructor Summary |
RefInfo(ConstantPool pool,
int classindex,
int nametype)
|
RefInfo(ConstantPool pool,
int classindex,
int name,
int type)
|
RefInfo(ConstantPool pool,
int classindex,
java.lang.String name,
java.lang.String type)
|
RefInfo(ConstantPool pool,
java.lang.String classname,
java.lang.String name,
java.lang.String type)
|
|
Method Summary |
boolean |
equals(java.lang.Object obj)
|
int |
hashCode()
|
java.lang.String |
toString()
|
void |
write(java.io.DataOutputStream output)
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
_pool
protected ConstantPool _pool
_class
protected int _class
_nametype
protected int _nametype
RefInfo
public RefInfo(ConstantPool pool,
java.lang.String classname,
java.lang.String name,
java.lang.String type)
RefInfo
public RefInfo(ConstantPool pool,
int classindex,
java.lang.String name,
java.lang.String type)
RefInfo
public RefInfo(ConstantPool pool,
int classindex,
int name,
int type)
RefInfo
public RefInfo(ConstantPool pool,
int classindex,
int nametype)
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
write
public void write(java.io.DataOutputStream output)
throws java.io.IOException
- Specified by:
write in class Info
java.io.IOException