Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-5009037

document differences between source and class file views of a declaration

XMLWordPrintable

    • b83
    • generic
    • generic

      In apt, Declaration information about a type can be gotten from the source file for the type or from the class file of the type. There can be differences in the information returned from these two views including:

      * lack of source retention annotation from class files

      * lack of source position information from class files

      * potentially different modifers for some constructs

        * strictfp-ness of a class

        * final-ness of a parameter

        * protected, private, and static on classes

      These differences need to be documented and/or compensated for.

            darcy Joe Darcy
            darcy Joe Darcy
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: