class CurrentBranchProducer {

    @Produces
    @Customizable
    public CurrentBranch currentBranchProducer() {
        if (this.currentBranch.isUnsatisfied()) {
            return new DefaultCurrentBranch();
        }
        return this.currentBranch.get();
    }

}