public JavaWriter beginType(String type, String kind) throws IOException {
    return beginType(type, kind, EnumSet.noneOf(Modifier.class), null);
  }
public JavaWriter beginType(String type, String kind) throws IOException {
    return beginType(type, kind, EnumSet.noneOf(Modifier.class), null);
  }
public JavaWriter beginType ( String type , String kind ) throws IOException { return beginType ( type , kind , EnumSet . noneOf ( Modifier . class ) , null ) ; }
Emits a type declaration.

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