Table of Contents

Class JvmEnum

Namespace
TypedRest.CodeGeneration.Jvm.Model
Assembly
TypedRest.CodeGeneration.Jvm.dll

A generated enum.

public sealed class JvmEnum : IJvmType
Inheritance
object
JvmEnum
Implements

Constructors

JvmEnum(JvmIdentifier)

A generated enum.

public JvmEnum(JvmIdentifier identifier)

Parameters

identifier JvmIdentifier

The name of the type and the package it is declared in.

Properties

Deprecated

Marks the type as deprecated.

public bool Deprecated { get; set; }

Property Value

bool

Identifier

The name of the type and the package it is declared in.

public JvmIdentifier Identifier { get; }

Property Value

JvmIdentifier

Summary

A description of the type for a JavaDoc/KDoc comment.

public string? Summary { get; set; }

Property Value

string

Values

The values of the enum.

public List<JvmEnumValue> Values { get; }

Property Value

List<JvmEnumValue>

Methods

GetImports()

Returns every type that has to be imported by the file declaring this type.

public IEnumerable<JvmIdentifier> GetImports()

Returns

IEnumerable<JvmIdentifier>