Class AarTypeSolver
java.lang.Object
com.github.javaparser.symbolsolver.resolution.typesolvers.AarTypeSolver
- All Implemented Interfaces:
TypeSolver
Will let the symbol solver look inside an Android aar file while solving types.
(It will look inside the contained classes.jar)
-
Field Summary
FieldsFields inherited from interface TypeSolver
JAVA_LANG_OBJECT, JAVA_LANG_RECORD -
Constructor Summary
ConstructorsConstructorDescriptionAarTypeSolver(File aarFile) AarTypeSolver(String aarFile) AarTypeSolver(Path aarFile) -
Method Summary
Modifier and TypeMethodDescriptionParent of the this TypeSolver.voidsetParent(TypeSolver parent) Set the parent of this TypeSolver.tryToSolveType(String name) Try to solve the type with the given name.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface TypeSolver
getRoot, getSolvedJavaLangObject, getSolvedJavaLangRecord, hasType, solveType
-
Field Details
-
delegate
-
-
Constructor Details
-
AarTypeSolver
- Throws:
IOException
-
AarTypeSolver
- Throws:
IOException
-
AarTypeSolver
- Throws:
IOException
-
-
Method Details
-
getParent
Description copied from interface:TypeSolverParent of the this TypeSolver. This can return null.- Specified by:
getParentin interfaceTypeSolver
-
setParent
Description copied from interface:TypeSolverSet the parent of this TypeSolver.- Specified by:
setParentin interfaceTypeSolver
-
tryToSolveType
Description copied from interface:TypeSolverTry to solve the type with the given name. It always return a SymbolReference which can be solved or unsolved.- Specified by:
tryToSolveTypein interfaceTypeSolver
-