/external/javaparser/javaparser-symbol-solver-logic/src/main/java/com/github/javaparser/symbolsolver/logic/ |
D | InferenceContext.java | 69 private void registerCorrespondance(ResolvedType formalType, ResolvedType actualType) { in registerCorrespondance() argument 70 if (formalType.isReferenceType() && actualType.isReferenceType()) { in registerCorrespondance() 72 ResolvedReferenceType actualTypeAsReference = actualType.asReferenceType(); in registerCorrespondance() 83 throw new ConfilictingGenericTypesException(formalType, actualType); in registerCorrespondance() 104 } else if (formalType instanceof InferenceVariableType && !actualType.isPrimitive()) { in registerCorrespondance() 105 ((InferenceVariableType) formalType).registerEquivalentType(actualType); in registerCorrespondance() 106 if (actualType instanceof InferenceVariableType) { in registerCorrespondance() 107 ((InferenceVariableType) actualType).registerEquivalentType(formalType); in registerCorrespondance() 109 } else if (actualType.isNull()) { in registerCorrespondance() 111 } else if (actualType.equals(formalType)) { in registerCorrespondance() [all …]
|
D | ConfilictingGenericTypesException.java | 10 public ConfilictingGenericTypesException(ResolvedType formalType, ResolvedType actualType) { in ConfilictingGenericTypesException() argument 11 … super(String.format("No matching between %s (formal) and %s (actual)", formalType, actualType)); in ConfilictingGenericTypesException()
|
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/ |
D | ConstructorResolutionLogic.java | 70 ResolvedType actualType = argumentsTypes.get(pos); in isApplicable() local 71 if (!expectedType.isAssignableBy(actualType)) { in isApplicable() 75 if (!expectedType.isAssignableBy(actualType)) { in isApplicable() 76 if (actualType.isArray() in isApplicable() 77 … && expectedType.isAssignableBy(actualType.asArrayType().getComponentType())) { in isApplicable() 78 argumentsTypes.set(pos, actualType.asArrayType().getComponentType()); in isApplicable() 101 ResolvedType actualType = argumentsTypes.get(i); in isApplicable() local 104 matchedParameters.put(expectedType.asTypeParameter().getName(), actualType); in isApplicable() local 108 expectedType.isAssignableBy(actualType) || (constructor.getParam(i).isVariadic() in isApplicable() 109 && new ResolvedArrayType(expectedType).isAssignableBy(actualType)); in isApplicable() [all …]
|
D | MethodResolutionLogic.java | 81 ResolvedType actualType = argumentsTypes.get(pos); in isApplicable() local 82 if (!expectedType.isAssignableBy(actualType)) { in isApplicable() 86 if (!expectedType.isAssignableBy(actualType)) { in isApplicable() 87 …if (actualType.isArray() && expectedType.isAssignableBy(actualType.asArrayType().getComponentType(… in isApplicable() 88 argumentsTypes.set(pos, actualType.asArrayType().getComponentType()); in isApplicable() 109 ResolvedType actualType = argumentsTypes.get(i); in isApplicable() local 111 matchedParameters.put(expectedType.asTypeParameter().getName(), actualType); in isApplicable() local 114 boolean isAssignableWithoutSubstitution = expectedType.isAssignableBy(actualType) || in isApplicable() 115 …method.getParam(i).isVariadic() && new ResolvedArrayType(expectedType).isAssignableBy(actualType)); in isApplicable() 116 …if (!isAssignableWithoutSubstitution && expectedType.isReferenceType() && actualType.isReferenceTy… in isApplicable() [all …]
|
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/contexts/ |
D | MethodCallExprContext.java | 307 ResolvedType actualType = in resolveMethodTypeParameters() local 311 if (!expectedType.isAssignableBy(actualType)) { in resolveMethodTypeParameters() 316 if (!expectedType.isAssignableBy(actualType)) { in resolveMethodTypeParameters() 321 actualType, in resolveMethodTypeParameters() 326 matchTypeParameters(expectedType, actualType, matchedTypeParameters); in resolveMethodTypeParameters() 338 ResolvedType actualType = actualParamTypes.get(i); in resolveMethodTypeParameters() local 339 matchTypeParameters(expectedType, actualType, matchedTypeParameters); in resolveMethodTypeParameters() 347 …private void matchTypeParameters(ResolvedType expectedType, ResolvedType actualType, Map<ResolvedT… in matchTypeParameters() argument 349 if (!actualType.isTypeVariable() && !actualType.isReferenceType()) { in matchTypeParameters() 350 throw new UnsupportedOperationException(actualType.getClass().getCanonicalName()); in matchTypeParameters() [all …]
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-logic/ |
D | com_github_javaparser_symbolsolver_logic_InferenceContext.txt | 14 …Line 69) actualType.isReferenceType() ==> com.github.javaparser.symbolsolver.model.typesystem.Type… 16 …Line 71) actualType.asReferenceType() ==> com.github.javaparser.symbolsolver.model.typesystem.Type… 50 …Line 103) actualType.isPrimitive() ==> com.github.javaparser.symbolsolver.model.typesystem.Type.is… 51 …Line 104) ((InferenceVariableType) formalType).registerEquivalentType(actualType) ==> com.github.j… 52 …Line 106) ((InferenceVariableType) actualType).registerEquivalentType(formalType) ==> com.github.j… 53 …Line 108) actualType.isNull() ==> com.github.javaparser.symbolsolver.model.typesystem.Type.isNull() 54 Line 110) actualType.equals(formalType) ==> java.lang.Object.equals(java.lang.Object) 55 …Line 112) actualType.isArray() ==> com.github.javaparser.symbolsolver.model.typesystem.Type.isArra… 57 …Line 113) registerCorrespondance(formalType.asArrayType().getComponentType(), actualType.asArrayTy… 60 …Line 113) actualType.asArrayType().getComponentType() ==> com.github.javaparser.symbolsolver.model… [all …]
|
D | com_github_javaparser_symbolsolver_logic_ConfilictingGenericTypesException.txt | 1 …Line 11) String.format("No matching between %s (formal) and %s (actual)", formalType, actualType) …
|
/external/robolectric-shadows/processor/src/main/java/org/robolectric/annotation/processing/ |
D | RobolectricModel.java | 92 public void addShadowType(TypeElement shadowType, TypeElement actualType, in addShadowType() argument 105 new ShadowInfo(shadowType, actualType, shadowPickerType, shadowBaseType); in addShadowType() 109 registerType(shadowInfo.actualType); in addShadowType() 331 private final TypeElement actualType; field in RobolectricModel.ShadowInfo 345 ShadowInfo(TypeElement shadowType, TypeElement actualType, TypeElement shadowPickerType, in ShadowInfo() argument 348 this.actualType = actualType; in ShadowInfo() 357 for (TypeParameterElement typeParam : actualType.getTypeParameters()) { in prepare() 384 actualTypeReferent = referentResolver.getReferentFor(actualType); in prepare() 385 actualTypePackage = helpers.getPackageOf(actualType); in prepare() 386 actualBinaryName = helpers.getBinaryName(actualType); in prepare() [all …]
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-core/ |
D | com_github_javaparser_symbolsolver_resolution_ConstructorResolutionLogic.txt | 18 …Line 71) expectedType.isAssignableBy(actualType) ==> com.github.javaparser.symbolsolver.model.type… 21 …Line 75) expectedType.isAssignableBy(actualType) ==> com.github.javaparser.symbolsolver.model.type… 22 …Line 76) actualType.isArray() ==> com.github.javaparser.symbolsolver.model.typesystem.Type.isArray… 23 …Line 77) expectedType.isAssignableBy(actualType.asArrayType().getComponentType()) ==> com.github.j… 24 …Line 77) actualType.asArrayType().getComponentType() ==> com.github.javaparser.symbolsolver.model.… 25 …Line 77) actualType.asArrayType() ==> com.github.javaparser.symbolsolver.model.typesystem.Type.asA… 26 …Line 78) argumentsTypes.set(pos, actualType.asArrayType().getComponentType()) ==> java.util.List.s… 27 …Line 78) actualType.asArrayType().getComponentType() ==> com.github.javaparser.symbolsolver.model.… 28 …Line 78) actualType.asArrayType() ==> com.github.javaparser.symbolsolver.model.typesystem.Type.asA… 46 …Line 104) matchedParameters.put(expectedType.asTypeParameter().getName(), actualType) ==> java.uti… [all …]
|
D | com_github_javaparser_symbolsolver_javaparsermodel_contexts_MethodCallExprContext.txt | 242 …Line 353) expectedType.isAssignableBy(actualType) ==> com.github.javaparser.symbolsolver.model.typ… 246 …Line 358) expectedType.isAssignableBy(actualType) ==> com.github.javaparser.symbolsolver.model.typ… 247 …tual type: %s. Method Declaration: %s. MethodUsage: %s", expectedType, actualType, methodUsage.get… 249 …Line 368) matchTypeParameters(expectedType, actualType, matchedTypeParameters) ==> com.github.java… 256 …Line 381) matchTypeParameters(expectedType, actualType, matchedTypeParameters) ==> com.github.java… 261 …Line 391) actualType.isTypeVariable() ==> com.github.javaparser.symbolsolver.model.typesystem.Type… 262 …Line 391) actualType.isReferenceType() ==> com.github.javaparser.symbolsolver.model.typesystem.Typ… 263 Line 392) actualType.getClass().getCanonicalName() ==> java.lang.Class.getCanonicalName() 264 Line 392) actualType.getClass() ==> java.lang.Object.getClass() 265 …Line 394) matchedTypeParameters.put(expectedType.asTypeParameter(), actualType) ==> java.util.Map.… [all …]
|
D | com_github_javaparser_symbolsolver_resolution_MethodResolutionLogic.txt | 20 …Line 79) expectedType.isAssignableBy(actualType) ==> com.github.javaparser.symbolsolver.model.type… 23 …Line 83) expectedType.isAssignableBy(actualType) ==> com.github.javaparser.symbolsolver.model.type… 24 …Line 84) actualType.isArray() ==> com.github.javaparser.symbolsolver.model.typesystem.Type.isArray… 25 …Line 84) expectedType.isAssignableBy(actualType.asArrayType().getComponentType()) ==> com.github.j… 26 …Line 84) actualType.asArrayType().getComponentType() ==> com.github.javaparser.symbolsolver.model.… 27 …Line 84) actualType.asArrayType() ==> com.github.javaparser.symbolsolver.model.typesystem.Type.asA… 28 …Line 85) argumentsTypes.set(pos, actualType.asArrayType().getComponentType()) ==> java.util.List.s… 29 …Line 85) actualType.asArrayType().getComponentType() ==> com.github.javaparser.symbolsolver.model.… 30 …Line 85) actualType.asArrayType() ==> com.github.javaparser.symbolsolver.model.typesystem.Type.asA… 48 …Line 108) matchedParameters.put(expectedType.asTypeParameter().getName(), actualType) ==> java.uti… [all …]
|
D | com_github_javaparser_symbolsolver_reflectionmodel_ReflectionEnumDeclaration.txt | 33 …Line 173) parameters.add(inferenceContext.addPair(formalType, actualType)) ==> java.util.List.add(… 34 …Line 173) inferenceContext.addPair(formalType, actualType) ==> com.github.javaparser.symbolsolver.…
|
/external/robolectric-shadows/processor/src/main/java/org/robolectric/annotation/processing/validator/ |
D | ImplementsValidator.java | 105 TypeElement actualType = null; in visitType() local 111 actualType = getClassNameTypeElement(cv); in visitType() 113 if (actualType == null in visitType() 126 actualType = Helpers.getAnnotationTypeMirrorValue(types.asElement(value)); in visitType() 129 if (actualType == null) { in visitType() 133 final List<? extends TypeParameterElement> typeTP = actualType.getTypeParameters(); in visitType() 139 helpers.appendParameterList(message, actualType.getTypeParameters()); in visitType() 145 helpers.appendParameterList(message, actualType.getTypeParameters()); in visitType() 158 validateShadowMethods(actualType, shadowType, minSdk, maxSdk, looseSignatures); in visitType() 160 modelBuilder.addShadowType(shadowType, actualType, in visitType()
|
/external/mockito/src/main/java/org/mockito/internal/exceptions/ |
D | Reporter.java | 495 …public static MockitoException wrongTypeOfReturnValue(String expectedType, String actualType, Stri… in wrongTypeOfReturnValue() argument 497 actualType + " cannot be returned by " + methodName + "()", in wrongTypeOfReturnValue() 510 …ngTypeReturnedByDefaultAnswer(Object mock, String expectedType, String actualType, String methodNa… in wrongTypeReturnedByDefaultAnswer() argument 513 actualType + " cannot be returned by " + methodName + "()", in wrongTypeReturnedByDefaultAnswer() 773 …entToReturn(InvocationOnMock invocation, String expectedType, Class<?> actualType, int argumentInd… in wrongTypeOfArgumentToReturn() argument 775 …"The argument of type '" + actualType.getSimpleName() + "' cannot be returned because the followin… in wrongTypeOfArgumentToReturn()
|
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/ |
D | TypeExtractor.java | 421 ResolvedType actualType; in visit() local 424 … actualType = facade.getType(((ExpressionStmt) lambdaExpr.getBody()).getExpression()); in visit() 432 actualType = returnStmts.stream() in visit() 450 funcInterfaceCtx.addPair(formalType, actualType); in visit() 495 … ResolvedType actualType = facade.toMethodUsage(methodReferenceExpr).returnType(); in visit() local 499 inferenceContext.addPair(formalType, actualType); in visit()
|
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/reflectionmodel/ |
D | ReflectionEnumDeclaration.java | 172 for (ResolvedType actualType : parameterTypes) { in solveMethodAsUsage() 176 parameters.add(inferenceContext.addPair(formalType, actualType)); in solveMethodAsUsage()
|
D | ReflectionInterfaceDeclaration.java | 145 for (ResolvedType actualType : parameterTypes) { in solveMethodAsUsage() 149 parameters.add(inferenceContext.addPair(formalType, actualType)); in solveMethodAsUsage()
|
/external/vogar/src/vogar/ |
D | OptionParser.java | 173 Type actualType = parameterizedType.getActualTypeArguments()[0]; in getHandler() local 174 if (!(actualType instanceof Class)) { in getHandler() 177 return getHandler(actualType); in getHandler()
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | CodePointTrie.java | 194 Type actualType; in fromBinary() local 196 case 0: actualType = Type.FAST; break; in fromBinary() 197 case 1: actualType = Type.SMALL; break; in fromBinary() 217 type = actualType; in fromBinary() 222 if (type != actualType || valueWidth != actualValueWidth) { in fromBinary()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | CodePointTrie.java | 199 Type actualType; in fromBinary() local 201 case 0: actualType = Type.FAST; break; in fromBinary() 202 case 1: actualType = Type.SMALL; break; in fromBinary() 222 type = actualType; in fromBinary() 227 if (type != actualType || valueWidth != actualValueWidth) { in fromBinary()
|
/external/mockito/src/main/java/org/mockito/internal/util/reflection/ |
D | GenericMetadataSupport.java | 208 Type actualType = getActualTypeArgumentFor(typeParameter); in actualTypeArguments() local 210 actualTypeArguments.put(typeParameter, actualType); in actualTypeArguments()
|
/external/icu/icu4c/source/common/ |
D | ucptrie.cpp | 57 UCPTrieType actualType = (UCPTrieType)typeInt; in ucptrie_openFromBinary() local 60 type = actualType; in ucptrie_openFromBinary() 65 if (type != actualType || valueWidth != actualValueWidth) { in ucptrie_openFromBinary()
|
/external/webrtc/webrtc/modules/audio_device/linux/ |
D | audio_device_alsa_linux.cc | 1752 char *actualType = LATE(snd_device_name_get_hint)(*list, "IOID"); in GetDevicesInfo() local 1753 if (actualType) in GetDevicesInfo() 1755 bool wrongType = (strcmp(actualType, type) != 0); in GetDevicesInfo() 1756 free(actualType); in GetDevicesInfo()
|
/external/skia/tests/ |
D | GeometryTest.cpp | 226 SkCubicType actualType = SkClassifyCubic(bezierPoints.data()); in check_cubic_type() local 228 REPORTER_ASSERT(reporter, actualType == expectedType); in check_cubic_type()
|
/external/skqp/tests/ |
D | GeometryTest.cpp | 226 SkCubicType actualType = SkClassifyCubic(bezierPoints.data()); in check_cubic_type() local 228 REPORTER_ASSERT(reporter, actualType == expectedType); in check_cubic_type()
|