Class SwitcherModel
- java.lang.Object
-
- org.immutables.value.processor.meta.SwitcherModel
-
public final class SwitcherModel extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classSwitcherModel.SwitchOption
-
Field Summary
Fields Modifier and Type Field Description private javax.lang.model.element.TypeElementcontainedTypeElementprivate java.lang.StringdefaultNamecom.google.common.collect.ImmutableList<SwitcherModel.SwitchOption>optionsprivate NamingswitcherNaming
-
Constructor Summary
Constructors Constructor Description SwitcherModel(SwitchMirror mirror, Styles.UsingName.AttributeNames names, javax.lang.model.element.TypeElement containedTypeElement)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private com.google.common.collect.ImmutableList<SwitcherModel.SwitchOption>constructOptions()booleanhasDefault()
-
-
-
Field Detail
-
defaultName
private final java.lang.String defaultName
-
switcherNaming
private final Naming switcherNaming
-
options
public final com.google.common.collect.ImmutableList<SwitcherModel.SwitchOption> options
-
containedTypeElement
private final javax.lang.model.element.TypeElement containedTypeElement
-
-
Constructor Detail
-
SwitcherModel
SwitcherModel(SwitchMirror mirror, Styles.UsingName.AttributeNames names, javax.lang.model.element.TypeElement containedTypeElement)
-
-
Method Detail
-
constructOptions
private com.google.common.collect.ImmutableList<SwitcherModel.SwitchOption> constructOptions()
-
hasDefault
public boolean hasDefault()
-
-