fix mistake in JavaDoc
add PatternHandler specification