fix some JavaDoc issues
add dispose method to reset fields of message classes
pre filter fields with static modifier
add test case for dispose method