| Package | Description |
|---|---|
| ch.rasc.bsoncodec | |
| ch.rasc.bsoncodec.codegen | |
| ch.rasc.bsoncodec.model |
| Modifier and Type | Method and Description |
|---|---|
Set<InstanceField> |
CodecCodeGenerator.getInstanceFields() |
| Modifier and Type | Method and Description |
|---|---|
Set<InstanceField> |
CodeGeneratorContext.instanceFields() |
| Constructor and Description |
|---|
CodeGeneratorContext(FieldModel field,
com.squareup.javapoet.MethodSpec.Builder builder,
Set<InstanceField> instanceFields,
String getter,
String setter) |
| Modifier and Type | Class and Description |
|---|---|
class |
ImmutableInstanceField
Immutable implementation of
InstanceField. |
| Modifier and Type | Method and Description |
|---|---|
LinkedHashSet<InstanceField> |
ImmutableCodecInfo.instanceFields() |
abstract LinkedHashSet<InstanceField> |
CodecInfo.instanceFields() |
| Modifier and Type | Method and Description |
|---|---|
int |
InstanceField.compareTo(InstanceField o) |
static ImmutableInstanceField |
ImmutableInstanceField.copyOf(InstanceField instance)
Creates an immutable copy of a
InstanceField value. |
ImmutableInstanceField.Builder |
ImmutableInstanceField.Builder.from(InstanceField instance)
Fill a builder with attribute values from the provided
InstanceField instance. |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableCodecInfo |
ImmutableCodecInfo.of(TypeElement valueType,
com.squareup.javapoet.TypeName codecType,
LinkedHashSet<InstanceField> instanceFields,
boolean needRegistryField)
Construct a new immutable
CodecInfo instance. |
Copyright © 2015–2017. All rights reserved.