void (@NotNull PsiNewExpression expression) { PsiExpression[] arrayDimensions = expression.getArrayDimensions(); for (PsiExpression dimension : arrayDimensions) { if (myExpr.equals(dimension)) { myResult.add(createInfoImpl(PsiTypes.intType(), PsiTypes.intType())); return; } } }