wire-compiler / com.squareup.wire.schema / NewProfileLoader

NewProfileLoader

interface NewProfileLoader

Functions

loadProfile

abstract fun loadProfile(name: String, schema: Schema): Profile

Inheritors

NewSchemaLoader

class NewSchemaLoader : Closeable, Loader, NewProfileLoader

Load proto files and their transitive dependencies and parse them. Keep track of which files were loaded from where so that we can use that information later when deciding what to generate.