Home
last modified time | relevance | path

Searched refs:getResolvedType (Results 1 – 22 of 22) sorted by relevance

/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/
DMathExpr.java46 if (getLeft().getResolvedType().isString() in resolveType()
47 || getRight().getResolvedType().isString()) { in resolveType()
51 return modelAnalyzer.findCommonParentOf(getLeft().getResolvedType(), in resolveType()
52 getRight().getResolvedType()); in resolveType()
90 if (getResolvedType().isString()) { in getInvertibleError()
98 if (!dyn.getResolvedType().unbox().isPrimitive()) { in getInvertibleError()
118 if (getResolvedType().isString()) { in generateInverse()
DFieldAccessExpr.java54 getResolvedType(); in getGetter()
65 return "Two-way binding cannot resolve a setter for " + getResolvedType().toJavaCode() + in getInvertibleError()
69 return "Cannot change a final field in " + getResolvedType().toJavaCode() + in getInvertibleError()
82 getResolvedType(); in isDynamic()
107 final ModelClass targetType = getTarget().getResolvedType(); in resolveListeners()
151 target.getResolvedType(); in resolveType()
153 ModelClass resolvedType = target.getResolvedType(); in resolveType()
222 final ModelClass targetClass = expr.getResolvedType(); in resolveTwoWayExpressions()
293 Expr castExpr = model.castExpr(getResolvedType().toJavaCode(), value); in generateInverse()
DBracketExpr.java45 ModelClass targetType = getTarget().getResolvedType(); in resolveType()
116 return mAccessor != BracketAccessor.MAP && getArg().getResolvedType().isObject(); in argCastsInteger()
132 ModelClass targetType = getTarget().getResolvedType().erasure(); in generateCode()
165 ModelClass targetType = getTarget().getResolvedType(); in generateInverse()
167 value.getResolvedType().isPrimitive()) { in generateInverse()
168 ModelClass boxed = value.getResolvedType().box(); in generateInverse()
DTernaryExpr.java70 return ifFalse.getResolvedType(); in resolveType()
72 return ifTrue.getResolvedType(); in resolveType()
74 return modelAnalyzer.findCommonParentOf(getIfTrue().getResolvedType(), in resolveType()
75 getIfFalse().getResolvedType()); in resolveType()
79 final ModelClass type = expr.getResolvedType(); in isNullLiteral()
DMethodCallExpr.java127 args.add(expr.getResolvedType()); in resolveType()
132 ModelMethod method = target.getResolvedType().getMethod(mName, args, isStatic, in resolveType()
143 target.getResolvedType().toJavaCode(); in resolveType()
146 target.getResolvedType().toJavaCode()); in resolveType()
154 .staticIdentifierFor(target.getResolvedType()); in resolveType()
DStaticIdentifierExpr.java39 return "Class " + getResolvedType().toJavaCode() + in getInvertibleError()
50 return new KCode(getResolvedType().toJavaCode()); in generateCode()
DObservableFieldExpr.java45 target.getResolvedType(); in resolveType()
47 ModelClass resolvedType = target.getResolvedType(); in resolveType()
DCastExpr.java57 return getResolvedType().toJavaCode(); in getCastType()
77 ModelClass exprType = castExpr.getResolvedType(); in generateInverse()
DBitShiftExpr.java39 return getLeft().getResolvedType(); in resolveType()
DUnaryExpr.java59 return getExpr().getResolvedType(); in resolveType()
DListenerExpr.java80 return join(getResolvedType().getCanonicalName(), getTarget().computeUniqueKey(), mName); in computeUniqueKey()
DCallbackExprModel.java64 expr.getResolvedType(); in seal()
DExpr.java171 return getResolvedType().isObservable(); in isObservable()
313 public ModelClass getResolvedType() { in getResolvedType() method in Expr
642 return ModelAnalyzer.getInstance().getDefaultValue(getResolvedType().toJavaCode()); in getDefaultValue()
DMethodBaseExpr.java64 final ModelClass childType = target.getResolvedType(); in resolveListenersAsMethodReference()
DExprModel.java477 expr.getResolvedType();
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/
DInverseBinding.java99 return mTarget.getResolvedType().isViewDataBinding(); in isOnBinder()
106 ModelClass viewType = mTarget.getResolvedType(); in setGetterCall()
108 final ModelClass resolvedType = expr == null ? null : expr.getResolvedType(); in setGetterCall()
113 expr == null ? "Unknown" : mExpr.getResolvedType(), in setGetterCall()
114 mTarget.getResolvedType()); in setGetterCall()
DBinding.java109 L.e(ErrorMessages.CANNOT_FIND_SETTER_CALL, mName, mExpr.getResolvedType(), in getSetterCall()
121 ModelClass viewType = mTarget.getResolvedType(); in resolveSetterCall()
128 viewStubProxy, mExpr.getResolvedType(), mExpr.getModel().getImports()); in resolveSetterCall()
130 mSetterCall = new ViewStubDirectCall(mName, viewType, mExpr.getResolvedType(), in resolveSetterCall()
138 viewType, mExpr.getResolvedType(), mExpr.getModel().getImports()); in resolveSetterCall()
147 ModelClass viewType = target.getResolvedType(); in getListenerParameter()
DBindingTarget.java106 public ModelClass getResolvedType() { in getResolvedType() method in BindingTarget
198 types[i] = binding.getExpr().getResolvedType(); in resolveMultiSetters()
204 .getMultiAttributeSetterCalls(attributes, getResolvedType(), types); in resolveMultiSetters()
/frameworks/data-binding/compiler/src/test/java/android/databinding/tool/
DLayoutBinderTest.java57 assertEquals(new JavaClass(String.class), id.getResolvedType()); in testRegisterId()
71 assertEquals(new JavaClass(String.class), id.getResolvedType()); in testRegisterImport()
102 fa.getResolvedType(); in testParseWithMethods()
DExpressionVisitorTest.java64 assertEquals(new JavaClass(Object.class),res.getResolvedType()); in testSymbol()
122 assertEquals(new JavaClass(String.class), id.getResolvedType()); in testIdentifier()
149 assertEquals(new JavaClass(int.class), parsed.getResolvedType()); in testInheritedFieldResolution()
165 assertEquals(new JavaClass(byte[].class), parsed.getResolvedType()); in testGetterResolution()
/frameworks/data-binding/compiler/src/test/java/android/databinding/tool/expr/
DExprModelTest.java878 assertEquals(id.getResolvedType().getCanonicalName(), "android.view.View"); in testStaticFieldOfInstance()
890 final StaticIdentifierExpr id = mExprModel.staticIdentifierFor(myView.getResolvedType()); in testOnDemandImportConflict()
906 final StaticIdentifierExpr id = mExprModel.staticIdentifierFor(u.getResolvedType()); in testOnDemandImportAlreadyImported()
923 assertEquals(id.getResolvedType().getCanonicalName(), User.class.getCanonicalName()); in testStaticMethodOfInstance()
/frameworks/base/config/
Dboot-image-profile.txt48500 HSPLlibcore/reflect/ParameterizedTypeImpl;->getResolvedType()Ljava/lang/reflect/Type;