junc.types
Class IntType

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

public class IntType
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
IntType()
           
 
Method Summary
 org.apache.bcel.generic.Instruction ALOAD()
           
 org.apache.bcel.generic.Instruction ASTORE()
           
 org.apache.bcel.generic.InstructionList CAST(junc.types.JUnCBaseType other)
           
 int distanceTo(junc.types.JUnCBaseType other)
           
 boolean identicalTo(junc.types.JUnCBaseType other)
           
 org.apache.bcel.generic.Instruction IFEQ(boolean tozero)
           
 org.apache.bcel.generic.Instruction IFGE(boolean tozero)
           
 org.apache.bcel.generic.Instruction IFGT(boolean tozero)
           
 org.apache.bcel.generic.Instruction IFLE(boolean tozero)
           
 org.apache.bcel.generic.Instruction IFLT(boolean tozero)
           
 org.apache.bcel.generic.Instruction IFNE(boolean tozero)
           
 boolean inRange(long value)
           
 org.apache.bcel.generic.Instruction NEWARRAY(int index)
           
 org.apache.bcel.generic.Instruction SHL()
           
 org.apache.bcel.generic.Instruction SHR()
           
 org.apache.bcel.generic.Type toClassFileType()
          Map an junc type to a ClassGen one.
 java.lang.String toString()
           
 org.apache.bcel.generic.Instruction USHR()
           
 
Methods inherited from class junc.types.IntegralType
ADD, AND, DIV, floatingPointType, integralType, LOAD, MUL, NEG, OR, PUSH, REM, RETURN, STORE, SUB, XOR
 
Methods inherited from class junc.types.PrimitiveType
APPENDSTB, DUP, DUPX1, DUPX2, numericType, POP, primitiveType, referenceType, subTypeOf, superTypeOf, VALUEOF
 
Methods inherited from class junc.types.JUnCBaseType
ADDSTRING, CMP, createClassType, createClassType, createType, createType, name, oneWord, relatedTo, throwable, toInternalString, twoWords
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IntType

public IntType()
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

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

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

IFGT

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

IFLT

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

IFGE

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

IFLE

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

IFEQ

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

IFNE

public org.apache.bcel.generic.Instruction IFNE(boolean tozero)
Overrides:
IFNE 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