void () { PsiFile file = myFixture.configureByText(JavaFileType.INSTANCE, "package a; class A {{new Double(0.<caret>)}}"); List<PsiExpression> expressions = CommonJavaRefactoringUtil.collectExpressions(file, myFixture.getEditor(), myFixture.getCaretOffset(), false); assertSize(2, expressions); }