add isAbstract()

This commit is contained in:
Volker Berlin 2020-03-16 21:48:32 +01:00
parent d73612715f
commit 16f49f3078

View File

@ -101,6 +101,15 @@ public class MethodInfo implements Member {
return (accessFlags & 0x0008) > 0;
}
/**
* If the method is abstract
*
* @return true, if abstract
*/
public boolean isAbstract() {
return (accessFlags & 0x0400) > 0;
}
/**
* @return the name
*/