Tabnine Logo
DefaultCodeFormatterConstants.getJavaConventionsSettings
Code IndexAdd Tabnine to your IDE (free)

How to use
getJavaConventionsSettings
method
in
org.eclipse.jdt.core.formatter.DefaultCodeFormatterConstants

Best Java code snippets using org.eclipse.jdt.core.formatter.DefaultCodeFormatterConstants.getJavaConventionsSettings (Showing top 17 results out of 315)

origin: org.eclipse.jdt/org.eclipse.jdt.ui

/**
 * @return Returns the settings for the Java Conventions profile.
 */
public static Map<String, String> getJavaSettings() {
  return DefaultCodeFormatterConstants.getJavaConventionsSettings();
}
origin: org.eclipse/org.eclipse.jdt.ui

/** 
 * @return Returns the settings for the Java Conventions profile.
 */
public static Map getJavaSettings() {
  final Map options= DefaultCodeFormatterConstants.getJavaConventionsSettings();
  ProfileVersioner.setLatestCompliance(options);
  return options;
}

origin: org.eclipse.scout.sdk.deps/org.eclipse.jdt.ui

/**
 * @return Returns the settings for the Java Conventions profile.
 */
public static Map<String, String> getJavaSettings() {
  final Map<String, String> options= DefaultCodeFormatterConstants.getJavaConventionsSettings();
  ProfileVersioner.setLatestCompliance(options);
  return options;
}
origin: org.eclipse.tycho/org.eclipse.jdt.core

public DefaultCodeFormatter() {
  this(new DefaultCodeFormatterOptions(DefaultCodeFormatterConstants.getJavaConventionsSettings()), null);
}
origin: io.spring.javaformat/spring-javaformat-formatter-eclipse

public DefaultCodeFormatter() {
  this(new DefaultCodeFormatterOptions(DefaultCodeFormatterConstants.getJavaConventionsSettings()), null);
}
origin: org.jibx.config.3rdparty.org.eclipse/org.eclipse.jdt.core

public DefaultCodeFormatter() {
  this(new DefaultCodeFormatterOptions(DefaultCodeFormatterConstants.getJavaConventionsSettings()), null);
}
origin: org.eclipse.jdt/org.eclipse.jdt.core

public DefaultCodeFormatter() {
  this(new DefaultCodeFormatterOptions(DefaultCodeFormatterConstants.getJavaConventionsSettings()), null);
}
origin: com.google.code.maven-play-plugin.org.eclipse.jdt/org.eclipse.jdt.core

public DefaultCodeFormatter() {
  this(new DefaultCodeFormatterOptions(DefaultCodeFormatterConstants.getJavaConventionsSettings()), null);
}
origin: org.eclipse.scout.sdk.deps/org.eclipse.jdt.core

public DefaultCodeFormatter() {
  this(new DefaultCodeFormatterOptions(DefaultCodeFormatterConstants.getJavaConventionsSettings()), null);
}
origin: trylimits/Eclipse-Postfix-Code-Completion

public DefaultCodeFormatter() {
  this(new DefaultCodeFormatterOptions(DefaultCodeFormatterConstants.getJavaConventionsSettings()), null);
}
origin: org.jibx.config.3rdparty.org.eclipse/org.eclipse.jdt.core

public DefaultCodeFormatter(DefaultCodeFormatterOptions defaultCodeFormatterOptions, Map options) {
  if (options != null) {
    this.options = options;
    this.preferences = new DefaultCodeFormatterOptions(options);
  } else {
    this.options = JavaCore.getOptions();
    this.preferences = new DefaultCodeFormatterOptions(DefaultCodeFormatterConstants.getJavaConventionsSettings());
  }
  this.defaultCompilerOptions = getDefaultCompilerOptions();
  if (defaultCodeFormatterOptions != null) {
    this.preferences.set(defaultCodeFormatterOptions.getMap());
  }
}
origin: com.google.code.maven-play-plugin.org.eclipse.jdt/org.eclipse.jdt.core

