summaryrefslogtreecommitdiffstats
path: root/src/test/TestAnnotationsEclipse.java
diff options
context:
space:
mode:
authorRoman Shevchenko <roman.shevchenko@jetbrains.com>2014-05-19 15:04:06 +0400
committerRoman Shevchenko <roman.shevchenko@jetbrains.com>2014-05-19 15:04:06 +0400
commit78ef309b3ee19cf0decddf2541d80f4dca8eb299 (patch)
tree66e6359d5019064c2d1bfce883cfca35fc24462b /src/test/TestAnnotationsEclipse.java
parent4d48812ad04a70a26c27b6524d43c474d67bedd5 (diff)
downloadfernflower-78ef309b3ee19cf0decddf2541d80f4dca8eb299.tar
fernflower-78ef309b3ee19cf0decddf2541d80f4dca8eb299.tar.gz
fernflower-78ef309b3ee19cf0decddf2541d80f4dca8eb299.tar.lz
fernflower-78ef309b3ee19cf0decddf2541d80f4dca8eb299.tar.xz
fernflower-78ef309b3ee19cf0decddf2541d80f4dca8eb299.zip
project cleanup
- test classes (src/test/*) moved to separate root - stray .class files dropped - binary files (bin/, dist/full/, dist/obfuscated/) excluded from the repo - .classpath and .gitignore updated accordingly - invalid import statements removed
Diffstat (limited to 'src/test/TestAnnotationsEclipse.java')
-rw-r--r--src/test/TestAnnotationsEclipse.java42
1 files changed, 0 insertions, 42 deletions
diff --git a/src/test/TestAnnotationsEclipse.java b/src/test/TestAnnotationsEclipse.java
deleted file mode 100644
index 42a06c0..0000000
--- a/src/test/TestAnnotationsEclipse.java
+++ /dev/null
@@ -1,42 +0,0 @@
-package test;
-
-import java.lang.annotation.Annotation;
-import java.lang.annotation.Retention;
-import java.lang.annotation.RetentionPolicy;
-import java.lang.reflect.Constructor;
-import java.lang.reflect.Method;
-
-public class TestAnnotationsEclipse {
-
- public String a;
-
- @Retention(RetentionPolicy.CLASS)
- @interface MyAnnotation {}
-
- public static void main(String[] args) {
-
- TestInner a = new TestAnnotationsEclipse().new TestInner();
-
- for(Constructor mt : a.getClass().getConstructors()) {
-
- Annotation[][] ann = mt.getParameterAnnotations();
-
- System.out.println(ann.length);
- }
- }
-
- protected class TestInner {
-
- public TestInner() {}
-
- public TestInner(String param1, Object param2, @MyAnnotation boolean param3) {
- System.out.println(param1);
- System.out.println(param2);
- System.out.println(param3);
- }
-
- public void accessField() {
- System.out.println(TestAnnotationsEclipse.this.a);
- }
- }
-}