saberya
saberya
@joelittlejohn is there a plan to merge this feature in the next release? nested classes is important when i generate a single java file from front request body.
@joelittlejohn How's it going? It is a good idea to support lombok annotation.
oh, bro, i think i find the reason: At the beginning, ``` com.github.javaparser.JavaParser javaParser = new com.github.javaparser.JavaParser(new ParserConfiguration().setLexicalPreservationEnabled(true)); ``` this javaParse will lead to above problem, i don't know why...
@jlerbsc com.github.javaparser.printer.lexicalpreservation.LexicalPreservingPrinterTest#testReplaceClassName ``` @Test public void testReplaceClassName() { final JavaParser javaParser = new JavaParser(new ParserConfiguration().setLexicalPreservationEnabled(true)); final String code = "class A {}"; final CompilationUnit b = javaParser.parse(code).getResult().orElseThrow(AssertionError::new); LexicalPreservingPrinter.setup(b); assertEquals(1, b.findAll(ClassOrInterfaceDeclaration.class).size());...
OK, bro, plz execute following junit test. there is no interface to generate pojo with nested classes, so i add inner classes like this. ``` @Test void addingMember() throws IOException...
thanks, bro, @apixandru. i don't know the function details. Actually, this is a demand for nested classes. A detail I need to point out that the first line of inner...
It look likes that the result is right with the code with you provide.@jlerbsc But i also don't understand even if i insert my inner class as single element, the...