aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-eclipse/InjectField.java
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2012-02-14 17:11:15 +0100
committerReinier Zwitserloot <reinier@zwitserloot.com>2012-02-14 17:11:15 +0100
commit9a50da2d092f86eef6e00e0f518039ad3ef53ec8 (patch)
treea5bfc35f6685b745540670aca136423d6bf3516a /test/transform/resource/after-eclipse/InjectField.java
parent06581537f24fe31ee096960be496bc503059a95e (diff)
downloadlombok-9a50da2d092f86eef6e00e0f518039ad3ef53ec8.tar.gz
lombok-9a50da2d092f86eef6e00e0f518039ad3ef53ec8.tar.bz2
lombok-9a50da2d092f86eef6e00e0f518039ad3ef53ec8.zip
ecj tests and eclipse tests are now effectively doing the same thing, except the ecj tests are written in a slightly more close-to-reality way, and do work for 'val'. eclipse test aspect removed.
Diffstat (limited to 'test/transform/resource/after-eclipse/InjectField.java')
-rw-r--r--test/transform/resource/after-eclipse/InjectField.java63
1 files changed, 0 insertions, 63 deletions
diff --git a/test/transform/resource/after-eclipse/InjectField.java b/test/transform/resource/after-eclipse/InjectField.java
deleted file mode 100644
index 83d9e5fa..00000000
--- a/test/transform/resource/after-eclipse/InjectField.java
+++ /dev/null
@@ -1,63 +0,0 @@
-import java.util.logging.Level;
-import lombok.extern.java.Log;
-import lombok.Synchronized;
-@Log enum InjectField1 {
- A(),
- B(),
- private final java.lang.Object $lock = new java.lang.Object[0];
- private static final java.lang.Object $LOCK = new java.lang.Object[0];
- private static final java.util.logging.Logger log = java.util.logging.Logger.getLogger(InjectField1.class.getName());
- private static final String LOG_MESSAGE = "static initializer";
- private String fieldA;
- static {
- log.log(Level.FINE, LOG_MESSAGE);
- }
- private String fieldB;
- <clinit>() {
- }
- InjectField1() {
- super();
- }
- @Synchronized void generateLockField() {
- synchronized (this.$lock)
- {
- System.out.println("lock field");
- }
- }
- static @Synchronized void generateStaticLockField() {
- synchronized (InjectField1.$LOCK)
- {
- System.out.println("static lock field");
- }
- }
-}
-@Log class InjectField2 {
- private final java.lang.Object $lock = new java.lang.Object[0];
- private static final java.util.logging.Logger log = java.util.logging.Logger.getLogger(InjectField2.class.getName());
- private static final String LOG_MESSAGE = "static initializer";
- static {
- log.log(Level.FINE, LOG_MESSAGE);
- }
- <clinit>() {
- }
- InjectField2() {
- super();
- }
- @Synchronized void generateLockField() {
- synchronized (this.$lock)
- {
- System.out.println("lock field");
- }
- }
-}
-@Log class InjectField3 {
- private static final java.util.logging.Logger log = java.util.logging.Logger.getLogger(InjectField3.class.getName());
- static {
- log.log(Level.FINE, "static initializer");
- }
- <clinit>() {
- }
- InjectField3() {
- super();
- }
-}