Details
Description
public class Outer { private Inner ia; public class Inner { } }
When you call toString() on ia, it'll return Outer$Inner (the FQN)
but when you call toGenericString() it returns Outer.Inner (the value)
Activity
Robert Scholte
made changes -
Field | Original Value | New Value |
---|---|---|
Resolution | Fixed [ 1 ] | |
Status | Open [ 1 ] | Closed [ 6 ] |
Fix Version/s | 1.11 [ 15653 ] |
In QDox the JavaClass follows java.lang.Class including it's toString() implementation.
QDox' Type contains Type information of the JavaClass, so there's no defenition available in the java-specs.
The Type.toString() should be an improved version of getValue() because it adds array information. So don't use the FQN here.
Fixed in rev-678