Search in sources :

Example 1 with JavaSchemaTypeNameConverter

use of com.google.api.codegen.transformer.java.JavaSchemaTypeNameConverter in project toolkit by googleapis.

the class JavaDiscoGapicRequestToViewTransformer method createTypeTable.

private SchemaTypeTable createTypeTable(String implicitPackageName) {
    JavaTypeTable typeTable = new JavaTypeTable(implicitPackageName, IGNORE_JAVA_LANG_CLASH);
    SchemaTypeNameConverter typeNameConverter = new JavaSchemaTypeNameConverter(implicitPackageName, nameFormatter);
    return new SchemaTypeTable(typeTable, typeNameConverter, new JavaSurfaceNamer(implicitPackageName, implicitPackageName));
}
Also used : SchemaTypeNameConverter(com.google.api.codegen.transformer.SchemaTypeNameConverter) JavaSchemaTypeNameConverter(com.google.api.codegen.transformer.java.JavaSchemaTypeNameConverter) JavaSchemaTypeNameConverter(com.google.api.codegen.transformer.java.JavaSchemaTypeNameConverter) JavaTypeTable(com.google.api.codegen.util.java.JavaTypeTable) SchemaTypeTable(com.google.api.codegen.transformer.SchemaTypeTable) JavaSurfaceNamer(com.google.api.codegen.transformer.java.JavaSurfaceNamer)

Aggregations

SchemaTypeNameConverter (com.google.api.codegen.transformer.SchemaTypeNameConverter)1 SchemaTypeTable (com.google.api.codegen.transformer.SchemaTypeTable)1 JavaSchemaTypeNameConverter (com.google.api.codegen.transformer.java.JavaSchemaTypeNameConverter)1 JavaSurfaceNamer (com.google.api.codegen.transformer.java.JavaSurfaceNamer)1 JavaTypeTable (com.google.api.codegen.util.java.JavaTypeTable)1