replace accessor methods by active annotation