diff --git a/classpath/java/lang/Class.java b/classpath/java/lang/Class.java index b608f8dd38..c4300db1db 100644 --- a/classpath/java/lang/Class.java +++ b/classpath/java/lang/Class.java @@ -376,6 +376,10 @@ public final class Class { return flags; } + public boolean isInterface() { + return (flags & Modifier.INTERFACE) != 0; + } + public Class getSuperclass() { return super_; }