added external for java and sun package methods and filtering java and sun package fields