Home
last modified time | relevance | path

Searched refs:TypeSimplifier (Results 1 – 12 of 12) sorted by relevance

/external/auto/value/src/test/java/com/google/auto/value/processor/
DTypeSimplifierTest.java200 assertThat(TypeSimplifier.packageNameOf(typeElementOf(java.lang.String.class))) in testPackageNameOfString()
206 assertThat(TypeSimplifier.packageNameOf(typeElementOf(java.util.Map.Entry.class))) in testPackageNameOfMapEntry()
230 boolean actualUnchecked = TypeSimplifier.isCastingUnchecked(fieldType); in testIsCastingUnchecked()
DAutoValueCompilationTest.java2828 String pkg = TypeSimplifier.packageNameOf(type); in generateFoo()
/external/auto/value/src/main/java/com/google/auto/value/processor/
DBuilderSpec.java226 TypeSimplifier.actualTypeParametersString(builderTypeElement)); in toBuilderMethods()
294 vars.builderTypeName = TypeSimplifier.classNameOf(builderTypeElement); in defineVars()
296 vars.builderActualTypes = TypeSimplifier.actualTypeParametersString(builderTypeElement); in defineVars()
530 return TypeSimplifier.actualTypeParametersString(autoValueClass); in typeParamsString()
DTypeSimplifier.java54 final class TypeSimplifier { class
87 TypeSimplifier( in TypeSimplifier() method in TypeSimplifier
345 return t.getTypeArguments().stream().anyMatch(TypeSimplifier::uncheckedTypeArgument);
DAutoValueProcessor.java253 vars.finalSubclass = TypeSimplifier.simpleNameOf(finalSubclass); in processType()
270 vars.subclass = TypeSimplifier.simpleNameOf(subclass); in processType()
302 String parentSimpleName = TypeSimplifier.simpleNameOf(parentFqName); in writeExtensions()
304 String classSimpleName = TypeSimplifier.simpleNameOf(classFqName); in writeExtensions()
DGwtSerialization.java97 vars.serializerClass = TypeSimplifier.simpleNameOf(className); in maybeWriteGwtSerializer()
112 this.isCastingUnchecked = TypeSimplifier.isCastingUnchecked(property.getTypeMirror()); in Property()
DTypeEncoder.java419 TypeSimplifier typeSimplifier = in rewrite()
420 new TypeSimplifier(elementUtils, typeUtils, packageName, referencedClasses, baseType); in rewrite()
467 private void decode(StringBuilder output, TypeSimplifier typeSimplifier, int token) { in decode()
DExtensionContext.java65 return TypeSimplifier.packageNameOf(autoValueClass); in packageName()
DAutoValueOrOneOfProcessor.java419 vars.pkg = TypeSimplifier.packageNameOf(type); in defineSharedVarsForType()
420 vars.origClass = TypeSimplifier.classNameOf(type); in defineSharedVarsForType()
421 vars.simpleClassName = TypeSimplifier.simpleNameOf(vars.origClass); in defineSharedVarsForType()
427 vars.actualTypes = TypeSimplifier.actualTypeParametersString(type); in defineSharedVarsForType()
460 String pkg = TypeSimplifier.packageNameOf(type); in generatedClassName()
DAutoOneOfProcessor.java114 vars.generatedClass = TypeSimplifier.simpleNameOf(subclass); in processType()
DBuilderMethodClassifier.java639 return TypeSimplifier.actualTypeParametersString(autoValueClass); in typeParamsString()
DAutoAnnotationProcessor.java156 String pkg = TypeSimplifier.packageNameOf(methodClass); in processMethod()