public JavaWriter beginType(String type, String kind, Set<Modifier> modifiers)
      throws IOException {
    return beginType(type, kind, modifiers, null);
  }
public JavaWriter beginType(String type, String kind, Set<Modifier> modifiers)
      throws IOException {
    return beginType(type, kind, modifiers, null);
  }
public JavaWriter beginType ( String type , String kind , Set < Modifier > modifiers ) throws IOException { return beginType ( type , kind , modifiers , null ) ; }
Emits a type declaration.

@param kind such as "class", "interface" or "enum".
Emits a type declaration .