Add @FunctionalInterface to EventHandler, Callback

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 8
    • Affects Version/s: 8
    • Component/s: javafx

      The @FunctionalInterface annotation was added in Java 8 and is intended to be used to annotate an interface which is meant to always be a Single Abstract Method interface, such as is meant to be used by lambda expressions. We ought to add this annotation to any SAM interfaces in the public API.

      This will require we build against Java 8.

            Assignee:
            Martin Sládeček
            Reporter:
            Richard Bair (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: