Class JvmChildEndpoint
- Namespace
- TypedRest.CodeGeneration.Jvm.Model
- Assembly
- TypedRest.CodeGeneration.Jvm.dll
A child endpoint exposed by a generated endpoint class.
public sealed class JvmChildEndpoint
- Inheritance
-
objectJvmChildEndpoint
Constructors
JvmChildEndpoint(string, JvmIdentifier, JvmExpression)
A child endpoint exposed by a generated endpoint class.
public JvmChildEndpoint(string name, JvmIdentifier type, JvmExpression value)
Parameters
namestringThe name of the member.
typeJvmIdentifierThe type of the member.
valueJvmExpressionThe expression the member is initialized with.
Properties
Deprecated
Marks the member as deprecated.
public bool Deprecated { get; set; }
Property Value
ImplementationType
The concrete type Value constructs, which is what an element factory has to instantiate.
public JvmIdentifier ImplementationType { get; set; }
Property Value
Remarks
Differs from Type only when interfaces are being generated.
Name
The name of the member.
public string Name { get; }
Property Value
Summary
A description of the member for a JavaDoc/KDoc comment.
public string? Summary { get; set; }
Property Value
Type
The declared type of the member. The generated interface where there is one, otherwise the concrete type.
public JvmIdentifier Type { get; }
Property Value
Value
The expression the member is initialized with.
public JvmExpression Value { get; }
Property Value
Methods
GetImports()
Returns every type that has to be imported to declare this member.
public IEnumerable<JvmIdentifier> GetImports()