Uploaded image for project: 'Commons Weaver'
  1. Commons Weaver
  2. WEAVER-25

Reject blueprint methods that access entities that would be inaccessible

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0
    • 2.0
    • privilizer
    • None

    Description

      ...from the importing type, i.e. classes, constructors, methods other than other static methods from the same class whose import is cascaded

      Blueprint methods access fields, but the rest imply the import of arbitrary whole types which is at least a slippery slope... choose your own metaphor. The safest course is to reject these. One immediate implication is that a valid blueprint method may not instantiate an anonymous type.

      Attachments

        Activity

          People

            mbenson Matthew Jason Benson
            mbenson Matthew Jason Benson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: