|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.xalan.xsltc.compiler.util.Type
org.apache.xalan.xsltc.compiler.util.MethodType
public final class MethodType
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.apache.bcel.generic.InstructionConstants |
---|
org.apache.bcel.generic.InstructionConstants.Clinit |
Field Summary |
---|
Fields inherited from class org.apache.xalan.xsltc.compiler.util.Type |
---|
Attribute, Boolean, Comment, Element, Int, Node, NodeSet, Object, Processing_Instruction, Real, Reference, ResultTree, Root, String, Text, Void |
Fields inherited from interface org.apache.bcel.generic.InstructionConstants |
---|
AALOAD, AASTORE, ACONST_NULL, ALOAD_0, ALOAD_1, ALOAD_2, ARETURN, ARRAYLENGTH, ASTORE_0, ASTORE_1, ASTORE_2, ATHROW, BALOAD, BASTORE, bla, CALOAD, CASTORE, D2F, D2I, D2L, DADD, DALOAD, DASTORE, DCMPG, DCMPL, DCONST_0, DCONST_1, DDIV, DMUL, DNEG, DREM, DRETURN, DSUB, DUP, DUP_X1, DUP_X2, DUP2, DUP2_X1, DUP2_X2, F2D, F2I, F2L, FADD, FALOAD, FASTORE, FCMPG, FCMPL, FCONST_0, FCONST_1, FCONST_2, FDIV, FMUL, FNEG, FREM, FRETURN, FSUB, I2B, I2C, I2D, I2F, I2L, I2S, IADD, IALOAD, IAND, IASTORE, ICONST_0, ICONST_1, ICONST_2, ICONST_3, ICONST_4, ICONST_5, ICONST_M1, IDIV, ILOAD_0, ILOAD_1, ILOAD_2, IMUL, INEG, INSTRUCTIONS, IOR, IREM, IRETURN, ISHL, ISHR, ISTORE_0, ISTORE_1, ISTORE_2, ISUB, IUSHR, IXOR, L2D, L2F, L2I, LADD, LALOAD, LAND, LASTORE, LCMP, LCONST_0, LCONST_1, LDIV, LMUL, LNEG, LOR, LREM, LRETURN, LSHL, LSHR, LSUB, LUSHR, LXOR, MONITORENTER, MONITOREXIT, NOP, POP, POP2, RETURN, SALOAD, SASTORE, SWAP, THIS |
Constructor Summary | |
---|---|
MethodType(Type resultType)
|
|
MethodType(Type resultType,
Type arg1)
|
|
MethodType(Type resultType,
Type arg1,
Type arg2)
|
|
MethodType(Type resultType,
Type arg1,
Type arg2,
Type arg3)
|
|
MethodType(Type resultType,
java.util.Vector argsType)
|
Method Summary | |
---|---|
int |
argsCount()
|
java.util.Vector |
argsType()
|
int |
distanceTo(Type other)
Returns the distance between two types. |
boolean |
identicalTo(Type other)
Returns true if this and other are identical types. |
Type |
resultType()
|
org.apache.bcel.generic.Type |
toJCType()
|
java.lang.String |
toSignature()
Returns the signature of an internal type's external representation. |
java.lang.String |
toSignature(java.lang.String lastArgSig)
Returns the signature of this method that results by adding lastArgSig to the end of the argument list. |
java.lang.String |
toString()
Returns a string representation of this type. |
Methods inherited from class org.apache.xalan.xsltc.compiler.util.Type |
---|
ADD, CMP, DIV, DUP, GE, getClassName, GT, implementedAsMethod, isNumber, isSimple, LE, LOAD, LT, MUL, NEG, newObjectType, newObjectType, POP, REM, STORE, SUB, translateBox, translateFrom, translateTo, translateTo, translateToDesynthesized, translateToDesynthesized, translateUnBox |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MethodType(Type resultType)
public MethodType(Type resultType, Type arg1)
public MethodType(Type resultType, Type arg1, Type arg2)
public MethodType(Type resultType, Type arg1, Type arg2, Type arg3)
public MethodType(Type resultType, java.util.Vector argsType)
Method Detail |
---|
public java.lang.String toString()
Type
toString
in class Type
public java.lang.String toSignature()
Type
toSignature
in class Type
public java.lang.String toSignature(java.lang.String lastArgSig)
lastArgSig
to the end of the argument list.
public org.apache.bcel.generic.Type toJCType()
toJCType
in class Type
public boolean identicalTo(Type other)
Type
identicalTo
in class Type
public int distanceTo(Type other)
Type
distanceTo
in class Type
public Type resultType()
public java.util.Vector argsType()
public int argsCount()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |