public class EqualsHashCodeTemplatesManager extends TemplatesManager
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
EQUALS_HASH_CODE_BUILDER_APACHE_COMMONS_LANG |
static java.lang.String |
EQUALS_HASH_CODE_BUILDER_APACHE_COMMONS_LANG_3 |
static java.lang.String |
INTELLI_J_DEFAULT |
static java.lang.String |
JAVA_UTIL_OBJECTS_EQUALS_AND_HASH_CODE |
static java.lang.String |
OBJECTS_EQUAL_AND_HASH_CODE_GUAVA |
TEMPLATE_IMPLICITS
Constructor and Description |
---|
EqualsHashCodeTemplatesManager() |
Modifier and Type | Method and Description |
---|---|
TemplateResource |
getDefaultEqualsTemplate() |
TemplateResource |
getDefaultHashcodeTemplate() |
java.lang.String |
getDefaultTemplateBaseName() |
TemplateResource[] |
getDefaultTemplates() |
TemplateResource |
getEqualsTemplate(TemplateResource template) |
TemplateResource |
getHashcodeTemplate(TemplateResource template) |
protected java.lang.String |
getInitialTemplateName() |
static EqualsHashCodeTemplatesManager |
getInstance() |
static java.lang.String |
getTemplateBaseName(TemplateResource resource) |
java.util.Collection<Couple<TemplateResource>> |
getTemplateCouples() |
void |
setDefaultTemplate(java.lang.String name) |
static java.lang.String |
toEqualsName(java.lang.String name) |
static java.lang.String |
toHashCodeName(java.lang.String name) |
addTemplate, createElementType, createFieldListElementType, findTemplateByName, getAllTemplates, getDefaultTemplate, getState, loadState, readFile, removeTemplate, setDefaultTemplate, setTemplates
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
initializeComponent, noStateLoaded
public static final java.lang.String INTELLI_J_DEFAULT
public static final java.lang.String EQUALS_HASH_CODE_BUILDER_APACHE_COMMONS_LANG
public static final java.lang.String EQUALS_HASH_CODE_BUILDER_APACHE_COMMONS_LANG_3
public static final java.lang.String OBJECTS_EQUAL_AND_HASH_CODE_GUAVA
public static final java.lang.String JAVA_UTIL_OBJECTS_EQUALS_AND_HASH_CODE
public static EqualsHashCodeTemplatesManager getInstance()
public TemplateResource[] getDefaultTemplates()
getDefaultTemplates
in class TemplatesManager
public TemplateResource getDefaultEqualsTemplate()
public TemplateResource getDefaultHashcodeTemplate()
public TemplateResource getEqualsTemplate(TemplateResource template)
public TemplateResource getHashcodeTemplate(TemplateResource template)
public static java.lang.String getTemplateBaseName(TemplateResource resource)
public void setDefaultTemplate(java.lang.String name)
protected java.lang.String getInitialTemplateName()
getInitialTemplateName
in class TemplatesManager
public java.lang.String getDefaultTemplateBaseName()
public static java.lang.String toEqualsName(java.lang.String name)
public static java.lang.String toHashCodeName(java.lang.String name)
public java.util.Collection<Couple<TemplateResource>> getTemplateCouples()