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 TypeMethodDescriptionbooleanbooleanequalsByValue(Object obj) charintgetFlag()intgetType()inthashCode()final booleanisSet()setFlag(int flag) voidtoString()<T extends DataWriter>
Tvisit(ConstantPool pool) voidMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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:
getLengthin interfaceDataWriter
-
write
- Specified by:
writein interfaceDataWriter- Throws:
IOException
-
setRank
-
equals
-
equalsByValue
-
hashCode
public int hashCode() -
toString
-
visit
- Specified by:
visitin interfaceConstantPoolDataVisitor
-