ApolloCompilerJavaHooks

interface ApolloCompilerJavaHooks

Types

Link copied to clipboard
data class FileInfo(val javaFile: JavaFile)
Link copied to clipboard
object Identity : DefaultApolloCompilerJavaHooks

The default implementation of ApolloCompilerJavaHooks that overrides nothing.

Functions

Link copied to clipboard
abstract fun overrideResolvedType(key: ResolverKey, resolved: ClassName?): ClassName?

Allows overriding the names of classes that are referenced in the generated code.

Link copied to clipboard

Allows processing the generated files right before they are written to the disk.

Properties

Link copied to clipboard
abstract val version: String

The version of this ApolloCompilerJavaHooks.

Inheritors

Link copied to clipboard
Link copied to clipboard