public class GenerateEqualsHelper
extends java.lang.Object
implements java.lang.Runnable
Constructor and Description |
---|
GenerateEqualsHelper(Project project,
PsiClass aClass,
PsiField[] equalsFields,
PsiField[] hashCodeFields,
PsiField[] nonNullFields,
boolean useInstanceofToCheckParameterType) |
GenerateEqualsHelper(Project project,
PsiClass aClass,
PsiField[] equalsFields,
PsiField[] hashCodeFields,
PsiField[] nonNullFields,
boolean useInstanceofToCheckParameterType,
boolean useAccessors) |
Modifier and Type | Method and Description |
---|---|
void |
executeWithDefaultTemplateWhenNotApplicable() |
java.util.Collection<PsiMethod> |
generateMembers() |
static java.util.Map<java.lang.String,PsiType> |
getEqualsImplicitVars(Project project) |
static MethodSignature |
getEqualsSignature(Project project,
GlobalSearchScope scope) |
static java.util.Map<java.lang.String,PsiType> |
getHashCodeImplicitVars() |
static MethodSignature |
getHashCodeSignature() |
void |
invoke() |
static boolean |
isArrayOfObjects(PsiType aType) |
void |
run() |
public GenerateEqualsHelper(Project project, PsiClass aClass, PsiField[] equalsFields, PsiField[] hashCodeFields, PsiField[] nonNullFields, boolean useInstanceofToCheckParameterType)
public void run()
run
in interface java.lang.Runnable
public java.util.Collection<PsiMethod> generateMembers() throws IncorrectOperationException
IncorrectOperationException
public static java.util.Map<java.lang.String,PsiType> getEqualsImplicitVars(Project project)
public static java.util.Map<java.lang.String,PsiType> getHashCodeImplicitVars()
public void invoke()
public void executeWithDefaultTemplateWhenNotApplicable()
public static boolean isArrayOfObjects(PsiType aType)
public static MethodSignature getHashCodeSignature()
public static MethodSignature getEqualsSignature(Project project, GlobalSearchScope scope)