junc.types
Class ByteType

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

public class ByteType
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
ByteType()
           
 
Method Summary
 org.apache.bcel.generic.Instruction ALOAD()
           
 org.apache.bcel.generic.Instruction APPENDSTB(org.apache.bcel.generic.ConstantPoolGen cpg)
           
 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)
           
 boolean inRange(long value)
           
 org.apache.bcel.generic.Instruction NEWARRAY(int index)
           
 org.apache.bcel.generic.Type toClassFileType()
          Map an junc type to a ClassGen one.
 java.lang.String toString()
           
 org.apache.bcel.generic.InstructionList VALUEOF(org.apache.bcel.generic.ConstantPoolGen cpg)
           
 
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
DUP, DUPX1, DUPX2, numericType, POP, primitiveType, referenceType, subTypeOf, superTypeOf
 
Methods inherited from class junc.types.JUnCBaseType
ADDSTRING, CMP, createClassType, createClassType, createType, createType, IFEQ, IFGE, IFGT, IFLE, IFLT, IFNE, name, oneWord, relatedTo, SHL, SHR, throwable, toInternalString, twoWords, USHR
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ByteType

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

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

VALUEOF

public org.apache.bcel.generic.InstructionList VALUEOF(org.apache.bcel.generic.ConstantPoolGen cpg)
Overrides:
VALUEOF in class PrimitiveType

APPENDSTB

public org.apache.bcel.generic.Instruction APPENDSTB(org.apache.bcel.generic.ConstantPoolGen cpg)
Overrides:
APPENDSTB in class PrimitiveType