split ICssClassNameProvider into two interfaces
add some java doc