mirror of
https://github.com/corda/corda.git
synced 2025-01-07 13:38:47 +00:00
add Class.isInterface
This commit is contained in:
parent
c9ef443944
commit
e9eacd900d
@ -376,6 +376,10 @@ public final class Class <T> {
|
||||
return flags;
|
||||
}
|
||||
|
||||
public boolean isInterface() {
|
||||
return (flags & Modifier.INTERFACE) != 0;
|
||||
}
|
||||
|
||||
public Class getSuperclass() {
|
||||
return super_;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user