IDEA-164851 Inspection "redundant default parameter value assignment" does not work on all parame...

This commit is contained in:
Dmitry Avdeev
2017-03-07 18:14:58 +03:00
parent 7349cc7639
commit 65ddb4c454
3 changed files with 25 additions and 0 deletions
@@ -0,0 +1,10 @@
// "Remove redundant parameter" "true"
@interface Anno {
Class foo() default void.class;
}
@Anno()
class Foo {
}
@@ -0,0 +1,10 @@
// "Remove redundant parameter" "true"
@interface Anno {
Class foo() default void.class;
}
@Anno(foo = vo<caret>id.class)
class Foo {
}