|
|
|
@ -26,9 +26,12 @@ public class ExprUtil { |
|
|
|
|
if (wrapper != null) { |
|
|
|
|
// own class
|
|
|
|
|
MethodWrapper methodWrapper = wrapper.getMethodWrapper(CodeConstants.INIT_NAME, descriptor); |
|
|
|
|
if (methodWrapper == null && DecompilerContext.getOption(IFernflowerPreferences.IGNORE_INVALID_BYTECODE)) { |
|
|
|
|
if (methodWrapper == null) { |
|
|
|
|
if (DecompilerContext.getOption(IFernflowerPreferences.IGNORE_INVALID_BYTECODE)) { |
|
|
|
|
return null; |
|
|
|
|
} |
|
|
|
|
throw new RuntimeException("Constructor " + node.classStruct.qualifiedName + "." + CodeConstants.INIT_NAME + descriptor + " not found"); |
|
|
|
|
} |
|
|
|
|
mask = methodWrapper.synthParameters; |
|
|
|
|
} |
|
|
|
|
else if (parameters > 0 && node.type == ClassNode.CLASS_MEMBER && (node.access & CodeConstants.ACC_STATIC) == 0) { |
|
|
|
|