Skip to content

Commit

Permalink
add class generator in a new method
Browse files Browse the repository at this point in the history
  • Loading branch information
xpenatan committed Jul 22, 2023
1 parent d40dc01 commit abab9ec
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@ public void onParseStart(JParser jParser) {
baseClassUnit.setPackageDeclaration(basePackage);
jParser.unitArray.add(new JParserItem(baseClassUnit, baseClassPath, baseClassPath));

generateIDLJavaClasses(jParser, basePath);
}

private void generateIDLJavaClasses(JParser jParser, String basePath) {
for(IDLFile idlFile : idlReader.fileArray) {
for(IDLClass idlClass : idlFile.classArray) {
String className = idlClass.name;
Expand Down

0 comments on commit abab9ec

Please sign in to comment.