Package com.subhajit.sourcecode

Examples of com.subhajit.sourcecode.SourceCodeManager


        // Show source code lines.
        ctx.setShowSourceLines(true);
        // Find all relevant source code locations.
        EclipseProject eclipseProject = new EclipseProject(ProjectUtils
            .getProjectFile((IJavaProject) inputs.get("project")));
        ctx.setSourceCodeManager(new SourceCodeManager(eclipseProject
            .getSourcePaths()));
        ctx.setShowInstructions(false);

        ClassInfo classInfo = new ClassInfo(className, gen
            .getClassLoader());
View Full Code Here


        System.out.println("recurse = " + recurse);
        ctx.setFollowInvokedMethods(recurse);
        ctx.setShowInstructions(showInstructions);
        ctx.setShowSourceLines(showSourceLines);
        if (this.sourcepaths != null && this.sourcepaths.size() > 0) {
          SourceCodeManager sourceCodeManager = new SourceCodeManager(
              this.sourcepaths
                  .toArray(IConstants.ZERO_LENGTH_FILE_ARRAY));
          ctx.setSourceCodeManager(sourceCodeManager);
        }
View Full Code Here

      DigestBasedSequenceDiagramContext ctx = new DigestBasedSequenceDiagramContext();
      ctx.setFilters(filters);
      ctx.setFollowInvokedMethods(true);
      ctx.setShowInstructions(false);
      ctx.setShowSourceCode(true);
      ctx.setSrcCodeManager(new SourceCodeManager(sourceDirs
          .toArray(IConstants.ZERO_LENGTH_FILE_ARRAY)));

      ctx.setClassName(className);
      // Create a temporary directory under which the diagrams will be
      // generated.
View Full Code Here

      DigestBasedSequenceDiagramContext ctx = new DigestBasedSequenceDiagramContext();
      ctx.setFilters(filters);
      ctx.setFollowInvokedMethods(true);
      ctx.setShowInstructions(false);
      ctx.setShowSourceCode(true);
      ctx.setSrcCodeManager(new SourceCodeManager(sourceDirs
          .toArray(IConstants.ZERO_LENGTH_FILE_ARRAY)));

      ctx.setClassName(className);
      // Create a temporary directory under which the diagrams will be
      // generated.
View Full Code Here

TOP

Related Classes of com.subhajit.sourcecode.SourceCodeManager

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.