Class SchemaGenerator
java.lang.Object
com.hedera.pbj.compiler.impl.generators.SchemaGenerator
- All Implemented Interfaces:
Generator
-
Field Summary
Fields inherited from interface Generator
GENERATORS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidgenerate(Protobuf3Parser.MessageDefContext msgDef, JavaFileWriter writer, ContextualLookupHelper lookupHelper) Generate a code from protobuf message type
-
Constructor Details
-
SchemaGenerator
public SchemaGenerator()
-
-
Method Details
-
generate
public void generate(Protobuf3Parser.MessageDefContext msgDef, JavaFileWriter writer, ContextualLookupHelper lookupHelper) throws IOException Generate a code from protobuf message type- Specified by:
generatein interfaceGenerator- Parameters:
msgDef- the parsed messagelookupHelper- Lookup helper for global context lookups- Throws:
IOException- if there was a problem writing generated code
-