congrats Icon
New! Announcing our next generation AI code completions
Read here
Tabnine Logo
org.sonar.sslr.toolkit
Code IndexAdd Tabnine to your IDE (free)

How to use org.sonar.sslr.toolkit

Best Java code snippets using org.sonar.sslr.toolkit (Showing top 20 results out of 315)

origin: org.codehaus.sonar.sslr/sslr-toolkit

private void ensureUpToDate() {
 if (updatedFlag) {
  parser = doGetParser();
  tokenizers = doGetTokenizers();
 }
 updatedFlag = false;
}
origin: org.codehaus.sonar.sslr/sslr-toolkit

@Override
public Parser getParser() {
 ensureUpToDate();
 return parser;
}
origin: org.codehaus.sonar.sslr/sslr-toolkit

/**
 * Validates that the property holds an integer within the given lower and upper bounds.
 *
 * @param lowerBound
 * @param upperBound
 * @return An integer range validator
 */
public static ValidationCallback integerRangeValidator(int lowerBound, int upperBound) {
 return new IntegerRangeValidator(lowerBound, upperBound);
}
origin: org.sonarsource.sslr/sslr-toolkit

void initConfigurationTab() {
 for (ConfigurationProperty configurationProperty : configurationModel.getProperties()) {
  view.addConfigurationProperty(configurationProperty.getName(), configurationProperty.getDescription());
  view.setConfigurationPropertyValue(configurationProperty.getName(), configurationProperty.getValue());
 }
}
origin: stackoverflow.com

 public Toolkit getDefaultToolkit(){
  return new Toolkit();   
}
origin: org.codehaus.sonar.sslr/sslr-toolkit

private ConfigurationProperty getConfigurationPropertyByName(String name) {
 for (ConfigurationProperty configurationProperty : configurationModel.getProperties()) {
  if (name.equals(configurationProperty.getName())) {
   return configurationProperty;
  }
 }
 return null;
}
origin: org.sonarsource.sslr/sslr-toolkit

public String validate(String newValueCandidate) {
 return validationCallback.validate(newValueCandidate);
}
origin: SonarSource/sslr

void initConfigurationTab() {
 for (ConfigurationProperty configurationProperty : configurationModel.getProperties()) {
  view.addConfigurationProperty(configurationProperty.getName(), configurationProperty.getDescription());
  view.setConfigurationPropertyValue(configurationProperty.getName(), configurationProperty.getValue());
 }
}
origin: org.sonarsource.sslr/sslr-toolkit

private void ensureUpToDate() {
 if (updatedFlag) {
  parser = doGetParser();
  tokenizers = doGetTokenizers();
 }
 updatedFlag = false;
}
origin: org.sonarsource.sslr/sslr-toolkit

private ConfigurationProperty getConfigurationPropertyByName(String name) {
 for (ConfigurationProperty configurationProperty : configurationModel.getProperties()) {
  if (name.equals(configurationProperty.getName())) {
   return configurationProperty;
  }
 }
 return null;
}
origin: org.codehaus.sonar.sslr/sslr-toolkit

@Override
public List<Tokenizer> getTokenizers() {
 ensureUpToDate();
 return tokenizers;
}
origin: org.sonarsource.sslr/sslr-toolkit

/**
 * Validates that the property holds an integer within the given lower and upper bounds.
 *
 * @param lowerBound
 * @param upperBound
 * @return An integer range validator
 */
public static ValidationCallback integerRangeValidator(int lowerBound, int upperBound) {
 return new IntegerRangeValidator(lowerBound, upperBound);
}
origin: org.codehaus.sonar.sslr/sslr-toolkit

public String validate(String newValueCandidate) {
 return validationCallback.validate(newValueCandidate);
}
origin: SonarSource/sslr

private void ensureUpToDate() {
 if (updatedFlag) {
  parser = doGetParser();
  tokenizers = doGetTokenizers();
 }
 updatedFlag = false;
}
origin: SonarSource/sslr

private ConfigurationProperty getConfigurationPropertyByName(String name) {
 for (ConfigurationProperty configurationProperty : configurationModel.getProperties()) {
  if (name.equals(configurationProperty.getName())) {
   return configurationProperty;
  }
 }
 return null;
}
origin: org.sonarsource.sslr/sslr-toolkit

@Override
public Parser getParser() {
 ensureUpToDate();
 return parser;
}
origin: SonarSource/sslr

/**
 * Validates that the property holds an integer within the given lower and upper bounds.
 *
 * @param lowerBound
 * @param upperBound
 * @return An integer range validator
 */
public static ValidationCallback integerRangeValidator(int lowerBound, int upperBound) {
 return new IntegerRangeValidator(lowerBound, upperBound);
}
origin: org.sonarsource.sslr/sslr-toolkit

@Override
public List<Tokenizer> getTokenizers() {
 ensureUpToDate();
 return tokenizers;
}
origin: SonarSource/sslr

@Override
public Parser getParser() {
 ensureUpToDate();
 return parser;
}
origin: SonarSource/sslr

@Override
public List<Tokenizer> getTokenizers() {
 ensureUpToDate();
 return tokenizers;
}
org.sonar.sslr.toolkit

Most used classes

  • ConfigurationProperty
    This class represents a configuration property, which is made of a name, a description (which may be
  • Toolkit
  • AbstractConfigurationModel
    This class provides an default optimized implementation of the ConfigurationModel interface. It will
  • ConfigurationModel
    This interface is used to pass configuration properties to the Toolkit. The parser and tokenizer may
  • ValidationCallback
    This interface is used to validate values that are to be assigned to configuration properties. The V
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now