decompiler: do not fail on nested lambdas
This commit is contained in:
@@ -41,7 +41,7 @@ public class AssertProcessor {
|
||||
|
||||
public static void buildAssertions(ClassNode node) {
|
||||
|
||||
ClassWrapper wrapper = node.wrapper;
|
||||
ClassWrapper wrapper = node.getWrapper();
|
||||
|
||||
StructField field = findAssertionField(node);
|
||||
|
||||
@@ -67,7 +67,7 @@ public class AssertProcessor {
|
||||
|
||||
private static StructField findAssertionField(ClassNode node) {
|
||||
|
||||
ClassWrapper wrapper = node.wrapper;
|
||||
ClassWrapper wrapper = node.getWrapper();
|
||||
|
||||
boolean noSynthFlag = DecompilerContext.getOption(IFernflowerPreferences.SYNTHETIC_NOT_SET);
|
||||
|
||||
@@ -105,7 +105,7 @@ public class AssertProcessor {
|
||||
|
||||
ClassNode nd = node;
|
||||
while (nd != null) {
|
||||
if (nd.wrapper.getClassStruct().qualifiedName.equals(cexpr.getValue())) {
|
||||
if (nd.getWrapper().getClassStruct().qualifiedName.equals(cexpr.getValue())) {
|
||||
break;
|
||||
}
|
||||
nd = nd.parent;
|
||||
|
||||
Reference in New Issue
Block a user