org.apache.xalan.xsltc.compiler.util

Class MethodType

public final class MethodType extends Type

Author: Jacek Ambroziak Santiago Pericas-Geertsen

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, Vector argsType)
Method Summary
intargsCount()
VectorargsType()
intdistanceTo(Type other)
booleanidenticalTo(Type other)
TyperesultType()
TypetoJCType()
StringtoSignature()
StringtoSignature(String lastArgSig)
Returns the signature of this method that results by adding lastArgSig to the end of the argument list.
StringtoString()

Constructor Detail

MethodType

public MethodType(Type resultType)

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)

MethodType

public MethodType(Type resultType, Vector argsType)

Method Detail

argsCount

public int argsCount()

argsType

public Vector argsType()

distanceTo

public int distanceTo(Type other)

identicalTo

public boolean identicalTo(Type other)

resultType

public Type resultType()

toJCType

public Type toJCType()

toSignature

public String toSignature()

toSignature

public String toSignature(String lastArgSig)
Returns the signature of this method that results by adding lastArgSig to the end of the argument list.

toString

public String toString()
Copyright B) 2005 Apache XML Project. All Rights Reserved.