The above suggestion works, but only if the annotation is used on the getter method. If the annotations is used where the member is declared, nothing will happen.
public String getStringValue(){
return (this.stringValue == null) ? "Default" : stringValue;
}