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
-
objectEntryBuilder
- 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
endpointEntryEndpointextraArgumentsList<JvmExpression>generatorIEndpointGenerator
Returns
GetBaseType(EntryEndpoint, IEndpointGenerator)
Returns the TypedRest implementation class the endpoint derives from.
protected override JvmIdentifier GetBaseType(EntryEndpoint endpoint, IEndpointGenerator generator)
Parameters
endpointEntryEndpointgeneratorIEndpointGenerator