jellyj.util
Class ArrayType
jellyj.util.Type
|
+--jellyj.util.ReferenceType
|
+--jellyj.util.ArrayType
- public class ArrayType
- extends ReferenceType
Fields inherited from class jellyj.util.Type |
Boolean, Byte, cache_d, CACHE_SIZE, Char, Double, Error, Exception, Float, Int, Long, Null, RuntimeException, Short, Throwable, Void |
Methods inherited from class jellyj.util.ReferenceType |
ALOAD, ASTORE, DUP, DUPX1, DUPX2, floatingPointType, integralType, LOAD, NEWARRAY, numericType, POP, primitiveType, referenceType, RETURN, STORE |
Methods inherited from class jellyj.util.Type |
ADD, ADDSTRING, AND, CAST, CMP, createClassType, createClassType, createType, createType, DIV, IFEQ, IFGE, IFGT, IFLE, IFLT, IFNE, MUL, name, NEG, oneWord, OR, parseType, PUSH, relatedTo, REM, SHL, SHR, SUB, throwable, toInternalString, twoWords, USHR, XOR |
baseType_d
Type baseType_d
cloneable
static Type cloneable
dims_d
int dims_d
object
static Type object
ArrayType
public ArrayType(Type baseType, int dims)
APPENDSTB
public Instruction APPENDSTB(ConstantPoolGen cpg)
baseType
public Type baseType()
dims
public int dims()
distanceTo
public int distanceTo(Type other)
- The distance between array types is defined to be that of the base
types if positive or zero and the dimensions identical. In addition,
the distances to java.lang.Object and java.lang.Cloneable are big
enough never to be preferred over another compatible array type.
Also note that java.lang.Cloneable is preferred over java.lang
.Object.
identicalTo
public boolean identicalTo(Type other)
subTypeOf
public boolean subTypeOf(Type other)
superTypeOf
public boolean superTypeOf(Type other)
toClassFileType
public ClassGenType toClassFileType()
- Map an JellyJ type to a ClassGen one.
toString
public String toString()
VALUEOF
public InstructionList VALUEOF(ConstantPoolGen cpg)
to Class jellyj.util.Type
to Class jellyj.util.Type
to Class jellyj.util.Type