Table of Contents

Class EntryBuilder

Namespace
TypedRest.CodeGeneration.Jvm.Endpoints
Assembly
TypedRest.CodeGeneration.Jvm.dll

Builds code for the entry endpoint.

public class EntryBuilder : BuilderBase<EntryEndpoint>, IBuilder<EntryEndpoint>, IBuilder
Inheritance
object
EntryBuilder
Implements
Inherited Members

Methods

BuildConstructor(EntryEndpoint, List<JvmExpression>, IEndpointGenerator)

Builds the constructor of a generated endpoint class.

protected override JvmConstructor BuildConstructor(EntryEndpoint endpoint, List<JvmExpression> extraArguments, IEndpointGenerator generator)

Parameters

endpoint EntryEndpoint
extraArguments List<JvmExpression>
generator IEndpointGenerator

Returns

JvmConstructor

GetBaseType(EntryEndpoint, IEndpointGenerator)

Returns the TypedRest implementation class the endpoint derives from.

protected override JvmIdentifier GetBaseType(EntryEndpoint endpoint, IEndpointGenerator generator)

Parameters

endpoint EntryEndpoint
generator IEndpointGenerator

Returns

JvmIdentifier