junc.types
Class LongType

java.lang.Object
  |
  +--junc.types.JUnCBaseType
        |
        +--junc.types.PrimitiveType
              |
              +--junc.types.IntegralType
                    |
                    +--junc.types.LongType

public class LongType
extends IntegralType


Field Summary
 
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
 
Constructor Summary
LongType()
           
 
Method Summary
 org.apache.bcel.generic.Instruction ADD()
           
 org.apache.bcel.generic.Instruction ALOAD()
           
 org.apache.bcel.generic.Instruction AND()
           
 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 IFGT(boolean tozero)
           
 boolean inRange(long value)
           
 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 OR()
           
 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 SHL()
           
 org.apache.bcel.generic.Instruction SHR()
           
 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.
 org.apache.bcel.generic.Instruction USHR()
           
 org.apache.bcel.generic.Instruction XOR()
           
 
Methods inherited from class junc.types.IntegralType
floatingPointType, integralType
 
Methods inherited from class junc.types.PrimitiveType
APPENDSTB, numericType, primitiveType, referenceType, subTypeOf, superTypeOf, VALUEOF
 
Methods inherited from class junc.types.JUnCBaseType
ADDSTRING, createClassType, createClassType, createType, createType, IFEQ, IFGE, IFLE, IFLT, IFNE, name, relatedTo, throwable, toInternalString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LongType

public LongType()
Method Detail

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

inRange

public boolean inRange(long value)
Specified by:
inRange in class IntegralType

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

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 IntegralType

STORE

public org.apache.bcel.generic.Instruction STORE(int slot)
Overrides:
STORE in class IntegralType

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

RETURN

public org.apache.bcel.generic.Instruction RETURN()
Overrides:
RETURN in class IntegralType

IFGT

public org.apache.bcel.generic.Instruction IFGT(boolean tozero)
Overrides:
IFGT in class JUnCBaseType

ADD

public org.apache.bcel.generic.Instruction ADD()
Overrides:
ADD in class IntegralType

SUB

public org.apache.bcel.generic.Instruction SUB()
Overrides:
SUB in class IntegralType

MUL

public org.apache.bcel.generic.Instruction MUL()
Overrides:
MUL in class IntegralType

DIV

public org.apache.bcel.generic.Instruction DIV()
Overrides:
DIV in class IntegralType

REM

public org.apache.bcel.generic.Instruction REM()
Overrides:
REM in class IntegralType

NEG

public org.apache.bcel.generic.Instruction NEG()
Overrides:

XOR

public org.apache.bcel.generic.Instruction XOR()
Overrides:
XOR in class IntegralType

SHL

public org.apache.bcel.generic.Instruction SHL()
Overrides:
SHL in class JUnCBaseType

SHR

public org.apache.bcel.generic.Instruction SHR()
Overrides:
SHR in class JUnCBaseType

USHR

public org.apache.bcel.generic.Instruction USHR()
Overrides:
USHR 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 IntegralType

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