Open puntogil opened 7 years ago
Maybe this fix could help
--- a/paranamer-generator/src/java/com/thoughtworks/paranamer/generator/QdoxParanamerGenerator.java
+++ b/paranamer-generator/src/java/com/thoughtworks/paranamer/generator/QdoxParanamerGenerator.java
@@ -85,7 +85,7 @@ public class QdoxParanamerGenerator implements ParanamerGenerator {
content.append(addConstructors(javaClass.getConstructors()));
content.append(addMethods(javaClass.getMethods()));
// TODO problem with inner classes
- makeEnhancer().enhance(new File(outputPath, javaClass.getFullyQualifiedName().replace('.', File.separatorChar) + ".class"), content);
+ makeEnhancer().enhance(new File(outputPath, javaClass.getBinaryName().replace('.', File.separatorChar) + ".class"), content);
}
}
@@ -171,7 +171,7 @@ public class QdoxParanamerGenerator implements ParanamerGenerator {
Iterator<JavaParameter> paramIter = parameters.iterator();
while(paramIter.hasNext()) {
JavaParameter param = paramIter.next();
- sb.append(param.getType().getCanonicalName());
+ sb.append(param.getType().getCanonicalName().replaceAll("\\[\\]", ""));
if(paramIter.hasNext())
{
sb.append(COMMA);
Hi any plans to update QDox to 2.0-M5 ?
thanks in advance
regards