Package org.openjdk.asmtools.jasm
Class ConstantPool.ConstValue_Pair<L extends ConstValue,R extends ConstValue>
java.lang.Object
org.openjdk.asmtools.jasm.ConstValue<Pair<ConstCell<L>,ConstCell<R>>>
org.openjdk.asmtools.jasm.ConstantPool.ConstValue_Pair<L,R>
- Direct Known Subclasses:
ConstantPool.ConstValue_FieldRef
,ConstantPool.ConstValue_InterfaceMethodRef
,ConstantPool.ConstValue_MethodRef
,ConstantPool.ConstValue_NameAndType
- Enclosing class:
- ConstantPool
public static class ConstantPool.ConstValue_Pair<L extends ConstValue,R extends ConstValue>
extends ConstValue<Pair<ConstCell<L>,ConstCell<R>>>
ConstValue_Pair represents CONSTANT_NameAndType(12), CONSTANT_Fieldref(9), CONSTANT_Methodref(10), and
CONSTANT_InterfaceMethodref(11) structures
-
Field Summary
Fields inherited from class org.openjdk.asmtools.jasm.ConstValue
tag, value
-
Constructor Summary
ConstructorsConstructorDescriptionConstValue_Pair
(ClassFileConst.ConstType tag, Pair<ConstCell<L>, ConstCell<R>> pair) ConstValue_Pair
(ClassFileConst.ConstType tag, ConstCell<L> left, ConstCell<R> right) -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
equalsByValue
(Object obj) boolean
isSet()
toString()
void
Methods inherited from class org.openjdk.asmtools.jasm.ConstValue
asString, hashCode, setValue, size
-
Constructor Details
-
ConstValue_Pair
-
ConstValue_Pair
-
-
Method Details
-
isSet
public boolean isSet()- Overrides:
isSet
in classConstValue<Pair<ConstCell<L extends ConstValue>,
ConstCell<R extends ConstValue>>>
-
equals
- Overrides:
equals
in classConstValue<Pair<ConstCell<L extends ConstValue>,
ConstCell<R extends ConstValue>>>
-
equalsByValue
- Overrides:
equalsByValue
in classConstValue<Pair<ConstCell<L extends ConstValue>,
ConstCell<R extends ConstValue>>>
-
toString
- Overrides:
toString
in classConstValue<Pair<ConstCell<L extends ConstValue>,
ConstCell<R extends ConstValue>>>
-
write
- Overrides:
write
in classConstValue<Pair<ConstCell<L extends ConstValue>,
ConstCell<R extends ConstValue>>> - Throws:
IOException
-