junc.types
Class DoubleType
java.lang.Object
|
+--junc.types.JUnCBaseType
|
+--junc.types.PrimitiveType
|
+--junc.types.FloatingPointType
|
+--junc.types.DoubleType
- public class DoubleType
- extends FloatingPointType
Fields inherited from class junc.types.JUnCBaseType |
Boolean, BooleanRep, Byte, ByteRep, Char, CharRep, Double, DoubleRep, Error, Exception, Float, FloatRep, Int, IntRep, Long, LongRep, Null, NullRep, RuntimeException, Short, ShortRep, Throwable, Void, VoidRep |
Method Summary |
org.apache.bcel.generic.Instruction |
ADD()
|
org.apache.bcel.generic.Instruction |
ALOAD()
|
org.apache.bcel.generic.Instruction |
ASTORE()
|
org.apache.bcel.generic.InstructionList |
CAST(junc.types.JUnCBaseType other)
|
org.apache.bcel.generic.Instruction |
CMP(boolean less)
|
int |
distanceTo(junc.types.JUnCBaseType other)
|
org.apache.bcel.generic.Instruction |
DIV()
|
org.apache.bcel.generic.Instruction |
DUP()
|
org.apache.bcel.generic.Instruction |
DUPX1()
|
org.apache.bcel.generic.Instruction |
DUPX2()
|
boolean |
identicalTo(junc.types.JUnCBaseType other)
|
org.apache.bcel.generic.Instruction |
LOAD(int slot)
|
org.apache.bcel.generic.Instruction |
MUL()
|
org.apache.bcel.generic.Instruction |
NEG()
|
org.apache.bcel.generic.Instruction |
NEWARRAY(int index)
|
boolean |
oneWord()
Determines if vars of this type fit in one word. |
org.apache.bcel.generic.Instruction |
POP()
|
org.apache.bcel.generic.Instruction |
PUSH(org.apache.bcel.generic.ConstantPoolGen cpg,
java.math.BigDecimal value)
|
org.apache.bcel.generic.Instruction |
REM()
|
org.apache.bcel.generic.Instruction |
RETURN()
|
org.apache.bcel.generic.Instruction |
STORE(int slot)
|
org.apache.bcel.generic.Instruction |
SUB()
|
org.apache.bcel.generic.Type |
toClassFileType()
Map an junc type to a ClassGen one. |
java.lang.String |
toString()
|
boolean |
twoWords()
Determines if vars of this type need two words. |
Methods inherited from class junc.types.JUnCBaseType |
ADDSTRING, AND, createClassType, createClassType, createType, createType, IFEQ, IFGE, IFGT, IFLE, IFLT, IFNE, name, OR, relatedTo, SHL, SHR, throwable, toInternalString, USHR, XOR |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DoubleType
public DoubleType()
identicalTo
public boolean identicalTo(junc.types.JUnCBaseType other)
- Specified by:
identicalTo
in class JUnCBaseType
distanceTo
public int distanceTo(junc.types.JUnCBaseType other)
- Specified by:
distanceTo
in class PrimitiveType
toString
public java.lang.String toString()
- Specified by:
toString
in class JUnCBaseType
toClassFileType
public org.apache.bcel.generic.Type toClassFileType()
- Map an junc type to a ClassGen one.
- Specified by:
toClassFileType
in class PrimitiveType
oneWord
public boolean oneWord()
- Description copied from class:
JUnCBaseType
- Determines if vars of this type fit in one word. Defaults to true
but overriden at DoubleType and LongType.
- Overrides:
oneWord
in class JUnCBaseType
twoWords
public boolean twoWords()
- Description copied from class:
JUnCBaseType
- Determines if vars of this type need two words. Defaults to false
but overriden at DoubleType and LongType.
- Overrides:
twoWords
in class JUnCBaseType
ALOAD
public org.apache.bcel.generic.Instruction ALOAD()
- Overrides:
ALOAD
in class JUnCBaseType
ASTORE
public org.apache.bcel.generic.Instruction ASTORE()
- Overrides:
ASTORE
in class JUnCBaseType
DUP
public org.apache.bcel.generic.Instruction DUP()
- Overrides:
DUP
in class PrimitiveType
DUPX1
public org.apache.bcel.generic.Instruction DUPX1()
- Overrides:
DUPX1
in class PrimitiveType
DUPX2
public org.apache.bcel.generic.Instruction DUPX2()
- Overrides:
DUPX2
in class PrimitiveType
POP
public org.apache.bcel.generic.Instruction POP()
- Overrides:
POP
in class PrimitiveType
CMP
public org.apache.bcel.generic.Instruction CMP(boolean less)
- Overrides:
CMP
in class JUnCBaseType
LOAD
public org.apache.bcel.generic.Instruction LOAD(int slot)
- Overrides:
LOAD
in class JUnCBaseType
STORE
public org.apache.bcel.generic.Instruction STORE(int slot)
- Overrides:
STORE
in class JUnCBaseType
RETURN
public org.apache.bcel.generic.Instruction RETURN()
- Overrides:
RETURN
in class JUnCBaseType
PUSH
public org.apache.bcel.generic.Instruction PUSH(org.apache.bcel.generic.ConstantPoolGen cpg,
java.math.BigDecimal value)
- Overrides:
PUSH
in class JUnCBaseType
ADD
public org.apache.bcel.generic.Instruction ADD()
- Overrides:
ADD
in class JUnCBaseType
SUB
public org.apache.bcel.generic.Instruction SUB()
- Overrides:
SUB
in class JUnCBaseType
MUL
public org.apache.bcel.generic.Instruction MUL()
- Overrides:
MUL
in class JUnCBaseType
DIV
public org.apache.bcel.generic.Instruction DIV()
- Overrides:
DIV
in class JUnCBaseType
REM
public org.apache.bcel.generic.Instruction REM()
- Overrides:
REM
in class JUnCBaseType
NEG
public org.apache.bcel.generic.Instruction NEG()
- Overrides:
NEG
in class JUnCBaseType
NEWARRAY
public org.apache.bcel.generic.Instruction NEWARRAY(int index)
- Overrides:
NEWARRAY
in class JUnCBaseType
CAST
public org.apache.bcel.generic.InstructionList CAST(junc.types.JUnCBaseType other)
- Overrides:
CAST
in class JUnCBaseType