public class JavaSourcePathAnalysisInputLocation extends Object implements AnalysisInputLocation
AnalysisInputLocation interface for the Java source code path.| Constructor and Description |
|---|
JavaSourcePathAnalysisInputLocation(Set<String> sourcePaths)
Create a
JavaSourcePathAnalysisInputLocation which locates java source code in the
given source path. |
JavaSourcePathAnalysisInputLocation(Set<String> sourcePaths,
String exclusionFilePath)
Create a
JavaSourcePathAnalysisInputLocation which locates java source code in the
given source path. |
JavaSourcePathAnalysisInputLocation(SourceType srcType,
Set<String> sourcePaths)
Create a
JavaSourcePathAnalysisInputLocation which locates java source code in the
given source path. |
JavaSourcePathAnalysisInputLocation(SourceType srcType,
Set<String> sourcePaths,
String exclusionFilePath,
List<BodyInterceptor> bodyInterceptors)
Create a
JavaSourcePathAnalysisInputLocation which locates java source code in the
given source path. |
JavaSourcePathAnalysisInputLocation(SourceType srcType,
String sourcePath)
Create a
JavaSourcePathAnalysisInputLocation which locates java source code in the
given source path. |
JavaSourcePathAnalysisInputLocation(String sourcePath) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
List<BodyInterceptor> |
getBodyInterceptors() |
Optional<JavaSootClassSource> |
getClassSource(ClassType type,
View view) |
Collection<JavaSootClassSource> |
getClassSources(View view) |
String |
getExclusionFilePath() |
SourceType |
getSourceType() |
int |
hashCode() |
void |
setSpecifiedAsBuiltInByUser(SourceType srcType)
The method sets the value of the variable srcType.
|
public JavaSourcePathAnalysisInputLocation(@Nonnull Set<String> sourcePaths)
JavaSourcePathAnalysisInputLocation which locates java source code in the
given source path.sourcePaths - the source code path to search inpublic JavaSourcePathAnalysisInputLocation(@Nonnull String sourcePath)
public JavaSourcePathAnalysisInputLocation(@Nonnull Set<String> sourcePaths, @Nullable String exclusionFilePath)
JavaSourcePathAnalysisInputLocation which locates java source code in the
given source path.sourcePaths - the source code path to search inpublic JavaSourcePathAnalysisInputLocation(@Nullable SourceType srcType, @Nonnull Set<String> sourcePaths)
JavaSourcePathAnalysisInputLocation which locates java source code in the
given source path.srcType - the source type for the path can be Library, Application, Phantom.sourcePaths - the source code path to search inpublic JavaSourcePathAnalysisInputLocation(@Nonnull SourceType srcType, @Nonnull String sourcePath)
JavaSourcePathAnalysisInputLocation which locates java source code in the
given source path.srcType - the source type for the path can be Library, Application, Phantom.sourcePath - the source code path to search inpublic JavaSourcePathAnalysisInputLocation(@Nullable SourceType srcType, @Nonnull Set<String> sourcePaths, @Nullable String exclusionFilePath, @Nonnull List<BodyInterceptor> bodyInterceptors)
JavaSourcePathAnalysisInputLocation which locates java source code in the
given source path.srcType - the source type for the path can be Library, Application, Phantom.sourcePaths - the source code path to search inpublic void setSpecifiedAsBuiltInByUser(@Nullable SourceType srcType)
srcType - the source type for the path can be Library, Application, Phantom.@Nonnull public SourceType getSourceType()
getSourceType in interface AnalysisInputLocation@Nonnull public List<BodyInterceptor> getBodyInterceptors()
getBodyInterceptors in interface AnalysisInputLocation@Nonnull public Collection<JavaSootClassSource> getClassSources(@Nonnull View view)
getClassSources in interface AnalysisInputLocation@Nonnull public Optional<JavaSootClassSource> getClassSource(@Nonnull ClassType type, @Nonnull View view)
getClassSource in interface AnalysisInputLocationpublic String getExclusionFilePath()
Copyright © 2024 Soot OSS. All rights reserved.