mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-30 02:09:59 +07:00
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.
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
// "Remove redundant parameter" "false"
|
||||
|
||||
@interface Anno {
|
||||
Class foo() default void.class;
|
||||
}
|
||||
|
||||
@Anno(foo = Vo<caret>id.class)
|
||||
class Foo {
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user