junc.types
Class MethodType
java.lang.Object
|
+--junc.types.JUnCBaseType
|
+--junc.types.MethodType
- public class MethodType
- extends JUnCBaseType
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 |
MethodType(junc.types.JUnCBaseType resultType,
junc.types.JUnCBaseType arg1)
|
MethodType(junc.types.JUnCBaseType resultType,
junc.types.JUnCBaseType arg1,
junc.types.JUnCBaseType arg2)
|
MethodType(junc.types.JUnCBaseType resultType,
junc.types.JUnCBaseType arg1,
junc.types.JUnCBaseType arg2,
junc.types.JUnCBaseType arg3)
|
MethodType(junc.types.JUnCBaseType resultType,
java.util.Vector argsType)
|
Methods inherited from class junc.types.JUnCBaseType |
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, POP, PUSH, relatedTo, REM, RETURN, SHL, SHR, STORE, SUB, throwable, toInternalString, twoWords, USHR, VALUEOF, XOR |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MethodType
public MethodType(junc.types.JUnCBaseType resultType,
java.util.Vector argsType)
MethodType
public MethodType(junc.types.JUnCBaseType resultType,
junc.types.JUnCBaseType arg1)
MethodType
public MethodType(junc.types.JUnCBaseType resultType,
junc.types.JUnCBaseType arg1,
junc.types.JUnCBaseType arg2)
MethodType
public MethodType(junc.types.JUnCBaseType resultType,
junc.types.JUnCBaseType arg1,
junc.types.JUnCBaseType arg2,
junc.types.JUnCBaseType arg3)
identicalTo
public boolean identicalTo(junc.types.JUnCBaseType other)
- Specified by:
identicalTo
in class JUnCBaseType
identicalTo
public boolean identicalTo(junc.types.JUnCBaseType other,
boolean modret)
subTypeOf
public boolean subTypeOf(junc.types.JUnCBaseType other)
- Specified by:
subTypeOf
in class JUnCBaseType
superTypeOf
public boolean superTypeOf(junc.types.JUnCBaseType other)
- Specified by:
superTypeOf
in class JUnCBaseType
distanceTo
public int distanceTo(junc.types.JUnCBaseType other)
- Specified by:
distanceTo
in class JUnCBaseType
resultType
public junc.types.JUnCBaseType resultType()
argsType
public java.util.Vector argsType()
argsCount
public int argsCount()
referenceType
public boolean referenceType()
- Specified by:
referenceType
in class JUnCBaseType
primitiveType
public boolean primitiveType()
- Specified by:
primitiveType
in class JUnCBaseType
numericType
public boolean numericType()
- Specified by:
numericType
in class JUnCBaseType
integralType
public boolean integralType()
- Specified by:
integralType
in class JUnCBaseType
floatingPointType
public boolean floatingPointType()
- Specified by:
floatingPointType
in class JUnCBaseType
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 JUnCBaseType