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