<?xml version="1.0" encoding="UTF-8"?><templates><template autoinsert="true" context="java" deleted="false" description="Getter which Checks private field then value binding then default" enabled="true" name="vbgettersetter">public ${valuetype} get${name}() { if (this.${privateField} != null) { return this.${privateField}; } ValueBinding vb = getValueBinding("${privateField}"); if (vb != null) { return (${valuetype})vb.getValue(getFacesContext()); } return ${defaultValue}${cursor}; } public void set${name}(${valuetype} ${privateField}) { this.${privateField} = ${privateField}; } ${:import(javax.faces.el.ValueBinding)}</template></templates>