diff options
Diffstat (limited to 'test/lombok/resource/after')
-rw-r--r-- | test/lombok/resource/after/CleanupName.java | 10 | ||||
-rw-r--r-- | test/lombok/resource/after/CleanupPlain.java | 18 | ||||
-rw-r--r-- | test/lombok/resource/after/CommentsInterspersed.java | 15 | ||||
-rw-r--r-- | test/lombok/resource/after/GetterAccessLevel.java | 19 | ||||
-rw-r--r-- | test/lombok/resource/after/GetterAlreadyExists.java | 132 | ||||
-rw-r--r-- | test/lombok/resource/after/GetterBoolean.java | 20 | ||||
-rw-r--r-- | test/lombok/resource/after/GetterPlain.java | 10 | ||||
-rw-r--r-- | test/lombok/resource/after/NonNullPlain.java | 25 | ||||
-rw-r--r-- | test/lombok/resource/after/SetterAccessLevel.java | 19 | ||||
-rw-r--r-- | test/lombok/resource/after/SetterAlreadyExists.java | 35 | ||||
-rw-r--r-- | test/lombok/resource/after/SetterPlain.java | 10 | ||||
-rw-r--r-- | test/lombok/resource/after/SynchronizedName.java | 20 | ||||
-rw-r--r-- | test/lombok/resource/after/SynchronizedPlain.java | 26 |
13 files changed, 0 insertions, 359 deletions
diff --git a/test/lombok/resource/after/CleanupName.java b/test/lombok/resource/after/CleanupName.java deleted file mode 100644 index 26997372..00000000 --- a/test/lombok/resource/after/CleanupName.java +++ /dev/null @@ -1,10 +0,0 @@ -class Cleanup { - void test() throws Exception { - Object o = "Hello World!"; - try { - System.out.println(o); - } finally { - o.toString(); - } - } -} diff --git a/test/lombok/resource/after/CleanupPlain.java b/test/lombok/resource/after/CleanupPlain.java deleted file mode 100644 index 35d51543..00000000 --- a/test/lombok/resource/after/CleanupPlain.java +++ /dev/null @@ -1,18 +0,0 @@ -import java.io.*; -class CleanupPlain { - void test() throws Exception { - InputStream in = new FileInputStream("in"); - try { - OutputStream out = new FileOutputStream("out"); - try { - if (in.markSupported()) { - out.flush(); - } - } finally { - out.close(); - } - } finally { - in.close(); - } - } -} diff --git a/test/lombok/resource/after/CommentsInterspersed.java b/test/lombok/resource/after/CommentsInterspersed.java deleted file mode 100644 index ddc716c9..00000000 --- a/test/lombok/resource/after/CommentsInterspersed.java +++ /dev/null @@ -1,15 +0,0 @@ -/* cmt *//* cmt2 */ /* cmt3 */ /*bla */ -public class CommentsInterspersed { - /** javadoc for field */ - private int x; - /* bla2 */ private String test = "foo"; //$NON-NLS-1$ - /** Javadoc on method */ - public native void gwtTest(); /*-{ - javascript; - }-*/ - public String getTest() { - return test; - } -} //haha! -//hahaha! -//hahahaha! diff --git a/test/lombok/resource/after/GetterAccessLevel.java b/test/lombok/resource/after/GetterAccessLevel.java deleted file mode 100644 index eec84e85..00000000 --- a/test/lombok/resource/after/GetterAccessLevel.java +++ /dev/null @@ -1,19 +0,0 @@ -class Getter { - boolean isNone; - boolean isPrivate; - boolean isPackage; - boolean isProtected; - boolean isPublic; - private boolean isPrivate() { - return isPrivate; - } - boolean isPackage() { - return isPackage; - } - protected boolean isProtected() { - return isProtected; - } - public boolean isPublic() { - return isPublic; - } -} diff --git a/test/lombok/resource/after/GetterAlreadyExists.java b/test/lombok/resource/after/GetterAlreadyExists.java deleted file mode 100644 index fce1ba41..00000000 --- a/test/lombok/resource/after/GetterAlreadyExists.java +++ /dev/null @@ -1,132 +0,0 @@ -class Getter1 { - boolean foo; - boolean hasFoo() { - return true; - } -} -class Getter2 { - boolean foo; - boolean isFoo() { - return true; - } -} -class Getter3 { - boolean foo; - boolean getFoo() { - return true; - } -} -class Getter4 { - String foo; - String hasFoo() { - return null; - } - public String getFoo() { - return foo; - } -} -class Getter5 { - String foo; - String isFoo() { - return null; - } - public String getFoo() { - return foo; - } -} -class Getter6 { - String foo; - String getFoo() { - return null; - } -} -class Getter7 { - String foo; - boolean hasFoo() { - return false; - } - public String getFoo() { - return foo; - } -} -class Getter8 { - String foo; - boolean isFoo() { - return false; - } - public String getFoo() { - return foo; - } -} -class Getter9 { - String foo; - boolean getFoo() { - return false; - } -} -class Getter10 { - boolean foo; - static boolean hasFoo() { - return false; - } -} -class Getter11 { - boolean foo; - static boolean isFoo() { - return false; - } -} -class Getter12 { - boolean foo; - static boolean getFoo() { - return false; - } -} -class Getter13 { - String foo; - static boolean hasFoo() { - return false; - } - public String getFoo() { - return foo; - } -} -class Getter14 { - String foo; - static boolean isFoo() { - return false; - } - public String getFoo() { - return foo; - } -} -class Getter15 { - String foo; - static boolean getFoo() { - return false; - } -} -class Getter16 { - String foo; - static String hasFoo() { - return false; - } - public String getFoo() { - return foo; - } -} -class Getter17 { - String foo; - static String isFoo() { - return false; - } - public String getFoo() { - return foo; - } -} -class Getter18 { - String foo; - static String getFoo() { - return false; - } -}
\ No newline at end of file diff --git a/test/lombok/resource/after/GetterBoolean.java b/test/lombok/resource/after/GetterBoolean.java deleted file mode 100644 index 639d6dc9..00000000 --- a/test/lombok/resource/after/GetterBoolean.java +++ /dev/null @@ -1,20 +0,0 @@ -class Getter { - boolean foo; - boolean isBar; - boolean hasBaz; - public boolean isFoo() { - return foo; - } - public boolean isBar() { - return isBar; - } - public boolean hasBaz() { - return hasBaz; - } -} -class MoreGetter { - boolean foo; - boolean hasFoo() { - return true; - } -}
\ No newline at end of file diff --git a/test/lombok/resource/after/GetterPlain.java b/test/lombok/resource/after/GetterPlain.java deleted file mode 100644 index 5e8cc965..00000000 --- a/test/lombok/resource/after/GetterPlain.java +++ /dev/null @@ -1,10 +0,0 @@ -class GetterPlain { - int i; - int foo; - public int getI() { - return i; - } - public int getFoo() { - return foo; - } -}
\ No newline at end of file diff --git a/test/lombok/resource/after/NonNullPlain.java b/test/lombok/resource/after/NonNullPlain.java deleted file mode 100644 index 2d7ebb4f..00000000 --- a/test/lombok/resource/after/NonNullPlain.java +++ /dev/null @@ -1,25 +0,0 @@ -class NonNullPlain { - @lombok.NonNull - int i; - @lombok.NonNull - String s; - - @lombok.NonNull - public int getI() { - return i; - } - - public void setI(@lombok.NonNull final int i) { - this.i = i; - } - - @lombok.NonNull - public String getS() { - return s; - } - - public void setS(@lombok.NonNull final String s) { - if (s == null) throw new java.lang.NullPointerException("s"); - this.s = s; - } -} diff --git a/test/lombok/resource/after/SetterAccessLevel.java b/test/lombok/resource/after/SetterAccessLevel.java deleted file mode 100644 index 95179bac..00000000 --- a/test/lombok/resource/after/SetterAccessLevel.java +++ /dev/null @@ -1,19 +0,0 @@ -class Setter { - boolean isNone; - boolean isPrivate; - boolean isPackage; - boolean isProtected; - boolean isPublic; - private void setIsPrivate(final boolean isPrivate) { - this.isPrivate = isPrivate; - } - void setIsPackage(final boolean isPackage) { - this.isPackage = isPackage; - } - protected void setIsProtected(final boolean isProtected) { - this.isProtected = isProtected; - } - public void setIsPublic(final boolean isPublic) { - this.isPublic = isPublic; - } -} diff --git a/test/lombok/resource/after/SetterAlreadyExists.java b/test/lombok/resource/after/SetterAlreadyExists.java deleted file mode 100644 index e4992b29..00000000 --- a/test/lombok/resource/after/SetterAlreadyExists.java +++ /dev/null @@ -1,35 +0,0 @@ -class Setter1 { - boolean foo; - void setFoo(boolean foo) { - } -} -class Setter2 { - boolean foo; - void setFoo(String foo) { - } -} -class Setter3 { - String foo; - void setFoo(boolean foo) { - } -} -class Setter4 { - String foo; - void setFoo(String foo) { - } -} -class Setter5 { - String foo; - void setFoo() { - } -} -class Setter6 { - String foo; - void setFoo(String foo, int x) { - } -} -class Setter7 { - String foo; - static void setFoo() { - } -} diff --git a/test/lombok/resource/after/SetterPlain.java b/test/lombok/resource/after/SetterPlain.java deleted file mode 100644 index 8faad0ec..00000000 --- a/test/lombok/resource/after/SetterPlain.java +++ /dev/null @@ -1,10 +0,0 @@ -class SetterPlain { - int i; - int foo; - public void setI(final int i) { - this.i = i; - } - public void setFoo(final int foo) { - this.foo = foo; - } -}
\ No newline at end of file diff --git a/test/lombok/resource/after/SynchronizedName.java b/test/lombok/resource/after/SynchronizedName.java deleted file mode 100644 index a3e64796..00000000 --- a/test/lombok/resource/after/SynchronizedName.java +++ /dev/null @@ -1,20 +0,0 @@ -class SynchronizedName { - private Object read = new Object(); - private static Object READ = new Object(); - void test1() { - synchronized (read) { - System.out.println("one"); - } - } - void test2() { - System.out.println("two"); - } - static void test3() { - System.out.println("three"); - } - void test4() { - synchronized (READ) { - System.out.println("four"); - } - } -} diff --git a/test/lombok/resource/after/SynchronizedPlain.java b/test/lombok/resource/after/SynchronizedPlain.java deleted file mode 100644 index fcbe03f2..00000000 --- a/test/lombok/resource/after/SynchronizedPlain.java +++ /dev/null @@ -1,26 +0,0 @@ -class SynchronizedPlain1 { - void test() { - synchronized ($lock) { - System.out.println("one"); - } - } - void test2() { - synchronized ($lock) { - System.out.println("two"); - } - } - private final java.lang.Object $lock = new java.lang.Object[0]; -} -class SynchronizedPlain2 { - static void test() { - synchronized ($LOCK) { - System.out.println("three"); - } - } - static void test2() { - synchronized ($LOCK) { - System.out.println("four"); - } - } - private static final java.lang.Object $LOCK = new java.lang.Object[0]; -}
\ No newline at end of file |