Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-370

org.jboss.forge.parser.java.Annotation.getQualifiedName()

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Done
    • Major
    • 1.0.0.Beta4
    • None
    • None
    • None

    Description

      org.jboss.forge.parser.java.Annotation.getName() appears to return the name (eg. Id), not the fully qualified name (eg. javax.persistence.Id), of the annotation.

      I need the fully qualified name so that I can instantiate the actual annotation (see https://issues.jboss.org/browse/FORGE-369). Although, if FORGE-369 is done maybe the qualified name can be handled internally instead? I don't have a use case requiring both. Up to you.

      Lincoln said: "I think we'd need to look at the parent Source File and figure out if there is a matching Import, then also add a getQualifiedName() method to this Interface"

      Attachments

        Activity

          People

            lincolnthree Lincoln Baxter III (Inactive)
            kennardconsulting Richard Kennard (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: