/frameworks/support/room/compiler/src/test/kotlin/androidx/room/solver/ |
D | BasicColumnTypeAdaptersTest.kt | 89 val adapter = TypeAdapterStore.create(Context(invocation.processingEnv)) in <lambda>() 90 .findColumnTypeAdapter(input.getTypeMirror(invocation.processingEnv), null)!! in <lambda>() 103 val adapter = TypeAdapterStore.create(Context(invocation.processingEnv)) in <lambda>() 105 input.getBoxedTypeMirror(invocation.processingEnv), null)!! in <lambda>() 121 val typeMirror = if (boxed) input.getBoxedTypeMirror(invocation.processingEnv) in <lambda>() 122 else input.getTypeMirror(invocation.processingEnv) in <lambda>() 134 JavaFile.builder("foo.bar", spec).build().writeTo(invocation.processingEnv.filer) in <lambda>() 140 val adapter = TypeAdapterStore.create(Context(invocation.processingEnv)) in <lambda>() 141 .findColumnTypeAdapter(input.getTypeMirror(invocation.processingEnv), null)!! in <lambda>() 154 val adapter = TypeAdapterStore.create(Context(invocation.processingEnv)) in <lambda>() [all …]
|
D | TypeAdapterStoreTest.kt | 71 val store = TypeAdapterStore.create(Context(invocation.processingEnv)) in <lambda>() 72 val primitiveType = invocation.processingEnv.typeUtils.getPrimitiveType(TypeKind.INT) in <lambda>() 81 val store = TypeAdapterStore.create(Context(invocation.processingEnv)) in <lambda>() 83 .processingEnv in <lambda>() 101 val store = TypeAdapterStore.create(Context(invocation.processingEnv)) in <lambda>() 102 val booleanType = invocation.processingEnv.typeUtils in <lambda>() 128 val store = TypeAdapterStore.create(Context(invocation.processingEnv), in <lambda>() 129 pointTypeConverters(invocation.processingEnv)) in <lambda>() 130 val pointType = invocation.processingEnv.elementUtils in <lambda>() 160 singleRun { (processingEnv) -> in <lambda>() method [all …]
|
D | TypeAssignmentTest.kt | 55 val string = testObject.getField(processingEnv, "mString") in basic() 56 val integer = testObject.getField(processingEnv, "mInteger") in basic() 67 val set = testObject.getField(processingEnv, "mSet").asType() in generics() 68 val hashSet = testObject.getField(processingEnv, "mHashSet").asType() in generics() 90 val set = testObject.getField(processingEnv, "mSet").asType() in variance() 91 val varianceSet = testObject.getField(processingEnv, "mVarianceSet").asType() in variance() 107 val unbounded = testObject.getField(processingEnv, "mUnboundedMap").asType() in unboundedVariance() 108 val objectMap = testObject.getField(processingEnv, "mStringMap").asType() in unboundedVariance()
|
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/processor/ |
D | Context.kt | 31 val processingEnv: ProcessingEnvironment, constant in androidx.room.processor.Context 37 val COMMON_TYPES: Context.CommonTypes = Context.CommonTypes(processingEnv) 56 constructor(processingEnv: ProcessingEnvironment) : this( 57 processingEnv = processingEnv, 58 logger = RLog(RLog.ProcessingEnvMessager(processingEnv), emptySet(), null), 63 class CommonTypes(val processingEnv: ProcessingEnvironment) { constant in androidx.room.processor.Context.CommonTypes 65 processingEnv.elementUtils.getTypeElement("java.lang.String").asType() in <lambda>() 70 val arg = processingEnv.options[ProcessorOptions.OPTION_SCHEMA_FOLDER.argName] in <lambda>() 80 val subContext = Context(processingEnv = processingEnv, in collectLogs() 103 processingEnv = processingEnv, in fork()
|
D | ShortcutParameterProcessor.kt | 39 val asMember = MoreTypes.asMemberOf(context.processingEnv.typeUtils, containing, element) in process() 59 val elementUtils = context.processingEnv.elementUtils in extractEntityType() 60 val typeUtils = context.processingEnv.typeUtils in extractEntityType()
|
D | CustomConverterProcessor.kt | 92 .methodsIn(context.processingEnv.elementUtils.getAllMembers(element)) in <lambda>() 100 context.processingEnv.elementUtils.getAllMembers(element)) in <lambda>() 109 val asMember = context.processingEnv.typeUtils.asMemberOf(container, methodElement) in <lambda>() 128 MoreTypes.asMemberOf(context.processingEnv.typeUtils, container, it) in <lambda>()
|
D | RawQueryMethodProcessor.kt | 41 val types = context.processingEnv.typeUtils in process() 112 val types = context.processingEnv.typeUtils in findRuntimeQueryParameter() 118 val elementUtils = context.processingEnv.elementUtils in findRuntimeQueryParameter()
|
/frameworks/support/lifecycle/compiler/src/main/kotlin/androidx/lifecycle/ |
D | transformation.kt | 29 private fun mergeAndVerifyMethods(processingEnv: ProcessingEnvironment, in <lambda>() 38 processingEnv.elementUtils.overrides(method, parentMethod.method, type) in <lambda>() 42 processingEnv.messager.printMessage(Diagnostic.Kind.ERROR, in <lambda>() 53 fun flattenObservers(processingEnv: ProcessingEnvironment, in flattenObservers() 69 mergeAndVerifyMethods(processingEnv, observer.type, in flattenObservers() 74 mergeAndVerifyMethods(processingEnv, observer.type, observer.methods, methods)) in flattenObservers() 87 private fun validateMethod(processingEnv: ProcessingEnvironment, in validateMethod() 105 processingEnv.messager.printMessage(Diagnostic.Kind.WARNING, in validateMethod() 110 fun transformToOutput(processingEnv: ProcessingEnvironment, in transformToOutput() 112 val flatObservers = flattenObservers(processingEnv, world.observersInfo) in transformToOutput() [all …]
|
D | input_collector.kt | 38 fun collectAndVerifyInput(processingEnv: ProcessingEnvironment, in <lambda>() 40 val validator = Validator(processingEnv) in <lambda>() 41 val worldCollector = ObserversCollector(processingEnv) in <lambda>() 64 class ObserversCollector(processingEnv: ProcessingEnvironment) { 65 val typeUtils: Types = processingEnv.typeUtils 66 val elementUtils: Elements = processingEnv.elementUtils 69 val validator = Validator(processingEnv) 114 class Validator(val processingEnv: ProcessingEnvironment) { constant in Validator 117 processingEnv.messager.printMessage(Diagnostic.Kind.ERROR, msg, elem) in printErrorMessage()
|
D | writer.kt | 35 fun writeModels(infos: List<AdapterClass>, processingEnv: ProcessingEnvironment) { in <lambda>() 36 infos.forEach({ writeAdapter(it, processingEnv) }) in <lambda>() 59 private fun writeAdapter(adapter: AdapterClass, processingEnv: ProcessingEnvironment) { in writeAdapter() 124 addGeneratedAnnotationIfAvailable(adapterTypeSpecBuilder, processingEnv) in writeAdapter() 127 .build().writeTo(processingEnv.filer) in writeAdapter() 129 generateKeepRule(adapter.type, processingEnv) in writeAdapter() 133 processingEnv: ProcessingEnvironment) { in addGeneratedAnnotationIfAvailable() 134 val generatedAnnotationAvailable = processingEnv in addGeneratedAnnotationIfAvailable() 147 private fun generateKeepRule(type: TypeElement, processingEnv: ProcessingEnvironment) { in generateKeepRule() 163 val out = processingEnv.filer.createResource(StandardLocation.CLASS_OUTPUT, "", path) in generateKeepRule()
|
D | LifecycleProcessor.kt | 29 val input = collectAndVerifyInput(processingEnv, roundEnv) in process() 30 writeModels(transformToOutput(processingEnv, input), processingEnv) in process()
|
/frameworks/support/room/compiler/src/test/kotlin/androidx/room/testing/ |
D | TestInvocation.kt | 24 data class TestInvocation(val processingEnv: ProcessingEnvironment, constant in androidx.room.testing.TestInvocation 27 val context = Context(processingEnv) 30 return processingEnv.elementUtils.getTypeElement(qName) in typeElement() 33 val typeUtils by lazy { processingEnv.typeUtils } in <lambda>()
|
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/solver/binderprovider/ |
D | DataSourceQueryResultBinderProvider.kt | 32 context.processingEnv.elementUtils in <lambda>() 37 context.processingEnv.elementUtils in <lambda>() 61 val erasure = context.processingEnv.typeUtils.erasure(declared) in matches() 62 val isDataSource = context.processingEnv.typeUtils in matches() 67 val isPositional = context.processingEnv.typeUtils in matches()
|
D | FlowableQueryResultBinderProvider.kt | 33 context.processingEnv.elementUtils in <lambda>() 38 context.processingEnv.elementUtils in <lambda>() 59 val erasure = context.processingEnv.typeUtils.erasure(declared) in matches() 60 val match = context.processingEnv.typeUtils.isAssignable(flowableTypeMirror, erasure) in matches()
|
D | LiveDataQueryResultBinderProvider.kt | 31 context.processingEnv.elementUtils in <lambda>() 52 val erasure = context.processingEnv.typeUtils.erasure(declared) in matches() 53 return context.processingEnv.typeUtils.isAssignable(liveDataTypeMirror, erasure) in matches()
|
D | DataSourceFactoryQueryResultBinderProvider.kt | 33 context.processingEnv.elementUtils in <lambda>() 59 val erasure = context.processingEnv.typeUtils.erasure(declared) in matches() 61 return context.processingEnv.typeUtils.isAssignable(dataSourceFactoryTypeMirror, erasure) in matches()
|
D | GuavaListenableFutureQueryResultBinderProvider.kt | 34 context.processingEnv.elementUtils in <lambda>() 62 context.processingEnv.typeUtils.erasure(declared).typeName() ==
|
/frameworks/data-binding/compiler/src/main/java/android/databinding/annotationprocessor/ |
D | ProcessDataBinding.java | 66 done = step.runStep(roundEnv, processingEnv, buildInfo) && done; in process() 73 step.onProcessingOver(roundEnv, processingEnv, buildInfo); in process() 123 AnnotationJavaFileWriter javaFileWriter = new AnnotationJavaFileWriter(processingEnv); in initProcessingSteps() 131 public synchronized void init(ProcessingEnvironment processingEnv) { in init() argument 132 super.init(processingEnv); in init() 133 ModelAnalyzer.setProcessingEnvironment(processingEnv); in init()
|
D | ProcessMethodAdapters.java | 88 processingEnv, SetterStore store) { in addBindingAdapters() argument 106 final boolean takesComponent = takesComponent(executableElement, processingEnv); in addBindingAdapters() 112 Types typeUtils = processingEnv.getTypeUtils(); in addBindingAdapters() 138 store.addBindingAdapter(processingEnv, attribute, executableElement, in addBindingAdapters() 141 store.addBindingAdapter(processingEnv, bindingAdapter.value(), in addBindingAdapters() 242 ProcessingEnvironment processingEnv, SetterStore store) { in addInverseAdapters() argument 262 final boolean takesComponent = takesComponent(executableElement, processingEnv); in addInverseAdapters() 271 store.addInverseAdapter(processingEnv, attribute, event, executableElement, in addInverseAdapters()
|
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/solver/ |
D | TypeAdapterStore.kt | 122 .createPrimitiveAdapters(context.processingEnv) in <lambda>() 125 .createBoxedPrimitiveAdapters(context.processingEnv, primitives) in <lambda>() 127 addColumnAdapter(StringColumnTypeAdapter(context.processingEnv)) in <lambda>() 128 addColumnAdapter(ByteArrayColumnTypeAdapter(context.processingEnv)) in <lambda>() 129 PrimitiveBooleanToIntConverter.create(context.processingEnv).forEach(::addTypeConverter) in <lambda>() 130 BoxedBooleanToBoxedIntConverter.create(context.processingEnv) in <lambda>() 181 val specifiedTargets = affinity?.getTypeMirrors(context.processingEnv) in <lambda>() 221 val types = context.processingEnv.typeUtils in <lambda>() 284 context.processingEnv.typeUtils.erasure(typeMirror).typeName() == in <lambda>() 292 context.processingEnv.typeUtils.erasure(typeMirror).typeName() == in <lambda>() [all …]
|
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/writer/ |
D | ClassWriter.kt | 43 fun write(processingEnv: ProcessingEnvironment) { in createTypeSpecBuilder() 47 addGeneratedAnnotationIfAvailable(builder, processingEnv) in createTypeSpecBuilder() 51 .writeTo(processingEnv.filer) in createTypeSpecBuilder() 64 processingEnv: ProcessingEnvironment) { in addGeneratedAnnotationIfAvailable() 65 val generatedAnnotationAvailable = processingEnv in addGeneratedAnnotationIfAvailable()
|
/frameworks/support/room/compiler/src/test/kotlin/androidx/room/processor/ |
D | BaseDaoTest.kt | 161 val daoElm = invocation.processingEnv.elementUtils.getTypeElement("foo.bar.MyDao") in <lambda>() 162 val dbType = MoreTypes.asDeclared(invocation.context.processingEnv.elementUtils in <lambda>() 166 DaoWriter(processedDao, invocation.processingEnv).write(invocation.processingEnv) in <lambda>()
|
D | FieldProcessorTest.kt | 95 return invocation.processingEnv.typeUtils.getPrimitiveType(this) in <lambda>() 106 return invocation.processingEnv.elementUtils.getTypeElement(box()).asType() in <lambda>() 183 type = invocation.processingEnv.typeUtils.getArrayType( in <lambda>() 199 type = invocation.processingEnv.typeUtils.getArrayType( in <lambda>() 218 type = invocation.processingEnv.typeUtils.getArrayType( in <lambda>() 365 Pair(it, invocation.processingEnv.elementUtils in <lambda>()
|
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/ |
D | RoomProcessor.kt | 38 val context = Context(processingEnv) in <lambda>() 63 DaoWriter(it.dao, context.processingEnv).write(context.processingEnv) in <lambda>() 68 DatabaseWriter(db).write(context.processingEnv) in <lambda>()
|
/frameworks/support/room/compiler/src/test/kotlin/androidx/room/writer/ |
D | DaoWriterTest.kt | 93 invocation.context.processingEnv.elementUtils in <lambda>() 102 DaoWriter(parsedDao, invocation.processingEnv) in <lambda>() 103 .write(invocation.processingEnv) in <lambda>()
|