Home
last modified time | relevance | path

Searched refs:pathToJar (Results 1 – 14 of 14) sorted by relevance

/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/typesolvers/
DJarTypeSolver.java47 public JarTypeSolver(Path pathToJar) throws IOException { in JarTypeSolver() argument
48 this(pathToJar.toFile()); in JarTypeSolver()
51 public JarTypeSolver(File pathToJar) throws IOException { in JarTypeSolver() argument
52 this(pathToJar.getCanonicalPath()); in JarTypeSolver()
55 public JarTypeSolver(String pathToJar) throws IOException { in JarTypeSolver() argument
56 addPathToJar(pathToJar); in JarTypeSolver()
63 public static JarTypeSolver getJarTypeSolver(String pathToJar) throws IOException { in getJarTypeSolver() argument
65 instance = new JarTypeSolver(pathToJar); in getJarTypeSolver()
67 instance.addPathToJar(pathToJar); in getJarTypeSolver()
93 private void addPathToJar(String pathToJar) throws IOException { in addPathToJar() argument
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-core/com/github/javaparser/symbolsolver/resolution/typesolvers/
DJarTypeSolver.java45 public JarTypeSolver(String pathToJar) throws IOException { in JarTypeSolver() argument
46 addPathToJar(pathToJar); in JarTypeSolver()
49 public static JarTypeSolver getJarTypeSolver(String pathToJar) throws IOException { in getJarTypeSolver() argument
51 instance = new JarTypeSolver(pathToJar); in getJarTypeSolver()
53 instance.addPathToJar(pathToJar); in getJarTypeSolver()
58 private void addPathToJar(String pathToJar) throws IOException { in addPathToJar() argument
60 classPool.appendClassPath(pathToJar); in addPathToJar()
65 JarFile jarFile = new JarFile(pathToJar); in addPathToJar()
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/
DContextTest.java214 Path pathToJar = adaptPath("src/test/resources/javaparser-core-2.1.0.jar"); in resolveReferenceToMethod() local
215 …TypeSolver typeSolver = new CombinedTypeSolver(new JarTypeSolver(pathToJar), new ReflectionTypeSol… in resolveReferenceToMethod()
233 Path pathToJar = adaptPath("src/test/resources/javaparser-core-2.1.0.jar"); in resolveCascadeOfReferencesToMethod() local
234 …TypeSolver typeSolver = new CombinedTypeSolver(new JarTypeSolver(pathToJar), new ReflectionTypeSol… in resolveCascadeOfReferencesToMethod()
322 Path pathToJar = adaptPath("src/test/resources/javaparser-core-2.1.0.jar"); in resolveGenericReturnTypeOfMethodInJar() local
323 …lver typeSolver = new CombinedTypeSolver(new ReflectionTypeSolver(), new JarTypeSolver(pathToJar)); in resolveGenericReturnTypeOfMethodInJar()
339 Path pathToJar = adaptPath("src/test/resources/javassist_generics/generics.jar"); in resolveCompoundGenericReturnTypeOfMethodInJar() local
340 …lver typeSolver = new CombinedTypeSolver(new ReflectionTypeSolver(), new JarTypeSolver(pathToJar)); in resolveCompoundGenericReturnTypeOfMethodInJar()
354 Path pathToJar = adaptPath("src/test/resources/javassist_generics/generics.jar"); in resolveNestedGenericReturnTypeOfMethodInJar() local
355 …lver typeSolver = new CombinedTypeSolver(new ReflectionTypeSolver(), new JarTypeSolver(pathToJar)); in resolveNestedGenericReturnTypeOfMethodInJar()
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/javassistmodel/
DJavassistTypeParameterDeclarationTest.java40 Path pathToJar = adaptPath("src/test/resources/javaparser-core-3.0.0-alpha.2.jar"); in setup() local
41 … typeSolver = new CombinedTypeSolver(new JarTypeSolver(pathToJar), new ReflectionTypeSolver()); in setup()
66 Path pathToJar = adaptPath("src/test/resources/javassist_generics/generics.jar"); in testGetComplexBounds() local
67 … typeSolver = new CombinedTypeSolver(new JarTypeSolver(pathToJar), new ReflectionTypeSolver()); in testGetComplexBounds()
DIssue257Test.java27 Path pathToJar = adaptPath("src/test/resources/issue257/issue257.jar"); in setup() local
28 … typeSolver = new CombinedTypeSolver(new JarTypeSolver(pathToJar), new ReflectionTypeSolver()); in setup()
DJavassistMethodDeclarationTest.java24 … Path pathToJar = adaptPath("src/test/resources/javassistmethoddecl/javassistmethoddecl.jar"); in setup() local
25 … typeSolver = new CombinedTypeSolver(new JarTypeSolver(pathToJar), new ReflectionTypeSolver()); in setup()
DJavassistInterfaceDeclarationTest.java42 Path pathToJar = adaptPath("src/test/resources/javaparser-core-3.0.0-alpha.2.jar"); in setup() local
43 … typeSolver = new CombinedTypeSolver(new JarTypeSolver(pathToJar), new ReflectionTypeSolver()); in setup()
DJavassistEnumDeclarationTest.java43 Path pathToJar = adaptPath("src/test/resources/javaparser-core-3.0.0-alpha.2.jar"); in setup() local
44 … typeSolver = new CombinedTypeSolver(new JarTypeSolver(pathToJar), new ReflectionTypeSolver()); in setup()
DJavassistParameterDeclarationTest.java45 Path pathToJar = adaptPath("src/test/resources/javaparser-core-3.0.0-alpha.2.jar"); in setup() local
46 … typeSolver = new CombinedTypeSolver(new JarTypeSolver(pathToJar), new ReflectionTypeSolver()); in setup()
DJavassistClassDeclarationTest.java54 Path pathToJar = adaptPath("src/test/resources/javaparser-core-2.1.0.jar"); in setup() local
55 … typeSolver = new CombinedTypeSolver(new JarTypeSolver(pathToJar), new ReflectionTypeSolver()); in setup()
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/typesolvers/
DAarTypeSolverTest.java31 Path pathToJar = adaptPath("src/test/resources/aars/support-compat-24.2.0.aar"); in initial() local
32 AarTypeSolver aarTypeSolver = new AarTypeSolver(pathToJar); in initial()
DJarTypeSolverTest.java37 Path pathToJar = adaptPath("src/test/resources/javaparser-core-2.1.0.jar"); in initial() local
38 JarTypeSolver jarTypeSolver = new JarTypeSolver(pathToJar); in initial()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-core/
Dcom_github_javaparser_symbolsolver_resolution_typesolvers_JarTypeSolver.txt1 …Line 46) addPathToJar(pathToJar) ==> com.github.javaparser.symbolsolver.resolution.typesolvers.Jar…
2 …Line 53) instance.addPathToJar(pathToJar) ==> com.github.javaparser.symbolsolver.resolution.typeso…
3 …Line 60) classPool.appendClassPath(pathToJar) ==> javassist.ClassPool.appendClassPath(java.lang.St…
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/src/internal/
DFastServiceLoader.kt114 val pathToJar = path.substringAfter("jar:file:").substringBefore('!') in parse() constant
117 (JarFile(pathToJar, false)).use { file -> in parse()