wire-compiler / com.squareup.wire.schema / Target / SchemaHandler / handle

handle

abstract fun handle(type: Type): Unit
abstract fun handle(service: Service): Unit open fun handle(protoFile: ProtoFile, emittingRules: EmittingRules, claimedDefinitions: ClaimedDefinitions, isExclusive: Boolean): Unit

This will handle all Types and Services of the protoFile in respect to the emitting rules. If exclusive, the handled Types and Services should be added to the consumed set. Consumed types and services themselves are to be omitted by this handler.