checkstyle fixes.
javadoc snippet fix.
Fix some warnings.
Fix highlighting of certain types of snippets.