import javafx.scene.control.Button;

public class CreateControllerMethod {
    public Button btn;
}
import javafx.fxml.FXML;
import javafx.scene.control.Button;

public class CreateControllerMethod {
    @FXML
    private Button btn;
}
test data corrected (IDEA-141033)