Skip to content

Ignore @FXML injected fields #702

@randomanderson

Description

@randomanderson

JavaFX uses @FXML to inject UI elements from the view. Unfortunately spotbugs marks any usage as UR_UNIT_READ.

In the relevant code, there is a hardcoded list of annotations that spotbugs uses to assume a field is injected. All that needs to be done is to add javafx.fxml.FXML.

The more generic of this request is #543. That issue asks for full customizability with annotations

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions