FileDocCategorySizeDatePackage
ProfileMethod.javaAPI DocExample1386Mon Dec 28 21:45:22 GMT 1998tuning.profview

ProfileMethod

public class ProfileMethod extends Object
This class was generated by a SmartGuide.

Fields Summary
String
method
String
classname
String
methodname
ProfileMethodClass[]
args
ProfileMethodClass
returnclass
Constructors Summary
public ProfileMethod(String method)
This method was created by a SmartGuide.

param
method java.lang.String

	this.method= method;
	int idx = method.indexOf('.");
	if (idx == -1)
	{
	    classname = "unknown";
	    methodname = "unkown";
	    args = ProfileMethodClass.getClasses("");
	    returnclass = (ProfileMethodClass.getClasses("V"))[0];
	    return;
	}
	classname = method.substring(0,idx).replace('/",'.");
	methodname = method.substring(idx+1, (idx = method.indexOf('(")));
	args = ProfileMethodClass.getClasses(method.substring(idx+1, (idx = method.indexOf(')"))));
	returnclass = (ProfileMethodClass.getClasses(method.substring(idx+1)))[0];
//	classDotMethodname = classname + "." + methodname;
Methods Summary
public voidappendTo(java.lang.StringBuffer s)
This method was created by a SmartGuide.

param
s java.lang.StringBuffer

	returnclass.appendTo(s);
	s.append(' ").append(classname).append('.").append(methodname).append('(");
	if (args.length > 0)
		args[0].appendTo(s);
	for(int i = 1; i < args.length; i++)
	{
		s.append(", ");
		args[i].appendTo(s);
	}
	s.append(')");