Package aQute.bnd.classfile
Class ConstantPool.AbstractRefInfo
java.lang.Object
aQute.bnd.classfile.ConstantPool.AbstractRefInfo
- All Implemented Interfaces:
ConstantPool.Info
- Direct Known Subclasses:
ConstantPool.FieldrefInfo
,ConstantPool.InterfaceMethodrefInfo
,ConstantPool.MethodrefInfo
- Enclosing class:
- ConstantPool
public abstract static class ConstantPool.AbstractRefInfo
extends Object
implements ConstantPool.Info
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
AbstractRefInfo
(int class_index, int name_and_type_index) -
Method Summary
Modifier and TypeMethodDescription(package private) static <R extends ConstantPool.AbstractRefInfo>
Rread
(DataInput in, ConstantPool.AbstractRefInfo.Constructor<R> constructor) void
write
(DataOutput out) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface aQute.bnd.classfile.ConstantPool.Info
tag
-
Field Details
-
class_index
public final int class_index -
name_and_type_index
public final int name_and_type_index
-
-
Constructor Details
-
AbstractRefInfo
protected AbstractRefInfo(int class_index, int name_and_type_index)
-
-
Method Details
-
read
static <R extends ConstantPool.AbstractRefInfo> R read(DataInput in, ConstantPool.AbstractRefInfo.Constructor<R> constructor) throws IOException - Throws:
IOException
-
write
- Specified by:
write
in interfaceConstantPool.Info
- Throws:
IOException
-