Home
last modified time | relevance | path

Searched refs:typeResolver (Results 1 – 16 of 16) sorted by relevance

/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/model/typesystem/
DReferenceTypeTest.java453 TypeSolver typeResolver = new ReflectionTypeSolver(); in testTypeParamValue() local
454 …ResolvedClassDeclaration arraylist = new ReflectionClassDeclaration(ArrayList.class, typeResolver); in testTypeParamValue()
455 …edClassDeclaration abstractList = new ReflectionClassDeclaration(AbstractList.class, typeResolver); in testTypeParamValue()
456 …ration abstractCollection = new ReflectionClassDeclaration(AbstractCollection.class, typeResolver); in testTypeParamValue()
457 … ResolvedInterfaceDeclaration list = new ReflectionInterfaceDeclaration(List.class, typeResolver); in testTypeParamValue()
458 …terfaceDeclaration collection = new ReflectionInterfaceDeclaration(Collection.class, typeResolver); in testTypeParamValue()
459 …edInterfaceDeclaration iterable = new ReflectionInterfaceDeclaration(Iterable.class, typeResolver); in testTypeParamValue()
460 … = new ReferenceTypeImpl(new ReflectionClassDeclaration(String.class, typeResolver), typeResolver); in testTypeParamValue()
461 …eType arrayListOfString = new ReferenceTypeImpl(arraylist, ImmutableList.of(string), typeResolver); in testTypeParamValue()
472 TypeSolver typeResolver = new ReflectionTypeSolver(); in testGetAllAncestorsOnRawType() local
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/reflectionmodel/
DReflectionClassDeclarationTest.java41 private TypeSolver typeResolver = new ReflectionTypeSolver(false); field in ReflectionClassDeclarationTest
51 TypeSolver typeResolver = new ReflectionTypeSolver(); in testIsClass() local
53 ResolvedClassDeclaration foo = new ReflectionClassDeclaration(Foo.class, typeResolver); in testIsClass()
54 ResolvedClassDeclaration bar = new ReflectionClassDeclaration(Bar.class, typeResolver); in testIsClass()
66 TypeSolver typeResolver = new ReflectionTypeSolver(); in testGetSuperclassSimpleImplicit() local
68 ResolvedClassDeclaration foo = new ReflectionClassDeclaration(Foo.class, typeResolver); in testGetSuperclassSimpleImplicit()
82 TypeSolver typeResolver = new ReflectionTypeSolver(); in testGetSuperclassSimple() local
84 ResolvedClassDeclaration foo = new ReflectionClassDeclaration(Foo.class, typeResolver); in testGetSuperclassSimple()
98 TypeSolver typeResolver = new ReflectionTypeSolver(); in testGetSuperclassWithGenericSimple() local
100 ResolvedClassDeclaration foo = new ReflectionClassDeclaration(Foo.class, typeResolver); in testGetSuperclassWithGenericSimple()
[all …]
DReflectionInterfaceDeclarationTest.java43 TypeSolver typeResolver = new ReflectionTypeSolver(); in testGetDeclaredMethods() local
44 …solvedReferenceTypeDeclaration list = new ReflectionInterfaceDeclaration(List.class, typeResolver); in testGetDeclaredMethods()
70 TypeSolver typeResolver = new ReflectionTypeSolver(); in testAllAncestors() local
71 … ResolvedInterfaceDeclaration list = new ReflectionInterfaceDeclaration(List.class, typeResolver); in testAllAncestors()
77 …flectionInterfaceDeclaration(Collection.class, typeResolver), ImmutableList.of(typeVariable), type… in testAllAncestors()
78 …ReferenceTypeImpl(new ReflectionClassDeclaration(Object.class, typeResolver), typeResolver), ances… in testAllAncestors()
79 …ReflectionInterfaceDeclaration(Iterable.class, typeResolver), ImmutableList.of(typeVariable), type… in testAllAncestors()
DReflectionParameterDeclarationTest.java35 TypeSolver typeResolver = new ReflectionTypeSolver(); in testGetSignature() local
37 … ResolvedClassDeclaration object = new ReflectionClassDeclaration(Object.class, typeResolver); in testGetSignature()
38 … ResolvedInterfaceDeclaration list = new ReflectionInterfaceDeclaration(List.class, typeResolver); in testGetSignature()
53 TypeSolver typeResolver = new ReflectionTypeSolver(); in testGetGenericReturnType() local
55 … ResolvedInterfaceDeclaration map = new ReflectionInterfaceDeclaration(Map.class, typeResolver); in testGetGenericReturnType()
65 TypeSolver typeResolver = new ReflectionTypeSolver(); in testGetGenericParameters() local
67 … ResolvedInterfaceDeclaration map = new ReflectionInterfaceDeclaration(Map.class, typeResolver); in testGetGenericParameters()
DReflectionMethodDeclarationTest.java34 TypeSolver typeResolver = new ReflectionTypeSolver(); in testParameterNameOnClassesFromTheStdLibrary() local
36 … ResolvedClassDeclaration object = new ReflectionClassDeclaration(Object.class, typeResolver); in testParameterNameOnClassesFromTheStdLibrary()
37 … ResolvedInterfaceDeclaration list = new ReflectionInterfaceDeclaration(List.class, typeResolver); in testParameterNameOnClassesFromTheStdLibrary()
57 TypeSolver typeResolver = new ReflectionTypeSolver(false); in testParameterNameOnClassesFromThisProject() local
59 ResolvedClassDeclaration foo = new ReflectionClassDeclaration(Foo.class, typeResolver); in testParameterNameOnClassesFromThisProject()
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/
DIssue343Test.java18 private TypeSolver typeResolver; field in Issue343Test
27 typeResolver = new ReflectionTypeSolver(); in setup()
28 javaParserFacade = JavaParserFacade.get(typeResolver); in setup()
33 …javaParserFacade.classToResolvedType(String.class), getExpressionType(typeResolver, new StringLite… in resolveStringLiteralOutsideAST()
38 …ls(javaParserFacade.classToResolvedType(int.class), getExpressionType(typeResolver, new IntegerLit… in resolveIntegerLiteralOutsideAST()
43 …assertThrows(IllegalStateException.class, () -> getExpressionType(typeResolver, parseExpression("n… in toResolveDoubleWeNeedTheAST()
49 …assertThrows(IllegalStateException.class, () -> getExpressionType(typeResolver, parseExpression("n… in toResolveFloatWeNeedTheAST()
54 …ls(javaParserFacade.classToResolvedType(int.class), getExpressionType(typeResolver, new MethodCall… in resolveMethodCallOnStringLiteralOutsideAST()
59 …assertThrows(IllegalStateException.class, () -> getExpressionType(typeResolver, new FieldAccessExp… in resolveLocaleOutsideAST()
DIssue314Test.java21 private TypeSolver typeResolver; field in Issue314Test
30 typeResolver = new ReflectionTypeSolver(); in setup()
31 javaParserFacade = JavaParserFacade.get(typeResolver); in setup()
/external/guice/core/test/com/google/inject/
DTypeLiteralTypeResolutionTest.java270 TypeLiteral<?> typeResolver = TypeLiteral.get(StringIntegerMap.class); in testResolve() local
271 assertEquals(String.class, typeResolver.resolveType(mapK)); in testResolve()
273 typeResolver = new TypeLiteral<Map<String, Integer>>() {}; in testResolve()
274 assertEquals(String.class, typeResolver.resolveType(mapK)); in testResolve()
276 Types.mapOf(String.class, Integer.class), typeResolver.getSupertype(Map.class).getType()); in testResolve()
278 typeResolver = new TypeLiteral<BetterMap<String, Integer>>() {}; in testResolve()
279 assertEquals(String.class, typeResolver.resolveType(mapK)); in testResolve()
281 typeResolver = new TypeLiteral<BestMap<String, Integer>>() {}; in testResolve()
282 assertEquals(String.class, typeResolver.resolveType(mapK)); in testResolve()
284 typeResolver = TypeLiteral.get(StringIntegerHashMap.class); in testResolve()
[all …]
/external/jsilver/src/com/google/clearsilver/jsilver/syntax/
DSyntaxTreeBuilder.java73 protected final Switch typeResolver = new TypeResolver(); field in SyntaxTreeBuilder
89 root.apply(typeResolver); in process()
/external/llvm-project/lld/lib/Core/
DDefinedAtom.cpp24 case typeResolver: in permissions()
/external/llvm-project/lld/include/lld/Core/
DDefinedAtom.h110 typeResolver, // function which returns address of target enumerator
/external/guava/guava-tests/test/com/google/common/reflect/
DTypeTokenResolutionTest.java126 TypeResolver typeResolver = TypeResolver.covariantly(parameterized.getClass());
128 (ParameterizedType) typeResolver.resolveType(parameterized.parameterizedType());
/external/guava/android/guava-tests/test/com/google/common/reflect/
DTypeTokenResolutionTest.java126 TypeResolver typeResolver = TypeResolver.covariantly(parameterized.getClass());
128 (ParameterizedType) typeResolver.resolveType(parameterized.parameterizedType());
/external/llvm-project/lld/lib/ReaderWriter/MachO/
DMachONormalizedFileToAtoms.cpp63 ENTRY("__TEXT", "__text", S_REGULAR, typeResolver),
268 atomType = lld::DefinedAtom::typeResolver; in atomFromSymbol()
DMachONormalizedFileFromAtoms.cpp963 if (atom->contentType() == lld::DefinedAtom::typeResolver) in descBits()
/external/llvm-project/lld/lib/ReaderWriter/YAML/
DReaderWriterYAML.cpp387 io.enumCase(value, "resolver", DefinedAtom::typeResolver); in enumeration()