Home
last modified time | relevance | path

Searched refs:expectedType (Results 1 – 25 of 57) sorted by relevance

123

/external/guice/core/src/com/google/inject/internal/
DConstructionContext.java63 Class<?> expectedType) throws ErrorsException { in createProxy() argument
65 throw errors.circularProxiesDisabled(expectedType).toException(); in createProxy()
67 if (!expectedType.isInterface()) { in createProxy()
68 throw errors.cannotSatisfyCircularDependency(expectedType).toException(); in createProxy()
81 ClassLoader classLoader = BytecodeGen.getClassLoader(expectedType); in createProxy()
82 return expectedType.cast(Proxy.newProxyInstance(classLoader, in createProxy()
83 new Class[] { expectedType, CircularDependencyProxy.class }, invocationHandler)); in createProxy()
DProviderInternalFactory.java49 Class<?> expectedType = dependency.getKey().getTypeLiteral().getRawType(); in circularGet() local
53 errors, context.getInjectorOptions(), expectedType); in circularGet()
DConstructorInjector.java62 Class<?> expectedType, in construct() argument
71 errors, context.getInjectorOptions(), expectedType); in construct()
DErrors.java449 public Errors cannotSatisfyCircularDependency(Class<?> expectedType) { in cannotSatisfyCircularDependency() argument
452 expectedType); in cannotSatisfyCircularDependency()
455 public Errors circularProxiesDisabled(Class<?> expectedType) { in circularProxiesDisabled() argument
458 expectedType); in circularProxiesDisabled()
/external/hamcrest/library/src/org/hamcrest/
DTypeSafeMatcher.java13 private Class expectedType; field in TypeSafeMatcher
22 expectedType = findExpectedType(getClass()); in TypeSafeMatcher()
43 protected TypeSafeMatcher(Class<T> expectedType) { in TypeSafeMatcher() argument
44 this.expectedType = expectedType; in TypeSafeMatcher()
55 && expectedType.isInstance(item) in matches()
/external/junit/src/org/junit/internal/matchers/
DTypeSafeMatcher.java15 private Class<?> expectedType; field in TypeSafeMatcher
24 expectedType = findExpectedType(getClass()); in TypeSafeMatcher()
45 protected TypeSafeMatcher(Class<T> expectedType) { in TypeSafeMatcher() argument
46 this.expectedType = expectedType; in TypeSafeMatcher()
57 && expectedType.isInstance(item) in matches()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DRegionTest.java393 Region.RegionType expectedType = Region.RegionType.valueOf(data[2]); in TestGetInstanceString() local
398 if ( !expectedType.equals(r.getType())) { in TestGetInstanceString()
399 …egion type for Region.getInstance(\"" + inputID + "\"); Expected: " + expectedType + " Got: " + r.… in TestGetInstanceString()
423 Region.RegionType expectedType = Region.RegionType.valueOf(data[2]); in TestGetInstanceInt() local
428 if ( !expectedType.equals(r.getType())) { in TestGetInstanceInt()
429 …ed region type for Region.getInstance(" + inputID + "); Expected: " + expectedType + " Got: " + r.… in TestGetInstanceInt()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DRegionTest.java397 Region.RegionType expectedType = Region.RegionType.valueOf(data[2]); in TestGetInstanceString() local
402 if ( !expectedType.equals(r.getType())) { in TestGetInstanceString()
403 …egion type for Region.getInstance(\"" + inputID + "\"); Expected: " + expectedType + " Got: " + r.… in TestGetInstanceString()
427 Region.RegionType expectedType = Region.RegionType.valueOf(data[2]); in TestGetInstanceInt() local
432 if ( !expectedType.equals(r.getType())) { in TestGetInstanceInt()
433 …ed region type for Region.getInstance(" + inputID + "); Expected: " + expectedType + " Got: " + r.… in TestGetInstanceInt()
/external/dagger2/lib/
Dauto-common-1.0-20151022.071545-39.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/mockito/cglib-and-asm/src/org/mockito/asm/tree/analysis/
DSimpleVerifier.java165 Type expectedType = ((BasicValue) expected).getType(); in isSubTypeOf() local
167 switch (expectedType.getSort()) { in isSubTypeOf()
172 return type == expectedType; in isSubTypeOf()
180 return isAssignableFrom(expectedType, type); in isSubTypeOf()
/external/icu/icu4c/source/test/intltest/
Dregiontst.cpp397 URegionType expectedType; in TestGetInstanceString() member
442 if ( type != data.expectedType) { in TestGetInstanceString()
443 …n type for Region::getInstance(\"%s\"); Expected: %d Got: %d",data.inputID,data.expectedType,type); in TestGetInstanceString()
452 URegionType expectedType; in TestGetInstanceInt() member
486 if ( data.expectedType != type) { in TestGetInstanceInt()
487 …egion type for Region.getInstance(%d)); Expected: %d Got: %d",data.inputID,data.expectedType,type); in TestGetInstanceInt()
Ddcfmtest.cpp315 const UnicodeString &expectedType, in execParseTest() argument
345 expectedType.extract(0, 1, expectedTypeC, 2, US_INV); in execParseTest()
353 lineNum, InvariantStringPiece(expectedType).data()); in execParseTest()
Ddcfmtest.h40 const UnicodeString &expectedType,
/external/mockito/src/org/mockito/exceptions/
DReporter.java476 public void wrongTypeOfReturnValue(String expectedType, String actualType, String methodName) { in wrongTypeOfReturnValue() argument
479 methodName + "() should return " + expectedType, in wrongTypeOfReturnValue()
729 …public void wrongTypeOfArgumentToReturn(InvocationOnMock invocation, String expectedType, Class ac… in wrongTypeOfArgumentToReturn() argument
732 "method should return the type '" + expectedType + "'", in wrongTypeOfArgumentToReturn()
/external/smali/smalidea/src/test/java/org/jf/smalidea/
DSmaliCodeFragmentFactoryTest.java250 private void assertVariableType(PsiElement context, String variableName, String expectedType) { in assertVariableType() argument
262 Assert.assertEquals(expectedType, reference.getType().getCanonicalText()); in assertVariableType()
/external/guava/guava-tests/test/com/google/common/reflect/
DTypeTokenTest.java1000 ParameterizedType expectedType = Types.newParameterizedType(Iterable.class, in testGetSupertype_withTypeVariable() local
1002 assertEquals(expectedType, in testGetSupertype_withTypeVariable()
1007 ParameterizedType expectedType = Types.newParameterizedType(Iterable.class, in testGetSupertype_withoutTypeVariable() local
1009 assertEquals(expectedType, in testGetSupertype_withoutTypeVariable()
1017 ParameterizedType expectedType = Types.newParameterizedType(Iterable.class, in testGetSupertype_chained() local
1019 assertEquals(expectedType, listIterableType.getSupertype(Iterable.class).getType()); in testGetSupertype_chained()
1069 ParameterizedType expectedType = Types.newParameterizedType(Map.class, in testGetSupertype_fullyGenericType() local
1072 assertEquals(expectedType, in testGetSupertype_fullyGenericType()
1077 Type expectedType = new TypeToken<Map<String, List<Object>>>() {}.getType(); in testGetSupertype_fullySpecializedType() local
1078 assertEquals(expectedType, in testGetSupertype_fullySpecializedType()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DICUResourceBundle.java482 int expectedType = arraySink != null ? ARRAY : TABLE; in getAllContainerItemsWithFallback() local
483 if (rb.getType() != expectedType) { in getAllContainerItemsWithFallback()
505 int expectedType = arraySink != null ? ARRAY : TABLE; in getAllContainerItemsWithFallback() local
506 if (getType() == expectedType) { in getAllContainerItemsWithFallback()
528 if (rb != null && rb.getType() == expectedType) { in getAllContainerItemsWithFallback()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DICUResourceBundle.java486 int expectedType = arraySink != null ? ARRAY : TABLE; in getAllContainerItemsWithFallback() local
487 if (rb.getType() != expectedType) { in getAllContainerItemsWithFallback()
509 int expectedType = arraySink != null ? ARRAY : TABLE; in getAllContainerItemsWithFallback() local
510 if (getType() == expectedType) { in getAllContainerItemsWithFallback()
532 if (rb != null && rb.getType() == expectedType) { in getAllContainerItemsWithFallback()
/external/dexmaker/src/main/java/com/google/dexmaker/
DCode.java260 private <T> Local<T> coerce(Local<?> local, TypeId<T> expectedType) { in coerce() argument
261 if (!local.type.equals(expectedType)) { in coerce()
263 "requested " + expectedType + " but was " + local.type); in coerce()
/external/proguard/src/proguard/optimize/evaluation/
DSimpleEnumUseChecker.java611 String expectedType) in isPoppingExpectedType() argument
618 return expectedType.equals(poppedType); in isPoppingExpectedType()
/external/guice/extensions/struts2/lib/
Djsp-2.1.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.eclipse.jdt.apt.core_3.3.401.R36_v20100727-0110.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
Dorg.apache.commons.el_1.0.0.v201004212143.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
/external/icu/icu4c/source/common/
Duresbund.cpp1902 UResType expectedType = arraySink != NULL ? URES_ARRAY : URES_TABLE; in getAllContainerItemsWithFallback() local
1903 if (ures_getType(bundle) == expectedType) { in getAllContainerItemsWithFallback()
1944 if (U_SUCCESS(errorCode) && ures_getType(rb) == expectedType) { in getAllContainerItemsWithFallback()
1975 UResType expectedType = arraySink != NULL ? URES_ARRAY : URES_TABLE; in getAllContainerItemsWithFallback() local
1976 if (ures_getType(rb) != expectedType) { in getAllContainerItemsWithFallback()
/external/robolectric/v3/
Drobolectric-processor-3.1-SNAPSHOT.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/services/ org/ ...

123