mirror of
https://github.com/moparisthebest/fernflower
synced 2024-11-23 01:32:21 -05:00
check for code presence
This commit is contained in:
parent
ef85e779c6
commit
b668038ed9
@ -88,8 +88,7 @@ public class ClassWrapper {
|
||||
boolean isError = false;
|
||||
|
||||
try {
|
||||
// TODO: simple check if code present?
|
||||
if((mt.getAccessFlags() & (CodeConstants.ACC_ABSTRACT | CodeConstants.ACC_NATIVE)) == 0) { // native or abstract method, explicit or interface
|
||||
if(mt.containsCode()) {
|
||||
|
||||
int maxsec = 10 * Integer.parseInt(DecompilerContext.getProperty(IFernflowerPreferences.MAX_PROCESSING_METHOD).toString());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user