Home
last modified time | relevance | path

Searched refs:TypeMirror (Results 1 – 25 of 56) sorted by relevance

123

/frameworks/support/room/compiler/src/main/kotlin/androidx/room/ext/
Delement_ext.kt33 import javax.lang.model.type.TypeMirror in <lambda>()
75 : SimpleAnnotationValueVisitor6<List<TypeMirror>, Void?>() {
76 override fun visitArray(values: MutableList<out AnnotationValue>?, p: Void?): List<TypeMirror> { in visitArray()
83 override fun defaultAction(o: Any?, p: Void?): List<TypeMirror>? { in defaultAction()
88 private val TO_TYPE = object : SimpleAnnotationValueVisitor6<TypeMirror, Void>() {
90 override fun visitType(t: TypeMirror, p: Void?): TypeMirror { in visitType()
94 override fun defaultAction(o: Any?, p: Void?): TypeMirror { in defaultAction()
99 fun AnnotationValue.toListOfClassTypes(): List<TypeMirror> { in AnnotationValue()
103 fun AnnotationValue.toType(): TypeMirror { in toType()
107 fun AnnotationValue.toClassType(): TypeMirror? { in toClassType()
[all …]
Dtype_mirror_ext.kt24 import javax.lang.model.type.TypeMirror
26 fun TypeMirror.defaultValue(): String { in TypeMirror() method
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/solver/
DTypeAdapterStore.kt74 import javax.lang.model.type.TypeMirror in <lambda>()
158 input: TypeMirror, in <lambda>()
180 private fun targetTypeMirrorsFor(affinity: SQLTypeAffinity?): List<TypeMirror> { in <lambda>()
192 fun findCursorValueReader(output: TypeMirror, affinity: SQLTypeAffinity?): CursorValueReader? { in <lambda>()
234 fun findColumnTypeAdapter(out: TypeMirror, affinity: SQLTypeAffinity?): ColumnTypeAdapter? { in <lambda>()
252 out: TypeMirror, affinity: SQLTypeAffinity?): ColumnTypeAdapter? { in <lambda>()
258 fun findTypeConverter(input: TypeMirror, output: TypeMirror): TypeConverter? { in <lambda>()
262 fun findQueryResultBinder(typeMirror: TypeMirror, query: ParsedQuery): QueryResultBinder { in <lambda>()
273 fun findQueryResultAdapter(typeMirror: TypeMirror, query: ParsedQuery): QueryResultAdapter? { in <lambda>()
318 fun findRowAdapter(typeMirror: TypeMirror, query: ParsedQuery): RowAdapter? { in <lambda>()
[all …]
DObservableQueryResultBinderProvider.kt25 import javax.lang.model.type.TypeMirror
32 protected abstract fun extractTypeArg(declared: DeclaredType): TypeMirror in extractTypeArg()
33 protected abstract fun create(typeArg: TypeMirror, in extractTypeArg()
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/reflection/annotation/
DAnnotationClass.java39 import javax.lang.model.type.TypeMirror;
50 final TypeMirror mTypeMirror;
52 public AnnotationClass(TypeMirror typeMirror) { in AnnotationClass()
71 TypeMirror component = null; in getComponentType()
97 private DeclaredType findInterface(TypeMirror interfaceType) { in findInterface()
99 TypeMirror foundInterface = null; in findInterface()
103 ArrayList<TypeMirror> toCheck = new ArrayList<TypeMirror>(); in findInterface()
106 TypeMirror typeMirror = toCheck.remove(0); in findInterface()
202 List<? extends TypeMirror> typeArguments = declaredType.getTypeArguments(); in isGeneric()
216 TypeMirror targetApiType = targetApi.asType(); in getMinApi()
[all …]
DAnnotationTypeUtil.java27 import javax.lang.model.type.TypeMirror;
51 private String getDescription(TypeMirror typeMirror) { in getDescription()
98 private String joinArgs(List<? extends TypeMirror> mirrorList) { in joinArgs()
100 for (TypeMirror mirror : mirrorList) { in joinArgs()
DAnnotationMethod.java34 import javax.lang.model.type.TypeMirror;
65 List<? extends TypeMirror> supers = getTypeUtils().directSupertypes(subType); in findReceiverType()
66 for (TypeMirror superType : supers) { in findReceiverType()
98 List<? extends TypeMirror> parameters = mMethod.getParameterTypes(); in getParameterTypes()
113 TypeMirror returnType = mMethod.getReturnType(); in getReturnType()
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/vo/
DCustomTypeConverter.kt24 import javax.lang.model.type.TypeMirror
29 data class CustomTypeConverter(val type: TypeMirror,
31 val from: TypeMirror, val to: TypeMirror) {
DShortcutQueryParameter.kt19 import javax.lang.model.type.TypeMirror
24 data class ShortcutQueryParameter(val name: String, val type: TypeMirror,
25 val entityType: TypeMirror?, val isMultiple: Boolean) {
DQueryParameter.kt20 import javax.lang.model.type.TypeMirror
30 val type: TypeMirror,
DRelation.kt20 import javax.lang.model.type.TypeMirror
28 val pojoType: TypeMirror,
DFieldSetter.kt21 import javax.lang.model.type.TypeMirror
23 data class FieldSetter(val name: String, val type: TypeMirror, val callType: CallType) {
DFieldGetter.kt23 import javax.lang.model.type.TypeMirror
25 data class FieldGetter(val name: String, val type: TypeMirror, val callType: CallType) {
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/processor/
DShortcutParameterProcessor.kt28 import javax.lang.model.type.TypeMirror
57 fun extractEntityType(typeMirror: TypeMirror): Pair<TypeMirror?, Boolean> { in extractEntityType()
62 fun verifyAndPair(entityType: TypeMirror, isMultiple: Boolean): Pair<TypeMirror?, Boolean> { in extractEntityType()
78 fun extractEntityTypeFromIterator(iterableType: DeclaredType): TypeMirror { in extractEntityType()
DInsertionMethodProcessor.kt35 import javax.lang.model.type.TypeMirror
88 private fun getInsertionType(returnType: TypeMirror): InsertionMethod.Type? { in getInsertionType()
90 fun isLongPrimitiveType(typeMirror: TypeMirror) = typeMirror.kind == LONG in getInsertionType()
92 fun isLongBoxType(typeMirror: TypeMirror) = in getInsertionType()
96 fun isLongType(typeMirror: TypeMirror) = in getInsertionType()
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/solver/types/
DTypeConverter.kt20 import javax.lang.model.type.TypeMirror
25 abstract class TypeConverter(val from: TypeMirror, val to: TypeMirror) {
DStatementValueBinder.kt20 import javax.lang.model.type.TypeMirror
27 fun typeMirror(): TypeMirror
DCursorValueReader.kt21 import javax.lang.model.type.TypeMirror
29 fun typeMirror(): TypeMirror
DColumnTypeAdapter.kt21 import javax.lang.model.type.TypeMirror
26 abstract class ColumnTypeAdapter(val out: TypeMirror, val typeAffinity: SQLTypeAffinity) :
DNoOpConverter.kt21 import javax.lang.model.type.TypeMirror
31 class NoOpConverter(type: TypeMirror) : TypeConverter(
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/solver/binderprovider/
DLiveDataQueryResultBinderProvider.kt26 import javax.lang.model.type.TypeMirror
30 private val liveDataTypeMirror: TypeMirror? by lazy { in <lambda>()
35 override fun extractTypeArg(declared: DeclaredType): TypeMirror = declared.typeArguments.first() in extractTypeArg()
37 override fun create(typeArg: TypeMirror, resultAdapter: QueryResultAdapter?, in extractTypeArg()
DFlowableQueryResultBinderProvider.kt28 import javax.lang.model.type.TypeMirror
32 private val flowableTypeMirror: TypeMirror? by lazy { in <lambda>()
42 override fun extractTypeArg(declared: DeclaredType): TypeMirror = declared.typeArguments.first() in extractTypeArg()
44 override fun create(typeArg: TypeMirror, resultAdapter: QueryResultAdapter?, in extractTypeArg()
DDataSourceQueryResultBinderProvider.kt28 import javax.lang.model.type.TypeMirror
31 private val dataSourceTypeMirror: TypeMirror? by lazy { in <lambda>()
36 private val positionalDataSourceTypeMirror: TypeMirror? by lazy { in <lambda>()
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/processor/cache/
DCache.kt28 import javax.lang.model.type.TypeMirror
36 class Cache(val parent: Cache?, val converters: LinkedHashSet<TypeMirror>,
70 val converters: LinkedHashSet<TypeMirror>,
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/solver/query/result/
DRowAdapter.kt20 import javax.lang.model.type.TypeMirror
27 abstract class RowAdapter(val out: TypeMirror) {

123