Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephan Herrmann2010-04-01 21:27:38 +0000
committerStephan Herrmann2010-04-01 21:27:38 +0000
commit0455403a2a7bd0a1d43942530bcd6062c878cff4 (patch)
tree6951b7d0125b2d05fb76d3536362713b74a75f20 /othersrc/JCLMin1.5/src/java/lang
parentf9a675bc351a4c5da160af17ac11fcafa31570c3 (diff)
downloadorg.eclipse.objectteams-0455403a2a7bd0a1d43942530bcd6062c878cff4.tar.gz
org.eclipse.objectteams-0455403a2a7bd0a1d43942530bcd6062c878cff4.tar.xz
org.eclipse.objectteams-0455403a2a7bd0a1d43942530bcd6062c878cff4.zip
initial commit in accordance with CQ 3784
Diffstat (limited to 'othersrc/JCLMin1.5/src/java/lang')
-rw-r--r--othersrc/JCLMin1.5/src/java/lang/Boolean.java5
-rw-r--r--othersrc/JCLMin1.5/src/java/lang/CharSequence.java5
-rw-r--r--othersrc/JCLMin1.5/src/java/lang/Class.java6
-rw-r--r--othersrc/JCLMin1.5/src/java/lang/ClassCastException.java5
-rw-r--r--othersrc/JCLMin1.5/src/java/lang/CloneNotSupportedException.java4
-rw-r--r--othersrc/JCLMin1.5/src/java/lang/Comparable.java4
-rw-r--r--othersrc/JCLMin1.5/src/java/lang/Enum.java13
-rw-r--r--othersrc/JCLMin1.5/src/java/lang/Error.java4
-rw-r--r--othersrc/JCLMin1.5/src/java/lang/Exception.java4
-rw-r--r--othersrc/JCLMin1.5/src/java/lang/IllegalArgumentException.java9
-rw-r--r--othersrc/JCLMin1.5/src/java/lang/IllegalMonitorStateException.java4
-rw-r--r--othersrc/JCLMin1.5/src/java/lang/Integer.java5
-rw-r--r--othersrc/JCLMin1.5/src/java/lang/InterruptedException.java4
-rw-r--r--othersrc/JCLMin1.5/src/java/lang/Iterable.java7
-rw-r--r--othersrc/JCLMin1.5/src/java/lang/Object.java34
-rw-r--r--othersrc/JCLMin1.5/src/java/lang/RuntimeException.java4
-rw-r--r--othersrc/JCLMin1.5/src/java/lang/String.java7
-rw-r--r--othersrc/JCLMin1.5/src/java/lang/SuppressWarnings.java11
-rw-r--r--othersrc/JCLMin1.5/src/java/lang/Thread.java7
-rw-r--r--othersrc/JCLMin1.5/src/java/lang/ThreadLocal.java5
-rw-r--r--othersrc/JCLMin1.5/src/java/lang/Throwable.java4
-rw-r--r--othersrc/JCLMin1.5/src/java/lang/annotation/Annotation.java5
-rw-r--r--othersrc/JCLMin1.5/src/java/lang/annotation/ElementType.java5
-rw-r--r--othersrc/JCLMin1.5/src/java/lang/annotation/Retention.java7
-rw-r--r--othersrc/JCLMin1.5/src/java/lang/annotation/RetentionPolicy.java5
-rw-r--r--othersrc/JCLMin1.5/src/java/lang/annotation/Target.java7
-rw-r--r--othersrc/JCLMin1.5/src/java/lang/reflect/Array.java6
27 files changed, 186 insertions, 0 deletions
diff --git a/othersrc/JCLMin1.5/src/java/lang/Boolean.java b/othersrc/JCLMin1.5/src/java/lang/Boolean.java
new file mode 100644
index 000000000..a83139621
--- /dev/null
+++ b/othersrc/JCLMin1.5/src/java/lang/Boolean.java
@@ -0,0 +1,5 @@
+package java.lang;
+
+public class Boolean {
+
+}
diff --git a/othersrc/JCLMin1.5/src/java/lang/CharSequence.java b/othersrc/JCLMin1.5/src/java/lang/CharSequence.java
new file mode 100644
index 000000000..b9a0d9e41
--- /dev/null
+++ b/othersrc/JCLMin1.5/src/java/lang/CharSequence.java
@@ -0,0 +1,5 @@
+package java.lang;
+
+public interface CharSequence {
+ int length();
+}
diff --git a/othersrc/JCLMin1.5/src/java/lang/Class.java b/othersrc/JCLMin1.5/src/java/lang/Class.java
new file mode 100644
index 000000000..c3bccc240
--- /dev/null
+++ b/othersrc/JCLMin1.5/src/java/lang/Class.java
@@ -0,0 +1,6 @@
+package java.lang;
+
+public class Class<T> {
+ public String getName() { return null; }
+ public boolean isInstance(Object o) { return false; }
+}
diff --git a/othersrc/JCLMin1.5/src/java/lang/ClassCastException.java b/othersrc/JCLMin1.5/src/java/lang/ClassCastException.java
new file mode 100644
index 000000000..46778b051
--- /dev/null
+++ b/othersrc/JCLMin1.5/src/java/lang/ClassCastException.java
@@ -0,0 +1,5 @@
+package java.lang;
+
+public class ClassCastException extends RuntimeException {
+
+}
diff --git a/othersrc/JCLMin1.5/src/java/lang/CloneNotSupportedException.java b/othersrc/JCLMin1.5/src/java/lang/CloneNotSupportedException.java
new file mode 100644
index 000000000..cb777dc7b
--- /dev/null
+++ b/othersrc/JCLMin1.5/src/java/lang/CloneNotSupportedException.java
@@ -0,0 +1,4 @@
+package java.lang;
+
+public class CloneNotSupportedException extends Exception {
+}
diff --git a/othersrc/JCLMin1.5/src/java/lang/Comparable.java b/othersrc/JCLMin1.5/src/java/lang/Comparable.java
new file mode 100644
index 000000000..fbc6c8bac
--- /dev/null
+++ b/othersrc/JCLMin1.5/src/java/lang/Comparable.java
@@ -0,0 +1,4 @@
+package java.lang;
+
+public interface Comparable<T> {
+}
diff --git a/othersrc/JCLMin1.5/src/java/lang/Enum.java b/othersrc/JCLMin1.5/src/java/lang/Enum.java
new file mode 100644
index 000000000..d31ae7f91
--- /dev/null
+++ b/othersrc/JCLMin1.5/src/java/lang/Enum.java
@@ -0,0 +1,13 @@
+package java.lang;
+
+@SuppressWarnings("serial")
+public abstract class Enum<T extends Enum<T>> implements Comparable<T>, java.io.Serializable {
+ protected Enum(String name, int ordinal) {
+ }
+ public final String name() {
+ return null;
+ }
+ public final int ordinal() {
+ return 0;
+ }
+} \ No newline at end of file
diff --git a/othersrc/JCLMin1.5/src/java/lang/Error.java b/othersrc/JCLMin1.5/src/java/lang/Error.java
new file mode 100644
index 000000000..fce0cf072
--- /dev/null
+++ b/othersrc/JCLMin1.5/src/java/lang/Error.java
@@ -0,0 +1,4 @@
+package java.lang;
+
+public class Error extends Throwable {
+}
diff --git a/othersrc/JCLMin1.5/src/java/lang/Exception.java b/othersrc/JCLMin1.5/src/java/lang/Exception.java
new file mode 100644
index 000000000..93645c801
--- /dev/null
+++ b/othersrc/JCLMin1.5/src/java/lang/Exception.java
@@ -0,0 +1,4 @@
+package java.lang;
+
+public class Exception extends Throwable {
+}
diff --git a/othersrc/JCLMin1.5/src/java/lang/IllegalArgumentException.java b/othersrc/JCLMin1.5/src/java/lang/IllegalArgumentException.java
new file mode 100644
index 000000000..12ba113bb
--- /dev/null
+++ b/othersrc/JCLMin1.5/src/java/lang/IllegalArgumentException.java
@@ -0,0 +1,9 @@
+package java.lang;
+
+public class IllegalArgumentException extends RuntimeException {
+
+ public IllegalArgumentException(String msg) {
+ super();
+ }
+
+}
diff --git a/othersrc/JCLMin1.5/src/java/lang/IllegalMonitorStateException.java b/othersrc/JCLMin1.5/src/java/lang/IllegalMonitorStateException.java
new file mode 100644
index 000000000..e173f133a
--- /dev/null
+++ b/othersrc/JCLMin1.5/src/java/lang/IllegalMonitorStateException.java
@@ -0,0 +1,4 @@
+package java.lang;
+
+public class IllegalMonitorStateException extends RuntimeException {
+}
diff --git a/othersrc/JCLMin1.5/src/java/lang/Integer.java b/othersrc/JCLMin1.5/src/java/lang/Integer.java
new file mode 100644
index 000000000..873b01c4b
--- /dev/null
+++ b/othersrc/JCLMin1.5/src/java/lang/Integer.java
@@ -0,0 +1,5 @@
+package java.lang;
+
+public class Integer {
+
+}
diff --git a/othersrc/JCLMin1.5/src/java/lang/InterruptedException.java b/othersrc/JCLMin1.5/src/java/lang/InterruptedException.java
new file mode 100644
index 000000000..e2e84ba0b
--- /dev/null
+++ b/othersrc/JCLMin1.5/src/java/lang/InterruptedException.java
@@ -0,0 +1,4 @@
+package java.lang;
+
+public class InterruptedException extends Exception {
+}
diff --git a/othersrc/JCLMin1.5/src/java/lang/Iterable.java b/othersrc/JCLMin1.5/src/java/lang/Iterable.java
new file mode 100644
index 000000000..5ef5e3f76
--- /dev/null
+++ b/othersrc/JCLMin1.5/src/java/lang/Iterable.java
@@ -0,0 +1,7 @@
+package java.lang;
+
+import java.util.Iterator;
+
+public interface Iterable<E> {
+ Iterator<E> iterator();
+}
diff --git a/othersrc/JCLMin1.5/src/java/lang/Object.java b/othersrc/JCLMin1.5/src/java/lang/Object.java
new file mode 100644
index 000000000..7cc5f5198
--- /dev/null
+++ b/othersrc/JCLMin1.5/src/java/lang/Object.java
@@ -0,0 +1,34 @@
+package java.lang;
+
+public class Object {
+
+public Object() {
+}
+protected Object clone() throws CloneNotSupportedException {
+ return null;
+}
+public boolean equals (Object obj) {
+ return false;
+}
+protected void finalize () throws Throwable {
+}
+public final Class<?> getClass() {
+ return null;
+}
+public int hashCode() {
+ return -1;
+}
+public final void notify() throws IllegalMonitorStateException {
+}
+public final void notifyAll() throws IllegalMonitorStateException {
+}
+public String toString () {
+ return null;
+}
+public final void wait () throws IllegalMonitorStateException, InterruptedException {
+}
+public final void wait (long millis) throws IllegalMonitorStateException, InterruptedException {
+}
+public final void wait (long millis, int nanos) throws IllegalMonitorStateException, InterruptedException {
+}
+}
diff --git a/othersrc/JCLMin1.5/src/java/lang/RuntimeException.java b/othersrc/JCLMin1.5/src/java/lang/RuntimeException.java
new file mode 100644
index 000000000..ddbaf6395
--- /dev/null
+++ b/othersrc/JCLMin1.5/src/java/lang/RuntimeException.java
@@ -0,0 +1,4 @@
+package java.lang;
+
+public class RuntimeException extends Exception {
+}
diff --git a/othersrc/JCLMin1.5/src/java/lang/String.java b/othersrc/JCLMin1.5/src/java/lang/String.java
new file mode 100644
index 000000000..5fe899f76
--- /dev/null
+++ b/othersrc/JCLMin1.5/src/java/lang/String.java
@@ -0,0 +1,7 @@
+package java.lang;
+
+public class String implements CharSequence {
+ public int length() { return 0; }
+ public boolean endsWith(String postfix) { return false; }
+ public String substring(int start) { return this; }
+}
diff --git a/othersrc/JCLMin1.5/src/java/lang/SuppressWarnings.java b/othersrc/JCLMin1.5/src/java/lang/SuppressWarnings.java
new file mode 100644
index 000000000..f68fa6c07
--- /dev/null
+++ b/othersrc/JCLMin1.5/src/java/lang/SuppressWarnings.java
@@ -0,0 +1,11 @@
+package java.lang;
+
+import java.lang.annotation.*;
+import static java.lang.annotation.ElementType.*;
+
+
+@Target({TYPE, FIELD, METHOD, PARAMETER, CONSTRUCTOR, LOCAL_VARIABLE})
+@Retention(RetentionPolicy.SOURCE)
+public @interface SuppressWarnings {
+ String[] value();
+} \ No newline at end of file
diff --git a/othersrc/JCLMin1.5/src/java/lang/Thread.java b/othersrc/JCLMin1.5/src/java/lang/Thread.java
new file mode 100644
index 000000000..25c402564
--- /dev/null
+++ b/othersrc/JCLMin1.5/src/java/lang/Thread.java
@@ -0,0 +1,7 @@
+package java.lang;
+
+public class Thread implements Runnable {
+
+ public void run() { }
+
+}
diff --git a/othersrc/JCLMin1.5/src/java/lang/ThreadLocal.java b/othersrc/JCLMin1.5/src/java/lang/ThreadLocal.java
new file mode 100644
index 000000000..d1f347945
--- /dev/null
+++ b/othersrc/JCLMin1.5/src/java/lang/ThreadLocal.java
@@ -0,0 +1,5 @@
+package java.lang;
+
+public class ThreadLocal<T> {
+
+}
diff --git a/othersrc/JCLMin1.5/src/java/lang/Throwable.java b/othersrc/JCLMin1.5/src/java/lang/Throwable.java
new file mode 100644
index 000000000..d4a8dcb51
--- /dev/null
+++ b/othersrc/JCLMin1.5/src/java/lang/Throwable.java
@@ -0,0 +1,4 @@
+package java.lang;
+
+public class Throwable {
+}
diff --git a/othersrc/JCLMin1.5/src/java/lang/annotation/Annotation.java b/othersrc/JCLMin1.5/src/java/lang/annotation/Annotation.java
new file mode 100644
index 000000000..cc433a3de
--- /dev/null
+++ b/othersrc/JCLMin1.5/src/java/lang/annotation/Annotation.java
@@ -0,0 +1,5 @@
+package java.lang.annotation;
+
+public interface Annotation {
+
+}
diff --git a/othersrc/JCLMin1.5/src/java/lang/annotation/ElementType.java b/othersrc/JCLMin1.5/src/java/lang/annotation/ElementType.java
new file mode 100644
index 000000000..583e00819
--- /dev/null
+++ b/othersrc/JCLMin1.5/src/java/lang/annotation/ElementType.java
@@ -0,0 +1,5 @@
+package java.lang.annotation;
+
+public enum ElementType {
+ TYPE, FIELD, METHOD, PARAMETER, CONSTRUCTOR, LOCAL_VARIABLE, ANNOTATION_TYPE, PACKAGE
+}
diff --git a/othersrc/JCLMin1.5/src/java/lang/annotation/Retention.java b/othersrc/JCLMin1.5/src/java/lang/annotation/Retention.java
new file mode 100644
index 000000000..c0ad6c6ca
--- /dev/null
+++ b/othersrc/JCLMin1.5/src/java/lang/annotation/Retention.java
@@ -0,0 +1,7 @@
+package java.lang.annotation;
+
+@Retention(RetentionPolicy.RUNTIME)
+@Target(ElementType.ANNOTATION_TYPE)
+public @interface Retention {
+ RetentionPolicy value();
+}
diff --git a/othersrc/JCLMin1.5/src/java/lang/annotation/RetentionPolicy.java b/othersrc/JCLMin1.5/src/java/lang/annotation/RetentionPolicy.java
new file mode 100644
index 000000000..4a2b20cc7
--- /dev/null
+++ b/othersrc/JCLMin1.5/src/java/lang/annotation/RetentionPolicy.java
@@ -0,0 +1,5 @@
+package java.lang.annotation;
+
+public enum RetentionPolicy {
+ SOURCE, CLASS, RUNTIME
+}
diff --git a/othersrc/JCLMin1.5/src/java/lang/annotation/Target.java b/othersrc/JCLMin1.5/src/java/lang/annotation/Target.java
new file mode 100644
index 000000000..c7157c874
--- /dev/null
+++ b/othersrc/JCLMin1.5/src/java/lang/annotation/Target.java
@@ -0,0 +1,7 @@
+package java.lang.annotation;
+
+@Retention(RetentionPolicy.RUNTIME)
+@Target(ElementType.ANNOTATION_TYPE)
+public @interface Target {
+ ElementType[] value();
+}
diff --git a/othersrc/JCLMin1.5/src/java/lang/reflect/Array.java b/othersrc/JCLMin1.5/src/java/lang/reflect/Array.java
new file mode 100644
index 000000000..b5c5bba90
--- /dev/null
+++ b/othersrc/JCLMin1.5/src/java/lang/reflect/Array.java
@@ -0,0 +1,6 @@
+package java.lang.reflect;
+
+public class Array {
+ public static Object newInstance(Class<?> componentType, int length) { return null; }
+
+}

Back to the top