Extensions
nscn.polaris2.protoc.codegen.Extensions
object Extensions
This project's option extensions, typed as ExtensionLite.
The annotation is what makes them usable from Scala at all. hasExtension/getExtension are overloaded three ways - for GeneratedExtension, Extension and ExtensionLite - and since the generated constant's type satisfies all three, Scala reports "Ambiguous overload" where Java would pick the most specific one. Widening each constant to the least specific type leaves exactly one applicable overload.
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Extensions.type
Members list
In this article