Class JvmLiteral
- Namespace
- TypedRest.CodeGeneration.Jvm.Model
- Assembly
- TypedRest.CodeGeneration.Jvm.dll
A string literal, e.g. the relative URI of an endpoint.
public sealed class JvmLiteral : JvmExpression
- Inheritance
-
objectJvmLiteral
Constructors
JvmLiteral(string)
A string literal, e.g. the relative URI of an endpoint.
public JvmLiteral(string value)
Parameters
valuestringThe value of the literal, unescaped.
Properties
Value
The value of the literal, unescaped.
public string Value { get; }
Property Value
Methods
GetImports()
Returns every type that has to be imported to write this expression.
public override IEnumerable<JvmIdentifier> GetImports()