abstract fun handle(type: Type): Path?
Returns the Path of the file which type will have been generated into.
abstract fun handle(service: Service): List<Path>
Returns the Paths of the files which service will have been generated into.
abstract fun handle(extend: Extend, field: Field): Path?
Returns the Path of the files which field will have been generated into.
open fun handle(protoFile: ProtoFile, emittingRules: EmittingRules, claimedDefinitions: ClaimedDefinitions, claimedPaths: MutableMap<Path, String>, 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.