QDox
  1. QDox
  2. QDOX-166

qdox generates invalid java for nested class references

    Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.9
    • Fix Version/s: 1.9.2
    • Component/s: Parser
    • Labels:
      None
    • Environment:
    • Number of attachments :
      0

      Description

      Using the gwt-maven-plugin with qdox version 1.9. Qdox generates invalid references to nested classes:

      Example:

      Original class:
      import com.google.gwt.gen2.table.client.TableModelHelper;
      public SerializableResponse<Result> doSomething(Long id, TableModelHelper.Request request);

      Generated class:
      void doSomething( java.lang.Long id com.google.gwt.gen2.table.client.TableModelHelper$Request request, AsyncCallback<com.google.gwt.gen2.table.client.TableModelHelper$SerializableResponse<Result>> callback );

      The dollar sign in the generated class seems incorrect since that will not compile.

        Activity

        Hide
        Robert Scholte added a comment -

        Type.getValue() should return the representation of the class for code-usage. Added Type.getFullyQualifedName() for the FQN

        Show
        Robert Scholte added a comment - Type.getValue() should return the representation of the class for code-usage. Added Type.getFullyQualifedName() for the FQN
        Robert Scholte made changes -
        Field Original Value New Value
        Resolution Fixed [ 1 ]
        Assignee Robert Scholte [ rfscholte ]
        Fix Version/s 1.10 [ 15020 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Paul Hammant made changes -
        Fix Version/s 1.9.2 [ 15471 ]
        Fix Version/s 1.10 [ 15020 ]

          People

          • Assignee:
            Robert Scholte
            Reporter:
            David Boon
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: