Class PathBasedAnalysisInputLocation.ClassFileBasedAnalysisInputLocation
java.lang.Object
sootup.java.bytecode.frontend.inputlocation.PathBasedAnalysisInputLocation
sootup.java.bytecode.frontend.inputlocation.PathBasedAnalysisInputLocation.ClassFileBasedAnalysisInputLocation
- All Implemented Interfaces:
AnalysisInputLocation
- Enclosing class:
- PathBasedAnalysisInputLocation
public static class PathBasedAnalysisInputLocation.ClassFileBasedAnalysisInputLocation
extends PathBasedAnalysisInputLocation
-
Nested Class Summary
Nested classes/interfaces inherited from class sootup.java.bytecode.frontend.inputlocation.PathBasedAnalysisInputLocation
PathBasedAnalysisInputLocation.ClassFileBasedAnalysisInputLocation
-
Field Summary
Fields inherited from class sootup.java.bytecode.frontend.inputlocation.PathBasedAnalysisInputLocation
bodyInterceptors, ignoredPaths, path, sourceType
-
Constructor Summary
ConstructorDescriptionClassFileBasedAnalysisInputLocation
(Path classFilePath, String omittedPackageName, SourceType srcType) ClassFileBasedAnalysisInputLocation
(Path classFilePath, String omittedPackageName, SourceType srcType, List<BodyInterceptor> bodyInterceptors) -
Method Summary
Modifier and TypeMethodDescriptionprotected String
getClassSource
(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, getBodyInterceptors, getClassSourceInternal, getSingleClass, getSourceType
-
Constructor Details
-
ClassFileBasedAnalysisInputLocation
-
ClassFileBasedAnalysisInputLocation
public ClassFileBasedAnalysisInputLocation(@Nonnull Path classFilePath, @Nonnull String omittedPackageName, @Nonnull SourceType srcType, @Nonnull List<BodyInterceptor> bodyInterceptors)
-
-
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.
-
fromPath
- Overrides:
fromPath
in classPathBasedAnalysisInputLocation
-