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

Use annotation processor to generate side-car code for @Styleable annotation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Withdrawn
    • Icon: P4 P4
    • None
    • fx2.0
    • javafx

      @Styleable is currently handled via reflection by StyleableProperty. Instead, we should use the annotation processor to generate code. This would get rid of reflection in StyleableProperty and should make it possible to get rid of some of the impl_cssXXX methods. Lastly this would make it easier to for users to mark their own properties as styleable without having to know any of our secret sauce.

            dgrieve David Grieve
            dgrieve David Grieve
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: