PsiExpression (@Nullable PsiExpression expression) { PsiMethodCallExpression call = ObjectUtils.tryCast(PsiUtil.skipParenthesizedExprDown(expression), PsiMethodCallExpression.class); if (call == null) return null; PsiExpression[] args = call.getArgumentList().getExpressions(); if (args.length == 1 && isGetCall(call) && isQualifierEquivalent(ExpressionUtils.getEffectiveQualifier(call.getMethodExpression()))) { return args[0]; } return null; }