Adds custom configuration for java type comment templates.