Package org.openjdk.asmtools.jasm
Class ConstCell<V extends ConstValue>
java.lang.Object
org.openjdk.asmtools.jasm.Indexer
org.openjdk.asmtools.jasm.ConstCell<V>
- All Implemented Interfaces:
ConstantPoolDataVisitor
,DataWriter
ConstantCell is a type of data that can be in a constant pool.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate int
(package private) ConstantPool.ReferenceRank
(package private) V
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
equalsByValue
(Object obj) char
int
getFlag()
int
getType()
int
hashCode()
final boolean
isSet()
setFlag
(int flag) void
toString()
<T extends DataWriter>
Tvisit
(ConstantPool pool) void
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.openjdk.asmtools.jasm.ConstantPoolDataVisitor
visitConstCell, visitData
-
Field Details
-
ref
V extends ConstValue ref -
rank
-
flag
private int flag
-
-
Constructor Details
-
Method Details
-
getFlag
public int getFlag() -
setFlag
-
isSet
public final boolean isSet() -
getType
-
getAnnotationElementTypeValue
public char getAnnotationElementTypeValue() -
getLength
public int getLength()- Specified by:
getLength
in interfaceDataWriter
-
write
- Specified by:
write
in interfaceDataWriter
- Throws:
IOException
-
setRank
-
equals
-
equalsByValue
-
hashCode
public int hashCode() -
toString
-
visit
- Specified by:
visit
in interfaceConstantPoolDataVisitor
-