-Added javadoc for the generated $$AncetorAdapter$$'s.
-more refacoting