public abstract class NamingConvention<T extends PsiNameIdentifierOwner>
extends java.lang.Object
Constructor and Description |
---|
NamingConvention() |
Modifier and Type | Method and Description |
---|---|
abstract NamingConventionBean |
createDefaultBean() |
java.lang.String |
createErrorMessage(java.lang.String name,
NamingConventionBean bean) |
abstract java.lang.String |
getElementDescription() |
abstract java.lang.String |
getShortName() |
abstract boolean |
isApplicable(T member) |
boolean |
isEnabledByDefault() |
boolean |
isValid(T member,
NamingConventionBean bean) |
public abstract boolean isApplicable(T member)
true
, wins.public abstract java.lang.String getElementDescription()
public abstract java.lang.String getShortName()
AbstractNamingConventionMerger
),
short name should be equal to the old tool namepublic abstract NamingConventionBean createDefaultBean()
public boolean isEnabledByDefault()
public java.lang.String createErrorMessage(java.lang.String name, NamingConventionBean bean)
public boolean isValid(T member, NamingConventionBean bean)