summaryrefslogtreecommitdiff
path: root/resources-en/src/intentionDescriptions/AddOverrideAnnotationAction
diff options
context:
space:
mode:
authorJean-Baptiste Queru <jbq@google.com>2013-01-08 11:11:20 -0800
committerJean-Baptiste Queru <jbq@google.com>2013-01-08 11:11:20 -0800
commitb56ea2a18f232d79481e778085fd64e8ae486fc3 (patch)
tree44e1f6eb4864a45033f865b74fe783e3d784dd6a /resources-en/src/intentionDescriptions/AddOverrideAnnotationAction
downloadidea-b56ea2a18f232d79481e778085fd64e8ae486fc3.tar.gz
Snapshot of commit d5ec1d5018ed24f1b4f32b1d09df6dbd7e2fc425
from branch master of git://git.jetbrains.org/idea/community.git
Diffstat (limited to 'resources-en/src/intentionDescriptions/AddOverrideAnnotationAction')
-rw-r--r--resources-en/src/intentionDescriptions/AddOverrideAnnotationAction/after.java.template7
-rw-r--r--resources-en/src/intentionDescriptions/AddOverrideAnnotationAction/before.java.template6
-rw-r--r--resources-en/src/intentionDescriptions/AddOverrideAnnotationAction/description.html6
3 files changed, 19 insertions, 0 deletions
diff --git a/resources-en/src/intentionDescriptions/AddOverrideAnnotationAction/after.java.template b/resources-en/src/intentionDescriptions/AddOverrideAnnotationAction/after.java.template
new file mode 100644
index 000000000000..e54eda03c0ef
--- /dev/null
+++ b/resources-en/src/intentionDescriptions/AddOverrideAnnotationAction/after.java.template
@@ -0,0 +1,7 @@
+class MyReluctantClassLoader extends ClassLoader {
+ @Override
+ public Class<?> loadClass(String name)
+ throws ClassNotFoundException {
+ return null;
+ }
+} \ No newline at end of file
diff --git a/resources-en/src/intentionDescriptions/AddOverrideAnnotationAction/before.java.template b/resources-en/src/intentionDescriptions/AddOverrideAnnotationAction/before.java.template
new file mode 100644
index 000000000000..e3290a3578da
--- /dev/null
+++ b/resources-en/src/intentionDescriptions/AddOverrideAnnotationAction/before.java.template
@@ -0,0 +1,6 @@
+class MyReluctantClassLoader extends ClassLoader {
+ <spot>public Class<?> loadClass(String name)
+ throws ClassNotFoundException</spot> {
+ return null;
+ }
+} \ No newline at end of file
diff --git a/resources-en/src/intentionDescriptions/AddOverrideAnnotationAction/description.html b/resources-en/src/intentionDescriptions/AddOverrideAnnotationAction/description.html
new file mode 100644
index 000000000000..b65352003f10
--- /dev/null
+++ b/resources-en/src/intentionDescriptions/AddOverrideAnnotationAction/description.html
@@ -0,0 +1,6 @@
+<html>
+<body>
+This intention adds standard <b>Java 5.0</b> annotation <b><font color="#000080">@Override</font></b>
+to the method which has been found to override non-abstract method in the base class. <br>
+</body>
+</html>