mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
ChangeSignatureTest fix
This commit is contained in:
+2
-5
@@ -452,11 +452,8 @@ public abstract class GroovyRefactoringUtil {
|
||||
if (ref instanceof GrEnumConstant) return (GrEnumConstant)ref;
|
||||
if (ref instanceof GrConstructorInvocation) return (GrCall)ref;
|
||||
PsiElement parent = ref.getParent();
|
||||
if (parent instanceof GrMethodCallExpression) {
|
||||
return (GrMethodCallExpression)parent;
|
||||
}
|
||||
else if (parent instanceof GrNewExpression) {
|
||||
return (GrNewExpression)parent;
|
||||
if (parent instanceof GrCall) {
|
||||
return (GrCall)parent;
|
||||
}
|
||||
else {
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user