public DefaultCodeFormatter(DefaultCodeFormatterOptions defaultCodeFormatterOptions, Map options) {
  if (options != null) {
    this.options = options;
    this.preferences = new DefaultCodeFormatterOptions(options);
  } else {
    this.options = JavaCore.getOptions();
    this.preferences = new DefaultCodeFormatterOptions(DefaultCodeFormatterConstants.getJavaConventionsSettings());
  }
  this.defaultCompilerOptions = getDefaultCompilerOptions();
  if (defaultCodeFormatterOptions != null) {
    this.preferences.set(defaultCodeFormatterOptions.getMap());
  }
}
origin: trylimits/Eclipse-Postfix-Code-Completion

public DefaultCodeFormatter(DefaultCodeFormatterOptions defaultCodeFormatterOptions, Map options) {
  if (options != null) {
    this.options = options;
    this.preferences = new DefaultCodeFormatterOptions(options);
  } else {
    this.options = JavaCore.getOptions();
    this.preferences = new DefaultCodeFormatterOptions(DefaultCodeFormatterConstants.getJavaConventionsSettings());
  }
  this.defaultCompilerOptions = getDefaultCompilerOptions();
  if (defaultCodeFormatterOptions != null) {
    this.preferences.set(defaultCodeFormatterOptions.getMap());
  }
}
origin: io.spring.javaformat/spring-javaformat-formatter-eclipse

private void initOptions(DefaultCodeFormatterOptions defaultCodeFormatterOptions, Map<String, String> options) {
  if (options != null) {
    this.originalOptions = new DefaultCodeFormatterOptions(options);
    this.workingOptions = new DefaultCodeFormatterOptions(options);
    this.oldCommentFormatOption = getOldCommentFormatOption(options);
    String compilerSource = options.get(CompilerOptions.OPTION_Source);
    this.sourceLevel = compilerSource != null ? compilerSource : CompilerOptions.VERSION_1_8;
  } else {
    Map<String, String> settings = DefaultCodeFormatterConstants.getJavaConventionsSettings();
    this.originalOptions = new DefaultCodeFormatterOptions(settings);
    this.workingOptions = new DefaultCodeFormatterOptions(settings);
    this.oldCommentFormatOption = DefaultCodeFormatterConstants.TRUE;
    this.sourceLevel = CompilerOptions.VERSION_1_8;
  }
  if (defaultCodeFormatterOptions != null) {
    this.originalOptions.set(defaultCodeFormatterOptions.getMap());
    this.workingOptions.set(defaultCodeFormatterOptions.getMap());
  }
}
origin: org.eclipse.jdt/org.eclipse.jdt.core

private void initOptions(DefaultCodeFormatterOptions defaultCodeFormatterOptions, Map<String, String> options) {
  if (options != null) {
    this.originalOptions = new DefaultCodeFormatterOptions(options);
    this.workingOptions = new DefaultCodeFormatterOptions(options);
    this.oldCommentFormatOption = getOldCommentFormatOption(options);
    String compilerSource = options.get(CompilerOptions.OPTION_Source);
    this.sourceLevel = compilerSource != null ? compilerSource : CompilerOptions.VERSION_1_8;
  } else {
    Map<String, String> settings = DefaultCodeFormatterConstants.getJavaConventionsSettings();
    this.originalOptions = new DefaultCodeFormatterOptions(settings);
    this.workingOptions = new DefaultCodeFormatterOptions(settings);
    this.oldCommentFormatOption = DefaultCodeFormatterConstants.TRUE;
    this.sourceLevel = CompilerOptions.VERSION_1_8;
  }
  if (defaultCodeFormatterOptions != null) {
    this.originalOptions.set(defaultCodeFormatterOptions.getMap());
    this.workingOptions.set(defaultCodeFormatterOptions.getMap());
  }
}
origin: org.eclipse.scout.sdk.deps/org.eclipse.jdt.core

private void initOptions(DefaultCodeFormatterOptions defaultCodeFormatterOptions, Map<String, String> options) {
  if (options != null) {
    this.originalOptions = new DefaultCodeFormatterOptions(options);
    this.workingOptions = new DefaultCodeFormatterOptions(options);
    this.oldCommentFormatOption = getOldCommentFormatOption(options);
    String compilerSource = options.get(CompilerOptions.OPTION_Source);
    this.sourceLevel = compilerSource != null ? compilerSource : CompilerOptions.VERSION_1_8;
  } else {
    Map<String, String> settings = DefaultCodeFormatterConstants.getJavaConventionsSettings();
    this.originalOptions = new DefaultCodeFormatterOptions(settings);
    this.workingOptions = new DefaultCodeFormatterOptions(settings);
    this.oldCommentFormatOption = DefaultCodeFormatterConstants.TRUE;
    this.sourceLevel = CompilerOptions.VERSION_1_8;
  }
  if (defaultCodeFormatterOptions != null) {
    this.originalOptions.set(defaultCodeFormatterOptions.getMap());
    this.workingOptions.set(defaultCodeFormatterOptions.getMap());
  }
}
origin: org.eclipse.tycho/org.eclipse.jdt.core

private void initOptions(DefaultCodeFormatterOptions defaultCodeFormatterOptions, Map<String, String> options) {
  if (options != null) {
    this.originalOptions = new DefaultCodeFormatterOptions(options);
    this.workingOptions = new DefaultCodeFormatterOptions(options);
    this.oldCommentFormatOption = getOldCommentFormatOption(options);
    String compilerSource = options.get(CompilerOptions.OPTION_Source);
    this.sourceLevel = compilerSource != null ? compilerSource : CompilerOptions.VERSION_1_8;
  } else {
    Map<String, String> settings = DefaultCodeFormatterConstants.getJavaConventionsSettings();
    this.originalOptions = new DefaultCodeFormatterOptions(settings);
    this.workingOptions = new DefaultCodeFormatterOptions(settings);
    this.oldCommentFormatOption = DefaultCodeFormatterConstants.TRUE;
    this.sourceLevel = CompilerOptions.VERSION_1_8;
  }
  if (defaultCodeFormatterOptions != null) {
    this.originalOptions.set(defaultCodeFormatterOptions.getMap());
    this.workingOptions.set(defaultCodeFormatterOptions.getMap());
  }
}
org.eclipse.jdt.core.formatterDefaultCodeFormatterConstantsgetJavaConventionsSettings

Javadoc

Returns the settings according to the Java conventions.

Popular methods of DefaultCodeFormatterConstants

  • createAlignmentValue
    Create a new alignment value according to the given values. This must be used to set up the alignmen
  • getEclipseDefaultSettings
    Returns the default Eclipse formatter settings
  • getEclipse21Settings
    Returns the formatter settings that most closely approximate the default formatter settings of Eclip
  • getForceWrapping
    Return the force value of the given alignment value. The given alignment value should be created usi
  • getIndentStyle
    Return the indentation style of the given alignment value. The given alignment value should be creat
  • getWrappingStyle
    Return the wrapping style of the given alignment value. The given alignment value should be created
  • setForceWrapping
    Set the force value of the given alignment value and return the new value. The given alignment value
  • setIndentStyle
    Set the indentation style of the given alignment value and return the new value. The given value sho
  • setWrappingStyle
    Set the wrapping style of the given alignment value and return the new value. The given value should

Popular in Java

  • Parsing JSON documents to java classes using gson
  • setContentView (Activity)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • scheduleAtFixedRate (ScheduledExecutorService)
  • GridLayout (java.awt)
    The GridLayout class is a layout manager that lays out a container's components in a rectangular gri
  • BufferedReader (java.io)
    Wraps an existing Reader and buffers the input. Expensive interaction with the underlying reader is
  • SocketTimeoutException (java.net)
    This exception is thrown when a timeout expired on a socket read or accept operation.
  • ExecutorService (java.util.concurrent)
    An Executor that provides methods to manage termination and methods that can produce a Future for tr
  • JButton (javax.swing)
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.> This module, both source code and documentation, is in t
  • Top 17 Plugins for Android Studio
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