Class JvmNew
- Namespace
- TypedRest.CodeGeneration.Jvm.Model
- Assembly
- TypedRest.CodeGeneration.Jvm.dll
The construction of an object, e.g. ContactElementEndpoint(this, "contacts").
public sealed class JvmNew : JvmExpression
- Inheritance
-
objectJvmNew
Constructors
JvmNew(JvmIdentifier)
The construction of an object, e.g. ContactElementEndpoint(this, "contacts").
public JvmNew(JvmIdentifier type)
Parameters
typeJvmIdentifierThe type to construct.
Properties
Arguments
The arguments to pass to the constructor.
public List<JvmExpression> Arguments { get; }
Property Value
Type
The type to construct.
public JvmIdentifier Type { get; }
Property Value
Methods
GetImports()
Returns every type that has to be imported to write this expression.
public override IEnumerable<JvmIdentifier> GetImports()