Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/defaultAnnotationParamValue/before5.java
Tagir Valeev 389e6a828d ConstantExpressionVisitor: for class access expression return the operand type
Before for String.class the "Class<String> type was returned (instead of simply "String" type). This was usually fine, but for int.class and Integer.class the same "Class<Integer>" type was returned, despite the constants are different.
2017-09-28 13:15:14 +07:00

11 lines
142 B
Java

// "Remove redundant parameter" "false"
@interface Anno {
Class foo() default void.class;
}
@Anno(foo = Vo<caret>id.class)
class Foo {
}