public String getPrintString() { String argStrLocal = ""; for (String atype : argTypes) { argStrLocal += atype + "::"; } return containingClass.getName() + ":" + name + "(" + argStrLocal + ")" + ":" + returnType; }
private void addToAllChildren(LibMethodHolder addLmh) { LibClassHolder containingClass = addLmh.getContainingClass(); if (containingClass.getAllChildTypes() == null) { containingClass.setAllChildTypes( RepositoryAnalyzer.getInstance().getAllChildTypes(containingClass.getName())); } for (String childClass : containingClass.getAllChildTypes()) { LibMethodHolder childLmh = RepositoryAnalyzer.getInstance().getEqviMethodDeclaration(childClass, addLmh); if (childLmh != null) { methodsInvoked.add(childLmh); childLmh.getCallingMethods().add(this); } } }
public String toString() { return containingClass.getName() + "," + name + printArgumentStr + " ReturnType:" + returnType; }