Home
last modified time | relevance | path

Searched refs:wildcardType (Results 1 – 25 of 30) sorted by relevance

12

/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/reflectionmodel/
DReflectionFactory.java86 WildcardType wildcardType = (WildcardType) type; in typeUsageFor() local
87 … if (wildcardType.getLowerBounds().length > 0 && wildcardType.getUpperBounds().length > 0) { in typeUsageFor()
88 …if (wildcardType.getUpperBounds().length == 1 && wildcardType.getUpperBounds()[0].getTypeName().eq… in typeUsageFor()
92 if (wildcardType.getLowerBounds().length > 0) { in typeUsageFor()
93 if (wildcardType.getLowerBounds().length > 1) { in typeUsageFor()
96 … return ResolvedWildcard.superBound(typeUsageFor(wildcardType.getLowerBounds()[0], typeSolver)); in typeUsageFor()
98 if (wildcardType.getUpperBounds().length > 0) { in typeUsageFor()
99 if (wildcardType.getUpperBounds().length > 1) { in typeUsageFor()
102 … return ResolvedWildcard.extendsBound(typeUsageFor(wildcardType.getUpperBounds()[0], typeSolver)); in typeUsageFor()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-core/com/github/javaparser/symbolsolver/reflectionmodel/
DReflectionFactory.java83 WildcardType wildcardType = (WildcardType) type; in typeUsageFor() local
84 … if (wildcardType.getLowerBounds().length > 0 && wildcardType.getUpperBounds().length > 0) { in typeUsageFor()
85 …if (wildcardType.getUpperBounds().length == 1 && wildcardType.getUpperBounds()[0].getTypeName().eq… in typeUsageFor()
89 if (wildcardType.getLowerBounds().length > 0) { in typeUsageFor()
90 if (wildcardType.getLowerBounds().length > 1) { in typeUsageFor()
93 … return Wildcard.superBound(typeUsageFor(wildcardType.getLowerBounds()[0], typeSolver)); in typeUsageFor()
95 if (wildcardType.getUpperBounds().length > 0) { in typeUsageFor()
96 if (wildcardType.getUpperBounds().length > 1) { in typeUsageFor()
99 … return Wildcard.extendsBound(typeUsageFor(wildcardType.getUpperBounds()[0], typeSolver)); in typeUsageFor()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-core/
Dcom_github_javaparser_symbolsolver_reflectionmodel_ReflectionFactory.txt28 Line 84) wildcardType.getLowerBounds() ==> java.lang.reflect.WildcardType.getLowerBounds()
29 Line 84) wildcardType.getUpperBounds() ==> java.lang.reflect.WildcardType.getUpperBounds()
30 Line 85) wildcardType.getUpperBounds() ==> java.lang.reflect.WildcardType.getUpperBounds()
31 …Line 85) wildcardType.getUpperBounds()[0].getTypeName().equals("java.lang.Object") ==> java.lang.S…
32 Line 85) wildcardType.getUpperBounds()[0].getTypeName() ==> java.lang.reflect.Type.getTypeName()
33 Line 85) wildcardType.getUpperBounds() ==> java.lang.reflect.WildcardType.getUpperBounds()
34 Line 89) wildcardType.getLowerBounds() ==> java.lang.reflect.WildcardType.getLowerBounds()
35 Line 90) wildcardType.getLowerBounds() ==> java.lang.reflect.WildcardType.getLowerBounds()
36 …Line 93) Wildcard.superBound(typeUsageFor(wildcardType.getLowerBounds()[0], typeSolver)) ==> com.g…
37 …Line 93) typeUsageFor(wildcardType.getLowerBounds()[0], typeSolver) ==> com.github.javaparser.symb…
[all …]
Dcom_github_javaparser_symbolsolver_javaparsermodel_JavaParserFacade.txt207 Line 459) wildcardType.getExtendedTypes().isPresent() ==> java.util.Optional.isPresent()
208 …Line 459) wildcardType.getExtendedTypes() ==> com.github.javaparser.ast.type.WildcardType.getExten…
209 Line 459) wildcardType.getSuperTypes().isPresent() ==> java.util.Optional.isPresent()
210 …Line 459) wildcardType.getSuperTypes() ==> com.github.javaparser.ast.type.WildcardType.getSuperTyp…
211 …Line 460) Wildcard.extendsBound(convertToUsage(wildcardType.getExtendedTypes().get(), context)) ==…
212 …Line 460) convertToUsage(wildcardType.getExtendedTypes().get(), context) ==> com.github.javaparser…
213 Line 460) wildcardType.getExtendedTypes().get() ==> java.util.Optional.get()
214 …Line 460) wildcardType.getExtendedTypes() ==> com.github.javaparser.ast.type.WildcardType.getExten…
215 Line 461) wildcardType.getExtendedTypes().isPresent() ==> java.util.Optional.isPresent()
216 …Line 461) wildcardType.getExtendedTypes() ==> com.github.javaparser.ast.type.WildcardType.getExten…
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/
DJavaParserFacade.java458 WildcardType wildcardType = (WildcardType) type; in convertToUsage() local
459 … if (wildcardType.getExtendedTypes().isPresent() && !wildcardType.getSuperTypes().isPresent()) { in convertToUsage()
460 …return Wildcard.extendsBound(convertToUsage(wildcardType.getExtendedTypes().get(), context)); // r… in convertToUsage()
461 …} else if (!wildcardType.getExtendedTypes().isPresent() && wildcardType.getSuperTypes().isPresent(… in convertToUsage()
462 …return Wildcard.superBound(convertToUsage(wildcardType.getSuperTypes().get(), context)); // remove… in convertToUsage()
463 …} else if (!wildcardType.getExtendedTypes().isPresent() && !wildcardType.getSuperTypes().isPresent… in convertToUsage()
466 throw new UnsupportedOperationException(wildcardType.toString()); in convertToUsage()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/
DJavaParserFacade.java529 WildcardType wildcardType = (WildcardType) type; in convertToUsage() local
530 … if (wildcardType.getExtendedType().isPresent() && !wildcardType.getSuperType().isPresent()) { in convertToUsage()
531 …return ResolvedWildcard.extendsBound(convertToUsage(wildcardType.getExtendedType().get(), context)… in convertToUsage()
532 …} else if (!wildcardType.getExtendedType().isPresent() && wildcardType.getSuperType().isPresent())… in convertToUsage()
533 …return ResolvedWildcard.superBound(convertToUsage(wildcardType.getSuperType().get(), context)); //… in convertToUsage()
534 …} else if (!wildcardType.getExtendedType().isPresent() && !wildcardType.getSuperType().isPresent()… in convertToUsage()
537 throw new UnsupportedOperationException(wildcardType.toString()); in convertToUsage()
/external/guava/android/guava-tests/test/com/google/common/reflect/
DTypeTokenTest.java154 TypeToken<?> wildcardType = TypeToken.of(withWildcardType.getActualTypeArguments()[0]); in testResolveType_fromWildcard() local
156 String.class, wildcardType.resolveType(Iterable.class.getTypeParameters()[0]).getType()); in testResolveType_fromWildcard()
616 Type wildcardType = Types.subtypeOf(Object[].class); in testAssignableWildcardBoundedByArrayToArrayClass() local
617 assertTrue(TypeToken.of(Object[].class).isSupertypeOf(wildcardType)); in testAssignableWildcardBoundedByArrayToArrayClass()
618 assertTrue(TypeToken.of(Object.class).isSupertypeOf(wildcardType)); in testAssignableWildcardBoundedByArrayToArrayClass()
619 assertFalse(TypeToken.of(wildcardType).isSupertypeOf(wildcardType)); in testAssignableWildcardBoundedByArrayToArrayClass()
620 assertFalse(TypeToken.of(int[].class).isSupertypeOf(wildcardType)); in testAssignableWildcardBoundedByArrayToArrayClass()
624 TypeToken<?> wildcardType = new TypeToken<Iterable<? extends Object[]>>() {}; in testAssignableWildcardTypeParameterToClassTypeParameter() local
625 assertFalse(new TypeToken<Iterable<Object[]>>() {}.isSupertypeOf(wildcardType)); in testAssignableWildcardTypeParameterToClassTypeParameter()
626 assertFalse(new TypeToken<Iterable<Object>>() {}.isSupertypeOf(wildcardType)); in testAssignableWildcardTypeParameterToClassTypeParameter()
[all …]
DTypeTokenResolutionTest.java470 WildcardType wildcardType =
472 assertEquals(String.class, wildcardType.getLowerBounds()[0]);
476 WildcardType wildcardType =
478 assertEquals(String.class, wildcardType.getUpperBounds()[0]);
/external/guava/guava-tests/test/com/google/common/reflect/
DTypeTokenTest.java154 TypeToken<?> wildcardType = TypeToken.of(withWildcardType.getActualTypeArguments()[0]); in testResolveType_fromWildcard() local
156 String.class, wildcardType.resolveType(Iterable.class.getTypeParameters()[0]).getType()); in testResolveType_fromWildcard()
616 Type wildcardType = Types.subtypeOf(Object[].class); in testAssignableWildcardBoundedByArrayToArrayClass() local
617 assertTrue(TypeToken.of(Object[].class).isSupertypeOf(wildcardType)); in testAssignableWildcardBoundedByArrayToArrayClass()
618 assertTrue(TypeToken.of(Object.class).isSupertypeOf(wildcardType)); in testAssignableWildcardBoundedByArrayToArrayClass()
619 assertFalse(TypeToken.of(wildcardType).isSupertypeOf(wildcardType)); in testAssignableWildcardBoundedByArrayToArrayClass()
620 assertFalse(TypeToken.of(int[].class).isSupertypeOf(wildcardType)); in testAssignableWildcardBoundedByArrayToArrayClass()
624 TypeToken<?> wildcardType = new TypeToken<Iterable<? extends Object[]>>() {}; in testAssignableWildcardTypeParameterToClassTypeParameter() local
625 assertFalse(new TypeToken<Iterable<Object[]>>() {}.isSupertypeOf(wildcardType)); in testAssignableWildcardTypeParameterToClassTypeParameter()
626 assertFalse(new TypeToken<Iterable<Object>>() {}.isSupertypeOf(wildcardType)); in testAssignableWildcardTypeParameterToClassTypeParameter()
[all …]
DTypeTokenResolutionTest.java470 WildcardType wildcardType =
472 assertEquals(String.class, wildcardType.getLowerBounds()[0]);
476 WildcardType wildcardType =
478 assertEquals(String.class, wildcardType.getUpperBounds()[0]);
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-logic/com/github/javaparser/symbolsolver/logic/
DInferenceVariableType.java158 Wildcard wildcardType = type.asWildcard(); in hasInferenceVariables() local
159 return hasInferenceVariables(wildcardType.getBoundedType()); in hasInferenceVariables()
/external/javaparser/javaparser-symbol-solver-logic/src/main/java/com/github/javaparser/symbolsolver/logic/
DInferenceVariableType.java158 ResolvedWildcard wildcardType = type.asWildcard(); in hasInferenceVariables() local
159 return hasInferenceVariables(wildcardType.getBoundedType()); in hasInferenceVariables()
/external/guava/android/guava/src/com/google/common/reflect/
DTypeResolver.java488 WildcardType wildcardType = (WildcardType) type; in capture() local
489 Type[] lowerBounds = wildcardType.getLowerBounds(); in capture()
491 return captureAsTypeVariable(wildcardType.getUpperBounds()); in capture()
/external/guava/guava/src/com/google/common/reflect/
DTypeResolver.java488 WildcardType wildcardType = (WildcardType) type; in capture() local
489 Type[] lowerBounds = wildcardType.getLowerBounds(); in capture()
491 return captureAsTypeVariable(wildcardType.getUpperBounds()); in capture()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-logic/
Dcom_github_javaparser_symbolsolver_logic_InferenceVariableType.txt52 …Line 159) hasInferenceVariables(wildcardType.getBoundedType()) ==> com.github.javaparser.symbolsol…
53 …Line 159) wildcardType.getBoundedType() ==> com.github.javaparser.symbolsolver.model.typesystem.Wi…
/external/turbine/javatests/com/google/turbine/processing/
DTurbineTypesFactoryTest.java109 public void wildcardType() { in wildcardType() method in TurbineTypesFactoryTest
/external/dagger2/java/dagger/internal/codegen/langmodel/
DDaggerElements.java367 public String visitWildcard(WildcardType wildcardType, Void v) {
/external/guice/extensions/persist/lib/
Dhibernate-annotations.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/hibernate/ org/ ...
/external/testng/lib-supplied/
Dguice-2.0.jarMETA-INF/ META-INF/MANIFEST.MF LICENSE NOTICE org/ org/testng/ ...
/external/mockito/lib/
Dbyte-buddy-1.8.15.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/maven/ META- ...
/external/guice/extensions/struts2/lib/
Dcore-3.1.1.jarMETA-INF/ org/ org/eclipse/ org/eclipse/jdt/ org/eclipse ...
/external/icu/tools/srcgen/currysrc/libs/
Dorg.eclipse.jdt.core_3.14.0.v20180528-0519.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSE_.SF META-INF/ECLIPSE_ ...
/external/guice/lib/
Dguava-19.0.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/lib/
Dguava-21.0.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
/external/kotlinc/lib/
Dkotlin-compiler.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/backend-common. ...

12