Uploaded image for project: 'Spring Roo'
  1. Spring Roo
  2. ROO-1294

Handle inner classes as JavaType

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.1.0.M3
    • Fix Version/s: 1.1.0.RC1
    • Component/s: @ CORE
    • Labels:
      None

      Description

      when using JavaType with inner classes (e.g. as field type or method param) there are some issues.

      First the simple-name contains the $ from class.getName()

      I fixed that with

      simpleTypeName = fullyQualifiedTypeName.substring(offset+1).replace('$','.');

      in JavaType line 115.

      one issue that is still open is the handling of inner classes by the import resolver

      Thanks

        Attachments

          Activity

            People

            • Assignee:
              balex Ben Alex
              Reporter:
              mhunger Michael Hunger
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: