public abstract class PredefinedCodeStyle
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static PredefinedCodeStyle[] |
EMPTY_ARRAY |
static ExtensionPointName<PredefinedCodeStyle> |
EP_NAME |
Constructor and Description |
---|
PredefinedCodeStyle(java.lang.String name,
Language language) |
Modifier and Type | Method and Description |
---|---|
void |
apply(CodeStyleSettings settings)
Applies the predefined code style to given settings.
|
void |
apply(CodeStyleSettings settings,
Language language)
Applies the predefined code style to given settings.
|
boolean |
equals(java.lang.Object obj) |
Language |
getLanguage() |
java.lang.String |
getName() |
int |
hashCode() |
boolean |
isApplicableToLanguage(Language language)
Check whether this style is applicable to the given language.
|
java.lang.String |
toString() |
public static final ExtensionPointName<PredefinedCodeStyle> EP_NAME
public static final PredefinedCodeStyle[] EMPTY_ARRAY
public PredefinedCodeStyle(java.lang.String name, Language language)
public void apply(CodeStyleSettings settings)
settings
- The settings to change.public void apply(CodeStyleSettings settings, Language language)
settings
- The settings to change.language
- The language the given settings should be applied to.public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String getName()
public java.lang.String toString()
toString
in class java.lang.Object
public Language getLanguage()
public boolean isApplicableToLanguage(Language language)
getLanguage()
one.language
- the language to check.