mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[groovy] @NotNull and @Override
This commit is contained in:
+3
-1
@@ -33,7 +33,7 @@ public class GroovyResolveResultImpl implements GroovyResolveResult {
|
||||
private final boolean myIsStaticsOK;
|
||||
private final boolean myIsApplicable;
|
||||
|
||||
private final PsiSubstitutor mySubstitutor;
|
||||
private final @NotNull PsiSubstitutor mySubstitutor;
|
||||
private final boolean myIsInvokedOnProperty;
|
||||
|
||||
private final @Nullable PsiElement myCurrentFileResolveContext;
|
||||
@@ -102,6 +102,7 @@ public class GroovyResolveResultImpl implements GroovyResolveResult {
|
||||
return isAccessible() && isApplicable() && isStaticsOK();
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object o) {
|
||||
if (this == o) return true;
|
||||
if (o == null || getClass() != o.getClass()) return false;
|
||||
@@ -112,6 +113,7 @@ public class GroovyResolveResultImpl implements GroovyResolveResult {
|
||||
myElement.getManager().areElementsEquivalent(myElement, that.myElement);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
int result = 0;
|
||||
if (myElement instanceof PsiNamedElement) {
|
||||
|
||||
Reference in New Issue
Block a user