diff options
author | Stephan Herrmann | 2010-04-24 13:46:39 +0000 |
---|---|---|
committer | Stephan Herrmann | 2010-04-24 13:46:39 +0000 |
commit | ce02c060eb2834d733f784f284ecb4f208e18316 (patch) | |
tree | edb0651cb9367c5d56a40e55e6a836c3b527551a /othersrc/JCLMin1.5/src/java/lang | |
parent | d5116889e0edd287a0ca8b1bba4dd2d7db141675 (diff) | |
download | org.eclipse.objectteams-ce02c060eb2834d733f784f284ecb4f208e18316.tar.gz org.eclipse.objectteams-ce02c060eb2834d733f784f284ecb4f208e18316.tar.xz org.eclipse.objectteams-ce02c060eb2834d733f784f284ecb4f208e18316.zip |
follow-up of r222: JCLmin needs more classes.
Diffstat (limited to 'othersrc/JCLMin1.5/src/java/lang')
-rw-r--r-- | othersrc/JCLMin1.5/src/java/lang/Class.java | 1 | ||||
-rw-r--r-- | othersrc/JCLMin1.5/src/java/lang/Override.java | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/othersrc/JCLMin1.5/src/java/lang/Class.java b/othersrc/JCLMin1.5/src/java/lang/Class.java index c3bccc240..2163dd3b5 100644 --- a/othersrc/JCLMin1.5/src/java/lang/Class.java +++ b/othersrc/JCLMin1.5/src/java/lang/Class.java @@ -3,4 +3,5 @@ package java.lang; public class Class<T> {
public String getName() { return null; }
public boolean isInstance(Object o) { return false; }
+ public boolean isAssignableFrom (Class<?> other) { return false; }
}
diff --git a/othersrc/JCLMin1.5/src/java/lang/Override.java b/othersrc/JCLMin1.5/src/java/lang/Override.java new file mode 100644 index 000000000..16932c513 --- /dev/null +++ b/othersrc/JCLMin1.5/src/java/lang/Override.java @@ -0,0 +1,11 @@ +package java.lang; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +@Target(ElementType.METHOD) +@Retention(RetentionPolicy.SOURCE) +public @interface Override { +}
\ No newline at end of file |