Skip to content

Commit

Permalink
refactor(plc4j/codegen): move parser to model classes
Browse files Browse the repository at this point in the history
  • Loading branch information
sruehl committed Jan 20, 2022
1 parent c9c0374 commit b08eb50
Show file tree
Hide file tree
Showing 2 changed files with 270 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ public String getDataReaderCall(TypeReference typeReference, String resolverMeth
.append(toParseExpression(null, argumentType, paramTerm, null))
.append(")");
}
return "new DataReaderComplexDefault<>(() -> " + parserCallString + "IO.staticParse(readBuffer" + paramsString + "), readBuffer)";
return "new DataReaderComplexDefault<>(() -> " + parserCallString + ".staticParse(readBuffer" + paramsString + "), readBuffer)";
} else {
throw new IllegalStateException("What is this type? " + typeReference);
}
Expand Down
Loading

0 comments on commit b08eb50

Please sign in to comment.