summaryrefslogtreecommitdiff
path: root/vm
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2006-04-28 13:43:02 +0000
committerTom Tromey <tromey@redhat.com>2006-04-28 13:43:02 +0000
commit9e030d82fbb11b539e4cc456b5713a9018d1851f (patch)
treef394803fda239571ceaf34c3552affcd3d4384dc /vm
parent88152829d1f306335d45d36dc871480944b6fe25 (diff)
downloadclasspath-9e030d82fbb11b539e4cc456b5713a9018d1851f.tar.gz
* java/lang/Class.java (SYNTHETIC, ENUM, ANNOTATION): New fields.
(isEnum): Rewrote. (isSynthetic): Likewise. (isAnnotation): Likewise. * vm/reference/java/lang/VMClass.java (isSynthetic): Removed. (isAnnotation): Likewise. (isEnum): Likewise.
Diffstat (limited to 'vm')
-rw-r--r--vm/reference/java/lang/VMClass.java25
1 files changed, 0 insertions, 25 deletions
diff --git a/vm/reference/java/lang/VMClass.java b/vm/reference/java/lang/VMClass.java
index aae263bf3..25965068d 100644
--- a/vm/reference/java/lang/VMClass.java
+++ b/vm/reference/java/lang/VMClass.java
@@ -284,31 +284,6 @@ final class VMClass
static native void throwException(Throwable t);
/**
- * Returns true if this class is a synthetic class, generated by the
- * compiler.
- *
- * @param klass the Class object that's calling us
- * @return whether this class is synthetic or not
- */
- static native boolean isSynthetic(Class klass);
-
- /**
- * Returns true if this class represents an annotation.
- *
- * @param klass the Class object that's calling us
- * @return whether this class is an annotation or not
- */
- static native boolean isAnnotation(Class klass);
-
- /**
- * Returns true if this class was declared as an enum.
- *
- * @param klass the Class object that's calling us
- * @return whether this class is an enumeration or not
- */
- static native boolean isEnum(Class klass);
-
- /**
* Returns the simple name for the specified class, as used in the source
* code. For normal classes, this is the content returned by
* <code>getName()</code> which follows the last ".". Anonymous