mirror of
https://github.com/i-net-software/JWebAssembly.git
synced 2025-03-25 15:37:52 +01:00
Add isAbstract()
This commit is contained in:
parent
b80c2b7a0d
commit
d3acc3698f
@ -308,6 +308,15 @@ public class ClassFile {
|
|||||||
return accessFlags;
|
return accessFlags;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* If the class is abstract
|
||||||
|
*
|
||||||
|
* @return true, if abstract class
|
||||||
|
*/
|
||||||
|
public boolean isAbstract() {
|
||||||
|
return (accessFlags & 0x0400) > 0;
|
||||||
|
}
|
||||||
|
|
||||||
private FieldInfo[] readFields( DataInputStream input ) throws IOException {
|
private FieldInfo[] readFields( DataInputStream input ) throws IOException {
|
||||||
FieldInfo[] fields = new FieldInfo[input.readUnsignedShort()];
|
FieldInfo[] fields = new FieldInfo[input.readUnsignedShort()];
|
||||||
for( int i = 0; i < fields.length; i++ ) {
|
for( int i = 0; i < fields.length; i++ ) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user