junc.types
Class BooleanType

java.lang.Object
  |
  +--junc.types.JUnCBaseType
        |
        +--junc.types.PrimitiveType
              |
              +--junc.types.BooleanType

public class BooleanType
extends PrimitiveType


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
BooleanType()
           
 
Method Summary
 org.apache.bcel.generic.Instruction ALOAD()
           
 org.apache.bcel.generic.Instruction AND()
           
 org.apache.bcel.generic.Instruction ASTORE()
           
 int distanceTo(junc.types.JUnCBaseType other)
           
 boolean floatingPointType()
           
 boolean identicalTo(junc.types.JUnCBaseType other)
           
 org.apache.bcel.generic.Instruction IFEQ(boolean tozero)
           
 org.apache.bcel.generic.Instruction IFNE(boolean tozero)
           
 boolean integralType()
           
 org.apache.bcel.generic.Instruction LOAD(int slot)
           
 org.apache.bcel.generic.Instruction NEWARRAY(int index)
           
 org.apache.bcel.generic.Instruction OR()
           
 org.apache.bcel.generic.Instruction PUSH(org.apache.bcel.generic.ConstantPoolGen cpg, java.math.BigDecimal value)
           
 org.apache.bcel.generic.Instruction RETURN()
           
 org.apache.bcel.generic.Instruction STORE(int slot)
           
 org.apache.bcel.generic.Type toClassFileType()
          Map an junc type to a ClassGen one.
 java.lang.String toString()
           
 org.apache.bcel.generic.Instruction 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
ADD, ADDSTRING, CAST, CMP, createClassType, createClassType, createType, createType, DIV, IFGE, IFGT, IFLE, IFLT, MUL, name, NEG, oneWord, relatedTo, REM, SHL, SHR, SUB, throwable, toInternalString, twoWords, USHR
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BooleanType

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

toString

public java.lang.String toString()
Specified by:
toString in class JUnCBaseType

integralType

public boolean integralType()
Specified by:
integralType in class PrimitiveType

floatingPointType

public boolean floatingPointType()
Specified by:
floatingPointType in class PrimitiveType

toClassFileType

public org.apache.bcel.generic.Type toClassFileType()
Map an junc type to a ClassGen one.

Specified by:
toClassFileType in class PrimitiveType

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

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

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

RETURN

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

NEWARRAY

public org.apache.bcel.generic.Instruction NEWARRAY(int index)
Overrides:
NEWARRAY in class JUnCBaseType

AND

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

OR

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

XOR

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