Package org.codehaus.janino.util
Class ClassFile.ConstantLongInfo
- java.lang.Object
-
- org.codehaus.janino.util.ClassFile.ConstantPoolInfo
-
- org.codehaus.janino.util.ClassFile.ConstantValuePoolInfo
-
- org.codehaus.janino.util.ClassFile.ConstantLongInfo
-
- Enclosing class:
- ClassFile
private static class ClassFile.ConstantLongInfo extends ClassFile.ConstantValuePoolInfo
See JVMS7 4.4.5.
-
-
Field Summary
Fields Modifier and Type Field Description private longvalue
-
Constructor Summary
Constructors Constructor Description ConstantLongInfo(long value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)java.lang.ObjectgetValue(ClassFile classFile)inthashCode()booleanisWide()voidstore(java.io.DataOutputStream dos)Stores this CP entry into aDataOutputStream.java.lang.StringtoString()
-
-
-
Method Detail
-
getValue
public java.lang.Object getValue(ClassFile classFile)
- Specified by:
getValuein classClassFile.ConstantValuePoolInfo- Returns:
- The value that this constant pool table entry represents; the actual type is
Double,Float,Integer,LongorString
-
isWide
public boolean isWide()
- Specified by:
isWidein classClassFile.ConstantPoolInfo- Returns:
- Whether this CP entry is "wide" in the sense of JVMS7 4.4.5
-
store
public void store(java.io.DataOutputStream dos) throws java.io.IOExceptionDescription copied from class:ClassFile.ConstantPoolInfoStores this CP entry into aDataOutputStream.See JVMS7 4.4.1 and following.
- Specified by:
storein classClassFile.ConstantPoolInfo- Throws:
java.io.IOException
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(@Nullable java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-