Java Code Examples for jdiff.JDiff

Following code examples demonstrate how to use jdiff.JDifffrom android. These examples are extracted from various highly rated open source projects. You can directly use these code snippets or view their entire linked source code. These snippets are extracted to provide contextual information about how to use this class in the real world. These samples also let you understand some good practices on how to use jdiff.JDiffand various code implementation of this class.

  public static int optionLength(String option) {
    Integer length = StabilityOptions.optionLength(option);
    if (length != null) {
      return length;
    }
    return JDiff.optionLength(option);
  } 


  }

  public static boolean validOptions(String[][] options,
      DocErrorReporter reporter) {
    StabilityOptions.validOptions(options, reporter);
    String[][] filteredOptions = StabilityOptions.filterOptions(options);
    return JDiff.validOptions(filteredOptions, reporter);
  } 

  public static boolean start(RootDoc root) {
    System.out.println(
        IncludePublicAnnotationsJDiffDoclet.class.getSimpleName());
    RootDocProcessor.treatUnannotatedClassesAsPrivate = true;
    return JDiff.start(RootDocProcessor.process(root));
  } 

  public static boolean start(RootDoc root) {
    System.out.println(
        ExcludePrivateAnnotationsJDiffDoclet.class.getSimpleName());
    return JDiff.start(RootDocProcessor.process(root));
  } 

  public static int optionLength(String option) {
    Integer length = StabilityOptions.optionLength(option);
    if (length != null) {
      return length;
    }
    return JDiff.optionLength(option);
  } 

  
  public static boolean validOptions(String[][] options,
      DocErrorReporter reporter) {
    StabilityOptions.validOptions(options, reporter);
    String[][] filteredOptions = StabilityOptions.filterOptions(options);
    return JDiff.validOptions(filteredOptions, reporter);
  } 

Advertisement
Javadoc
Generates HTML describing the changes between two sets of Java source code. See the file LICENSE.txt

for copyright details. @author Matthew Doar, mdoar@pobox.com.

Read More
Related Classes
Advertisement