FilePrinter

nscn.polaris2.protoc.codegen.FilePrinter
See theFilePrinter companion class
object FilePrinter

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete fields

val generatorOwnProtos: Set[String]

Imports that exist only to configure this generator.

Imports that exist only to configure this generator.

Dropped from the embedded descriptor, so generated code never drags the generator's own option classes onto a consumer's classpath.

Attributes

val wellKnownDescriptorAccessor: Map[String, String]

protobuf-java's descriptor accessor for each file it has compiled in.

protobuf-java's descriptor accessor for each file it has compiled in.

Needed because a generated file object cannot be produced for these - protobuf-java owns them - and FileDescriptor.buildFrom insists on the real dependency objects rather than fresh copies, which would not be eq to the ones a Well-Known Type's own classes carry.

Attributes