DefaultAnnotationParamInspection

This commit is contained in:
Dmitry Avdeev
2015-12-03 11:09:02 +03:00
parent 21d1b968b0
commit ad9d9397fc
7 changed files with 137 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
// "Remove redundant parameter" "true"
@interface Anno {
boolean foo() default true;
}
@Anno()
class Foo {
}

View File

@@ -0,0 +1,10 @@
// "Remove redundant parameter" "true"
@interface Anno {
boolean foo() default true;
}
@Anno(foo = tr<caret>ue)
class Foo {
}