mirror of
https://github.com/i-net-software/JWebAssembly.git
synced 2025-03-15 02:44:47 +01:00
Add isAbstract()
This commit is contained in:
parent
b80c2b7a0d
commit
d3acc3698f
@ -308,6 +308,15 @@ public class ClassFile {
|
||||
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 {
|
||||
FieldInfo[] fields = new FieldInfo[input.readUnsignedShort()];
|
||||
for( int i = 0; i < fields.length; i++ ) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user