jellyj.util
Class MethodType

jellyj.util.Type
  |
  +--jellyj.util.MethodType

public class MethodType
extends Type


Field Summary
 (package private) VectorargsType_d
           
 (package private) TyperesultType_d
           

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

Constructor Summary
MethodType(Type resultType, Vector argsType)
           
MethodType(Type resultType, Type arg1)
           
MethodType(Type resultType, Type arg1, Type arg2)
           
MethodType(Type resultType, Type arg1, Type arg2, Type arg3)
           

Method Summary
 intargsCount()
           
 VectorargsType()
           
 intdistanceTo(Type other)
           
 booleanfloatingPointType()
           
 booleanidenticalTo(Type other)
           
 booleanidenticalTo(Type other, boolean modret)
           
 booleanintegralType()
           
 booleannumericType()
           
 booleanprimitiveType()
           
 booleanreferenceType()
           
 TyperesultType()
           
 booleansubTypeOf(Type other)
           
 booleansuperTypeOf(Type other)
           
 ClassGenTypetoClassFileType()
          Map an JellyJ type to a ClassGen one.
 StringtoString()
           

Methods inherited from class jellyj.util.Type
ADD, ADDSTRING, ALOAD, AND, APPENDSTB, ASTORE, CAST, CMP, createClassType, createClassType, createType, createType, DIV, DUP, DUPX1, DUPX2, IFEQ, IFGE, IFGT, IFLE, IFLT, IFNE, LOAD, MUL, name, NEG, NEWARRAY, oneWord, OR, parseType, POP, PUSH, relatedTo, REM, RETURN, SHL, SHR, STORE, SUB, throwable, toInternalString, twoWords, USHR, VALUEOF, XOR

Field Detail

argsType_d

Vector argsType_d

resultType_d

Type resultType_d
Constructor Detail

MethodType

public MethodType(Type resultType, Vector argsType)

MethodType

public MethodType(Type resultType, Type arg1)

MethodType

public MethodType(Type resultType, Type arg1, Type arg2)

MethodType

public MethodType(Type resultType, Type arg1, Type arg2, Type arg3)
Method Detail

argsCount

public int argsCount()

argsType

public Vector argsType()

distanceTo

public int distanceTo(Type other)

floatingPointType

public boolean floatingPointType()

identicalTo

public boolean identicalTo(Type other)

identicalTo

public boolean identicalTo(Type other, boolean modret)

integralType

public boolean integralType()

numericType

public boolean numericType()

primitiveType

public boolean primitiveType()

referenceType

public boolean referenceType()

resultType

public Type resultType()

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

Association Links

to Class jellyj.util.Type

to Class java.util.Vector