Constructor Injection for process variables (CDI)

Is it supported to inject process variables via constructor injection (instead of field injection). I found nothing about this approach in the documentation (7.3).


public class MyAdapter implements JavaDelegate {

    private int val1;
    private String val2;

    public MyAdapter(@ProcessVariable("var1") Object var1, @ProcessVariable("var2") Object var2) {
        this.val1 = (int) var1;
        this.val2 = (String) var2;

Thanks in advance