public class CodecFactory extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CodecFactory.CodecInfo |
| Constructor and Description |
|---|
CodecFactory(AptUtils aptUtils) |
| Modifier and Type | Method and Description |
|---|---|
static CodecContext |
buildCodecContext(AptUtils aptUtils,
AnnotationMirror codecFromType) |
static CodecContext |
buildCodecContext(AptUtils aptUtils,
String codecClassName) |
static RuntimeCodecContext |
buildRuntimeCodecContext(TypeMirror currentType,
AnnotationMirror annotation) |
CodecFactory.CodecInfo |
createCodec(com.squareup.javapoet.TypeName sourceType,
AnnotationTree annotationTree,
FieldParsingContext context,
Optional<CodecFactory.CodecInfo> codecFromRegistry) |
com.squareup.javapoet.TypeName |
determineTargetCQLType(GlobalParsingContext context,
AnnotationTree annotationTree,
com.squareup.javapoet.TypeName parentType,
com.squareup.javapoet.TypeName sourceType,
String methodName,
String paramName,
Optional<CodecFactory.CodecInfo> codecFromRegistry) |
public CodecFactory(AptUtils aptUtils)
public static CodecContext buildCodecContext(AptUtils aptUtils, AnnotationMirror codecFromType)
public static CodecContext buildCodecContext(AptUtils aptUtils, String codecClassName)
public static RuntimeCodecContext buildRuntimeCodecContext(TypeMirror currentType, AnnotationMirror annotation)
public CodecFactory.CodecInfo createCodec(com.squareup.javapoet.TypeName sourceType, AnnotationTree annotationTree, FieldParsingContext context, Optional<CodecFactory.CodecInfo> codecFromRegistry)
public com.squareup.javapoet.TypeName determineTargetCQLType(GlobalParsingContext context, AnnotationTree annotationTree, com.squareup.javapoet.TypeName parentType, com.squareup.javapoet.TypeName sourceType, String methodName, String paramName, Optional<CodecFactory.CodecInfo> codecFromRegistry)
Copyright © 2012-2021. All Rights Reserved.