Code example for CaseFormat

Methods: to

0
  /** The number of arguments. */ 
  private final int numArgs;
 
 
  private NonpluginFunction(int numArgs) {
    this.functionName = CaseFormat.UPPER_UNDERSCORE.to(CaseFormat.LOWER_CAMEL, name());
    this.numArgs = numArgs;
  } 
 
 
  /** Returns the function name. */ 
  public String getFunctionName() {
    return functionName;
  } 
 
  /** Returns the number of arguments. */ 
  public int getNumArgs() { 
    return numArgs;
  } 
 
}