Skip to content
#

javaparser

Here are 43 public repositories matching this topic...

daanvdh
daanvdh commented Sep 19, 2019

Currently inner classes are not accessible from within templates, I would like to be able to the use statement below. For the inner classes all fields, methods and constructors should also available.

<#list class.innerClasses as innerClass>
  // This is the name of the inner class: ${innerClass.name}.
</#list>

Solution direction:
Add list of ClassContainer as field to the ClassCo

MysterAitch
MysterAitch commented Dec 4, 2020

Oops, I missed a couple of references to maven in the source code when creating the sample project (mostly copy/paste from the maven sample 😉 )

  • CodeGenerationUtils.mavenModuleRoot (should be replaced with Util.gradleModuleRoot)

https://github.com/javaparser/javaparser-gradle-sample/blob/f004561d89c0d13511741aaf18ff2d2d9f1d065e/src/main/java/com/yourorganization/maven_sample/LogicP

Improve this page

Add a description, image, and links to the javaparser topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the javaparser topic, visit your repo's landing page and select "manage topics."

Learn more