trait SourceFormat extends AnyRef
Parent to all ouput formats
_ABSTRACT MEMBERS_: to be implemented by a subclass asCompilationUnits compile defaultTypes getName javaTreehugger scalaTreehugger toolName toolShortDescription
_CONCRETE MEMBERS_: implementations to be inherited by a subclass fileExt getFilePath getLocalSubtypes getJavaEnumCompilationUnit getScalaCompilationUnit isEnum registerTypes renameEnum RESERVED_WORDS writeToFile
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- SourceFormat
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Abstract Value Members
- abstract def asCompilationUnits(classStore: ClassStore, namespace: Option[String], schemaOrProtocol: Either[Schema, Protocol], schemaStore: SchemaStore, maybeOutDir: Option[String], typeMatcher: TypeMatcher, restrictedFields: Boolean, targetScalaPartialVersion: String): List[CompilationUnit]
- abstract def compile(classStore: ClassStore, namespace: Option[String], schemaOrProtocol: Either[Schema, Protocol], outDir: String, schemaStore: SchemaStore, typeMatcher: TypeMatcher, restrictedFields: Boolean, targetScalaPartialVersion: String): Unit
- abstract val defaultTypes: AvroScalaTypes
- abstract def getName(schemaOrProtocol: Either[Schema, Protocol], typeMatcher: TypeMatcher): String
- abstract val javaTreehugger: JavaTreehugger
- abstract val scalaTreehugger: ScalaTreehugger
- abstract val toolName: String
- abstract val toolShortDescription: String
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val RESERVED_WORDS: Set[String]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @IntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def fileExt(schemaOrProtocol: Either[Schema, Protocol], typeMatcher: TypeMatcher): String
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def getFilePath(namespace: Option[String], schemaOrProtocol: Either[Schema, Protocol], maybeOutDir: Option[String], typeMatcher: TypeMatcher): Option[Path]
- def getJavaEnumCompilationUnit(classStore: ClassStore, namespace: Option[String], schema: Schema, maybeOutDir: Option[String], typeMatcher: TypeMatcher): CompilationUnit
- def getLocalSubtypes(protocol: Protocol): List[Schema]
- def getScalaCompilationUnit(classStore: ClassStore, namespace: Option[String], schemaOrProtocol: Either[Schema, Protocol], typeMatcher: TypeMatcher, schemaStore: SchemaStore, maybeOutDir: Option[String], restrictedFields: Boolean, targetScalaPartialVersion: String): CompilationUnit
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def isEnum(schema: Schema): Boolean
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def registerTypes(schemaOrProtocol: Either[Schema, Protocol], classStore: ClassStore, typeMatcher: TypeMatcher): Unit
- def renameEnum(schema: Schema, selector: String): String
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- def writeToFile(compilationUnit: CompilationUnit): Unit
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated