SandboxedJvmGenerator

nscn.polaris2.protoc.bridge.SandboxedJvmGenerator
See theSandboxedJvmGenerator companion object
final case class SandboxedJvmGenerator extends Generator

A JvmGenerator loaded from its own artifact into its own ClassLoader.

The point is dependency isolation: the build tool, and any other generator in the same protoc run, may hold an incompatible protobuf-java. Resolving the generator's artifact separately and loading it in a child loader keeps those apart.

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Generator
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product