aboutsummaryrefslogtreecommitdiff
path: root/src/test/resources/com/puppycrawl/tools/checkstyle/checks/naming
diff options
context:
space:
mode:
authorAndrei Selkin <andreyselkin@gmail.com>2015-11-04 23:11:52 +0300
committerRoman Ivanov <ivanov-jr@mail.ru>2015-11-04 13:44:55 -0800
commitc9b625bcf0e456e4f9cc99a249860129cdae3df4 (patch)
tree078f8f7af5d5013123c327a00ab7b4381c8eb9de /src/test/resources/com/puppycrawl/tools/checkstyle/checks/naming
parenta619bc13918d23861116ec46dd858aa69d698498 (diff)
downloadcheckstyle-c9b625bcf0e456e4f9cc99a249860129cdae3df4.tar.gz
Issue #2290: Add 'ignoreOverridden' option to skip methods with @Override annotation
Diffstat (limited to 'src/test/resources/com/puppycrawl/tools/checkstyle/checks/naming')
-rw-r--r--src/test/resources/com/puppycrawl/tools/checkstyle/checks/naming/InputOverrideAnnotation.java16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/test/resources/com/puppycrawl/tools/checkstyle/checks/naming/InputOverrideAnnotation.java b/src/test/resources/com/puppycrawl/tools/checkstyle/checks/naming/InputOverrideAnnotation.java
new file mode 100644
index 000000000..82d99508a
--- /dev/null
+++ b/src/test/resources/com/puppycrawl/tools/checkstyle/checks/naming/InputOverrideAnnotation.java
@@ -0,0 +1,16 @@
+package com.puppycrawl.tools.checkstyle.checks.naming;
+
+public class InputOverrideAnnotation {
+
+ @Override
+ public boolean equals(Object o) {
+ return super.equals(o);
+ }
+
+ @SuppressWarnings("")
+ public void foo(Object object) {
+
+ }
+
+ public void foo2(Integer aaaa) {}
+}