Package org.openjdk.asmtools.jasm
Class ConstantPool.ConstCell
- java.lang.Object
-
- org.openjdk.asmtools.jasm.Argument
-
- org.openjdk.asmtools.jasm.ConstantPool.ConstCell
-
- All Implemented Interfaces:
Data
- Enclosing class:
- ConstantPool
public static class ConstantPool.ConstCell extends Argument implements Data
ConstantCell ConstantCell is a type of data that can be in a constant pool.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) ConstantPool.ReferenceRank
rank
(package private) ConstantPool.ConstValue
ref
-
Constructor Summary
Constructors Constructor Description ConstCell(int arg)
ConstCell(int arg, ConstantPool.ConstValue ref)
ConstCell(ConstantPool.ConstValue ref)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
Compares this object to the specified object.int
getLength()
int
hashCode()
boolean
isUnset()
void
setRank(ConstantPool.ReferenceRank rank)
java.lang.String
toString()
void
write(CheckedDataOutputStream out)
-
-
-
Field Detail
-
ref
ConstantPool.ConstValue ref
-
rank
ConstantPool.ReferenceRank rank
-
-
Constructor Detail
-
ConstCell
ConstCell(int arg, ConstantPool.ConstValue ref)
-
ConstCell
ConstCell(ConstantPool.ConstValue ref)
-
ConstCell
ConstCell(int arg)
-
-
Method Detail
-
write
public void write(CheckedDataOutputStream out) throws java.io.IOException
-
setRank
public void setRank(ConstantPool.ReferenceRank rank)
-
equals
public boolean equals(java.lang.Object obj)
Description copied from class:Argument
Compares this object to the specified object.
-
isUnset
public boolean isUnset()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-