Java Code Examples for com.sun.tools.doclets.standard.Standard#optionLength()

The following examples show how to use com.sun.tools.doclets.standard.Standard#optionLength() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: IncludePublicAnnotationsStandardDoclet.java    From hadoop with Apache License 2.0 5 votes vote down vote up
public static int optionLength(String option) {
  Integer length = StabilityOptions.optionLength(option);
  if (length != null) {
    return length;
  }
  return Standard.optionLength(option);
}
 
Example 2
Source File: ExcludePrivateAnnotationsStandardDoclet.java    From hadoop with Apache License 2.0 5 votes vote down vote up
public static int optionLength(String option) {
  Integer length = StabilityOptions.optionLength(option);
  if (length != null) {
    return length;
  }
  return Standard.optionLength(option);
}
 
Example 3
Source File: IncludePublicAnnotationsStandardDoclet.java    From big-c with Apache License 2.0 5 votes vote down vote up
public static int optionLength(String option) {
  Integer length = StabilityOptions.optionLength(option);
  if (length != null) {
    return length;
  }
  return Standard.optionLength(option);
}
 
Example 4
Source File: ExcludePrivateAnnotationsStandardDoclet.java    From big-c with Apache License 2.0 5 votes vote down vote up
public static int optionLength(String option) {
  Integer length = StabilityOptions.optionLength(option);
  if (length != null) {
    return length;
  }
  return Standard.optionLength(option);
}
 
Example 5
Source File: JavadocFilter.java    From pom-manipulation-ext with Apache License 2.0 4 votes vote down vote up
@SuppressWarnings( "unused" )
public static int optionLength(String option) {
    return Standard.optionLength(option);
}
 
Example 6
Source File: ConfigStandardDoclet.java    From tez with Apache License 2.0 4 votes vote down vote up
public static int optionLength(String option) {
  return Standard.optionLength(option);
}
 
Example 7
Source File: ExcludeDoclet.java    From JPPF with Apache License 2.0 2 votes vote down vote up
/**
 * Determine the number of arguments for each command line option (including the option name).
 * This method delegates its processing to the standard doclet.
 * @param option the option to check.
 * @return the expected number of arguments for the option.
 */
public static int optionLength(final String option) {
  return Standard.optionLength(option);
}