Class ArchiveBasedAnalysisInputLocation
java.lang.Object
sootup.java.bytecode.frontend.inputlocation.PathBasedAnalysisInputLocation
sootup.java.bytecode.frontend.inputlocation.ArchiveBasedAnalysisInputLocation
- All Implemented Interfaces:
AnalysisInputLocation
- Direct Known Subclasses:
DownloadJarAnalysisInputLocation
,MultiReleaseJarAnalysisInputLocation
-
Nested Class Summary
Nested classes/interfaces inherited from class sootup.java.bytecode.frontend.inputlocation.PathBasedAnalysisInputLocation
PathBasedAnalysisInputLocation.ClassFileBasedAnalysisInputLocation
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final com.google.common.cache.LoadingCache<Path,
FileSystem> Fields inherited from class sootup.java.bytecode.frontend.inputlocation.PathBasedAnalysisInputLocation
bodyInterceptors, ignoredPaths, path, sourceType
-
Constructor Summary
ConstructorDescriptionArchiveBasedAnalysisInputLocation
(Path path, SourceType srcType) ArchiveBasedAnalysisInputLocation
(Path path, SourceType srcType, List<BodyInterceptor> bodyInterceptors) ArchiveBasedAnalysisInputLocation
(Path path, SourceType srcType, List<BodyInterceptor> bodyInterceptors, Collection<Path> ignoredPaths) -
Method Summary
Modifier and TypeMethodDescriptiongetClassSource
(ClassType type, View view) Create or find a class source for a given type.getClassSources
(View view) Scan the input location and create ClassSources for every compilation / interpretation unit.Methods inherited from class sootup.java.bytecode.frontend.inputlocation.PathBasedAnalysisInputLocation
create, create, create, fromPath, getBodyInterceptors, getClassSourceInternal, getSingleClass, getSourceType
-
Field Details
-
fileSystemCache
-
-
Constructor Details
-
ArchiveBasedAnalysisInputLocation
-
ArchiveBasedAnalysisInputLocation
public ArchiveBasedAnalysisInputLocation(@Nonnull Path path, @Nonnull SourceType srcType, @Nonnull List<BodyInterceptor> bodyInterceptors) -
ArchiveBasedAnalysisInputLocation
public ArchiveBasedAnalysisInputLocation(Path path, SourceType srcType, List<BodyInterceptor> bodyInterceptors, Collection<Path> ignoredPaths)
-
-
Method Details
-
getClassSource
@Nonnull public Optional<JavaSootClassSource> getClassSource(@Nonnull ClassType type, @Nonnull View view) Description copied from interface:AnalysisInputLocation
Create or find a class source for a given type.- Parameters:
type
- The type of the class to be found.- Returns:
- The source entry for that class.
-
getClassSources
Description copied from interface:AnalysisInputLocation
Scan the input location and create ClassSources for every compilation / interpretation unit.- Returns:
- The source entries.
-