PsiElement (GrNamedArgument otherNamedArgument, String argumentName) { PsiElement parent = otherNamedArgument.getParent(); if (!(parent instanceof GrNamedArgumentsOwner)) return null; GrNamedArgument namedArgument = ((GrNamedArgumentsOwner)parent).findNamedArgument(argumentName); if (namedArgument == null) return null; return namedArgument.getExpression(); }