mirror of
https://github.com/corda/corda.git
synced 2025-01-23 21:08:48 +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;
|
return flags;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public boolean isInterface() {
|
||||||
|
return (flags & Modifier.INTERFACE) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
public Class getSuperclass() {
|
public Class getSuperclass() {
|
||||||
return super_;
|
return super_;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user