Home
last modified time | relevance | path

Searched refs:isAssignable (Results 1 – 5 of 5) sorted by relevance

/external/guava/guava/src/com/google/common/reflect/
DTypeToken.java423 return isAssignable(checkNotNull(type), runtimeType); in isAssignableFrom()
746 private static boolean isAssignable(Type from, Type to) {
780 if (isAssignable(from, to)) {
798 return isAssignable(from, supertypeBound(to)) && isAssignableBySubtypeBound(from, to);
810 return isAssignable(toSubtypeBound, fromSubtypeBound);
843 return isAssignable(fromClass.getComponentType(), to.getGenericComponentType());
846 return isAssignable(fromArrayType.getGenericComponentType(), to.getGenericComponentType());
858 return isAssignable(from.getGenericComponentType(), toClass.getComponentType());
861 return isAssignable(from.getGenericComponentType(), toArrayType.getGenericComponentType());
/external/guava/guava-tests/test/com/google/common/reflect/
DTypeTokenTest.java877 assertFalse(Assignability.of().isAssignable()); in testIsAssignableFrom_resolved()
878 assertTrue(new Assignability<Integer, Integer>() {}.isAssignable()); in testIsAssignableFrom_resolved()
879 assertTrue(new Assignability<Integer, Object>() {}.isAssignable()); in testIsAssignableFrom_resolved()
880 assertFalse(new Assignability<Integer, String>() {}.isAssignable()); in testIsAssignableFrom_resolved()
886 assertTrue(new Assignability<N11, N1>() {}.isAssignable()); in assignabilityTestWithTypeVariables()
887 assertTrue(new Assignability<N11, Number>() {}.isAssignable()); in assignabilityTestWithTypeVariables()
888 assertFalse(new Assignability<Number, N11>() {}.isAssignable()); in assignabilityTestWithTypeVariables()
1600 boolean isAssignable() { in isAssignable() method in TypeTokenTest.Assignability
/external/android-mock/src/com/google/android/testing/mocking/
DAndroidMock.java2619 return isAssignable(clazz, unboxedType); in isUnboxableToPrimitive()
2622 private static boolean isAssignable(Class<?> to, Class<?> from) { in isAssignable() method in AndroidMock
/external/owasp/sanitizer/tools/findbugs/lib/
Dcommons-lang-2.6.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 ...