Package io.protostuff.compiler
Class ProtoToJavaV2ProtocSchemaCompiler
java.lang.Object
io.protostuff.compiler.STCodeGenerator
io.protostuff.compiler.ProtoToJavaV2ProtocSchemaCompiler
- All Implemented Interfaces:
ProtoCompiler
Generates a
Schema
from the code generated by the c++ v2 protoc.-
Field Summary
Fields inherited from class io.protostuff.compiler.STCodeGenerator
DEFAULT_FORMATTERS, DEFAULT_RENDERERS, ERROR_LISTENER, errorCount, FORMAT_DELIM, GROUP_LOADER, id, STRING_ATTRIBUTE_RENDERER, TEMPLATE_BASE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
compile
(ProtoModule module, Proto proto) (package private) static String
resolveFileName
(Proto proto) Methods inherited from class io.protostuff.compiler.STCodeGenerator
chainedFormat, collect, compile, compile, format, getOutputId, getST, getSTG, override, parseProto, postCompile, setAttributeRenderer, setFormatter, setGroupLoader
-
Constructor Details
-
ProtoToJavaV2ProtocSchemaCompiler
public ProtoToJavaV2ProtocSchemaCompiler()
-
-
Method Details
-
resolveFileName
-
compile
- Specified by:
compile
in classSTCodeGenerator
- Throws:
IOException
-