diff options
author | Stephan Herrmann | 2010-04-01 21:27:38 +0000 |
---|---|---|
committer | Stephan Herrmann | 2010-04-01 21:27:38 +0000 |
commit | 0455403a2a7bd0a1d43942530bcd6062c878cff4 (patch) | |
tree | 6951b7d0125b2d05fb76d3536362713b74a75f20 | |
parent | f9a675bc351a4c5da160af17ac11fcafa31570c3 (diff) | |
download | org.eclipse.objectteams-0455403a2a7bd0a1d43942530bcd6062c878cff4.tar.gz org.eclipse.objectteams-0455403a2a7bd0a1d43942530bcd6062c878cff4.tar.xz org.eclipse.objectteams-0455403a2a7bd0a1d43942530bcd6062c878cff4.zip |
initial commit in accordance with CQ 3784
37 files changed, 280 insertions, 0 deletions
diff --git a/othersrc/JCLMin1.5/.classpath b/othersrc/JCLMin1.5/.classpath new file mode 100644 index 000000000..fb5011632 --- /dev/null +++ b/othersrc/JCLMin1.5/.classpath @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<classpath> + <classpathentry kind="src" path="src"/> + <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> + <classpathentry kind="output" path="bin"/> +</classpath> diff --git a/othersrc/JCLMin1.5/.project b/othersrc/JCLMin1.5/.project new file mode 100644 index 000000000..8f0156580 --- /dev/null +++ b/othersrc/JCLMin1.5/.project @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>JCLMin1.5</name> + <comment></comment> + <projects> + </projects> + <buildSpec> + <buildCommand> + <name>org.eclipse.jdt.core.javabuilder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.jdt.core.javanature</nature> + </natures> +</projectDescription> diff --git a/othersrc/JCLMin1.5/jclmin1.5.jardesc b/othersrc/JCLMin1.5/jclmin1.5.jardesc new file mode 100644 index 000000000..9ac519206 --- /dev/null +++ b/othersrc/JCLMin1.5/jclmin1.5.jardesc @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?><jardesc> + <jar path="/tmp/jclMin1.5.jar"/> + <options buildIfNeeded="true" compress="true" descriptionLocation="/JCLMin1.5/jclmin1.5.jardesc" exportErrors="false" exportWarnings="true" includeDirectoryEntries="false" overwrite="false" saveDescription="true" storeRefactorings="false" useSourceFolders="false"/> + <storedRefactorings deprecationInfo="true" structuralOnly="false"/> + <selectedProjects/> + <manifest generateManifest="true" manifestLocation="" manifestVersion="1.0" reuseManifest="false" saveManifest="false" usesManifest="true"> + <sealing sealJar="false"> + <packagesToSeal/> + <packagesToUnSeal/> + </sealing> + </manifest> + <selectedElements exportClassFiles="false" exportJavaFiles="false" exportOutputFolder="true"> + <file path="/JCLMin1.5/.project"/> + <file path="/JCLMin1.5/.classpath"/> + <javaElement handleIdentifier="=JCLMin1.5/src"/> + </selectedElements> + <fatjar builder="org.eclipse.jdt.ui.plain_jar_builder" launchConfig=""/> +</jardesc>
\ No newline at end of file diff --git a/othersrc/JCLMin1.5/src/java/io/Serializable.java b/othersrc/JCLMin1.5/src/java/io/Serializable.java new file mode 100644 index 000000000..edd882d7d --- /dev/null +++ b/othersrc/JCLMin1.5/src/java/io/Serializable.java @@ -0,0 +1,4 @@ +package java.io;
+
+public interface Serializable {
+}
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; } + +} diff --git a/othersrc/JCLMin1.5/src/java/util/AbstractMap.java b/othersrc/JCLMin1.5/src/java/util/AbstractMap.java new file mode 100644 index 000000000..efd8d7a95 --- /dev/null +++ b/othersrc/JCLMin1.5/src/java/util/AbstractMap.java @@ -0,0 +1,5 @@ +package java.util; + +public abstract class AbstractMap<K, V> implements Map<K, V> { + +} diff --git a/othersrc/JCLMin1.5/src/java/util/ArrayList.java b/othersrc/JCLMin1.5/src/java/util/ArrayList.java new file mode 100644 index 000000000..e013eac85 --- /dev/null +++ b/othersrc/JCLMin1.5/src/java/util/ArrayList.java @@ -0,0 +1,18 @@ +package java.util; + +public class ArrayList<E> implements Collection<E> { + + public ArrayList(int i) {} + public ArrayList() {} + + public void addAll(Collection<? extends E> other) { } + public void add(Object elem) {} + + public E[] toArray() { return null; } + public <T> T[] toArray(T[] other) { return null; } + + public int size() { return 0; } + + public Iterator<E> iterator() { return null; } + +} diff --git a/othersrc/JCLMin1.5/src/java/util/Collection.java b/othersrc/JCLMin1.5/src/java/util/Collection.java new file mode 100644 index 000000000..2fbb04251 --- /dev/null +++ b/othersrc/JCLMin1.5/src/java/util/Collection.java @@ -0,0 +1,7 @@ +package java.util; + +public interface Collection<E> extends Iterable<E> { + void addAll(Collection<? extends E> other); + E[] toArray(); + public int size(); +} diff --git a/othersrc/JCLMin1.5/src/java/util/Iterator.java b/othersrc/JCLMin1.5/src/java/util/Iterator.java new file mode 100644 index 000000000..610636836 --- /dev/null +++ b/othersrc/JCLMin1.5/src/java/util/Iterator.java @@ -0,0 +1,9 @@ +package java.util; + + + +public interface Iterator<E> { + boolean hasNext(); + E next(); + void remove(); +} diff --git a/othersrc/JCLMin1.5/src/java/util/Map.java b/othersrc/JCLMin1.5/src/java/util/Map.java new file mode 100644 index 000000000..581520ca6 --- /dev/null +++ b/othersrc/JCLMin1.5/src/java/util/Map.java @@ -0,0 +1,5 @@ +package java.util; + +public interface Map<K, V> { + public class Entry<K,V> {} +} diff --git a/othersrc/JCLMin1.5/src/java/util/WeakHashMap.java b/othersrc/JCLMin1.5/src/java/util/WeakHashMap.java new file mode 100644 index 000000000..dc59d3fb2 --- /dev/null +++ b/othersrc/JCLMin1.5/src/java/util/WeakHashMap.java @@ -0,0 +1,5 @@ +package java.util; + +public class WeakHashMap<K,V> extends AbstractMap<K,V> { + +} |