Namespace TypedRest.CodeGeneration.Jvm.Model
Classes
- JvmAnnotation
An annotation on a generated type or member, e.g.
@SerialName("first_name").
- JvmChildEndpoint
A child endpoint exposed by a generated endpoint class.
- JvmClassLiteral
A class literal, which the endpoints need to deserialize their entities at runtime.
- JvmConstructor
The constructor of a generated endpoint class.
- JvmDto
A generated DTO.
- JvmDtoProperty
A property of a generated DTO.
- JvmElementFactory
A lambda taking a referrer and a relative URI and returning an endpoint.
- JvmEndpointClass
A generated endpoint class, deriving from one of the TypedRest endpoint implementations.
- JvmEndpointInterface
A generated endpoint interface, extending the TypedRest interface behind the endpoint kind.
- JvmEnum
A generated enum.
- JvmEnumValue
A value of a generated enum.
- JvmExpression
An expression in generated code.
- JvmIdentifier
A reference to a JVM type.
- JvmLiteral
A string literal, e.g. the relative URI of an endpoint.
- JvmName
A reference to a local variable or parameter, e.g.
referrer.
- JvmNew
The construction of an object, e.g.
ContactElementEndpoint(this, "contacts").
- JvmPackage
A JVM package, e.g.
net.typedrest.endpoints.generic.
- JvmParameter
A parameter of a generated constructor.
- JvmSyntax
Syntax helpers shared by the Java and Kotlin generators.
- JvmThis
The
thisreference, which every child endpoint passes as its referrer.
- JvmUriLiteral
A
java.net.URIbuilt from a string literal.
- JvmWriter
Writes indented JVM source code.
- Packages
The packages generated code imports from.
Interfaces
- IJvmType
A type declaration that can be written to a file of its own.
Enums
- JvmTypeKind
The kinds of type a JvmIdentifier can refer to, limited to the distinctions the writers act on.