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
-
Field Summary
FieldsModifier 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
ConstructorsConstructorDescriptionArchiveBasedAnalysisInputLocation(@NonNull Path path, @NonNull SourceType srcType) ArchiveBasedAnalysisInputLocation(@NonNull Path path, @NonNull SourceType srcType, @NonNull List<BodyInterceptor> bodyInterceptors) ArchiveBasedAnalysisInputLocation(Path path, SourceType srcType, List<BodyInterceptor> bodyInterceptors, Collection<Path> ignoredPaths) -
Method Summary
Modifier and TypeMethodDescription@NonNull Optional<JavaSootClassSource>getClassSource(@NonNull ClassType type, @NonNull View view) Create or find a class source for a given type.@NonNull Stream<JavaSootClassSource>getClassSources(@NonNull View view) returns a Autocloseable resource that must be closed!Methods inherited from class sootup.java.bytecode.frontend.inputlocation.PathBasedAnalysisInputLocation
create, create, create, fromPath, getBodyInterceptors, getClassSourceInternal, getSingleClass, getSourceType, walkDirectory
-
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
public @NonNull Optional<JavaSootClassSource> getClassSource(@NonNull ClassType type, @NonNull View view) Description copied from interface:AnalysisInputLocationCreate 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
returns a Autocloseable resource that must be closed!- Returns:
- an Autocloseable resource that must be closed!
-