Beispiel #1
0
 public String getPrintString() {
   String argStrLocal = "";
   for (String atype : argTypes) {
     argStrLocal += atype + "::";
   }
   return containingClass.getName() + ":" + name + "(" + argStrLocal + ")" + ":" + returnType;
 }
Beispiel #2
0
  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);
      }
    }
  }
Beispiel #3
0
 public String toString() {
   return containingClass.getName() + "," + name + printArgumentStr + " ReturnType:" + returnType;
 }