Table of Contents

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
object
JvmNew

Constructors

JvmNew(JvmIdentifier)

The construction of an object, e.g. ContactElementEndpoint(this, "contacts").

public JvmNew(JvmIdentifier type)

Parameters

type JvmIdentifier

The type to construct.

Properties

Arguments

The arguments to pass to the constructor.

public List<JvmExpression> Arguments { get; }

Property Value

List<JvmExpression>

Type

The type to construct.

public JvmIdentifier Type { get; }

Property Value

JvmIdentifier

Methods

GetImports()

Returns every type that has to be imported to write this expression.

public override IEnumerable<JvmIdentifier> GetImports()

Returns

IEnumerable<JvmIdentifier>