Package com.google.code.vimsztool.omni

Examples of com.google.code.vimsztool.omni.MemberReferenceFinder$AppClassVisitor


    String result = search(ctx,targetClass,memberDesc);
    return result;
  }
 
  public String search(CompilerContext ctx , String targetClass, String memberDesc) {
     MemberReferenceFinder app = new MemberReferenceFinder();
         try {
           app.findCallingMethodInDir(ctx.getOutputDir(), targetClass,memberDesc);
         } catch (Exception e) {
           e.printStackTrace();
         }
         StringBuilder sb = new StringBuilder();
         for (ReferenceLocation loc : app.getReferenceLocations() ) {
           sb.append(getSourcePath(ctx,loc.className,loc.source)).append(SEPERATOR);
           sb.append(loc.line).append(SEPERATOR);
           sb.append(getSourceLine(ctx,loc.className,loc.source,loc.line)).append("\n");
         }
         return sb.toString();
View Full Code Here

TOP

Related Classes of com.google.code.vimsztool.omni.MemberReferenceFinder$AppClassVisitor

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.