Class ModuleMultiReleaseJarAnalysisInputLocation
java.lang.Object
sootup.java.bytecode.frontend.inputlocation.PathBasedAnalysisInputLocation
sootup.java.bytecode.frontend.inputlocation.ArchiveBasedAnalysisInputLocation
sootup.java.bytecode.frontend.inputlocation.MultiReleaseJarAnalysisInputLocation
sootup.java.bytecode.frontend.inputlocation.ModuleMultiReleaseJarAnalysisInputLocation
- All Implemented Interfaces:
AnalysisInputLocation
,ModuleInfoAnalysisInputLocation
public class ModuleMultiReleaseJarAnalysisInputLocation
extends MultiReleaseJarAnalysisInputLocation
implements ModuleInfoAnalysisInputLocation
This AnalysisInputLocation models MultiRelease Jars or Directories if path points to a directory
that is not packed into a jar see https://openjdk.org/jeps/238#Modular_multi-release_JAR_files
-
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.MultiReleaseJarAnalysisInputLocation
DEFAULT_VERSION, inputLocations
Fields inherited from class sootup.java.bytecode.frontend.inputlocation.ArchiveBasedAnalysisInputLocation
fileSystemCache
Fields inherited from class sootup.java.bytecode.frontend.inputlocation.PathBasedAnalysisInputLocation
ignoredPaths, path, sourceType
-
Constructor Summary
ConstructorDescriptionModuleMultiReleaseJarAnalysisInputLocation
(Path path, SourceType srcType, int version) -
Method Summary
Modifier and TypeMethodDescriptionprotected ModuleInfoAnalysisInputLocation
createAnalysisInputLocation
(Path path, SourceType sourceType, List<BodyInterceptor> bodyInterceptors) getModuleInfo
(ModuleSignature sig, View view) getModules
(View view) Collection<? extends SootClassSource>
getModulesClassSources
(ModuleSignature moduleSignature, View view) Methods inherited from class sootup.java.bytecode.frontend.inputlocation.MultiReleaseJarAnalysisInputLocation
create, equals, getBodyInterceptors, getClassSource, getClassSources, getLanguageVersions, getVersion, hashCode, isMultiReleaseJar
Methods inherited from class sootup.java.bytecode.frontend.inputlocation.PathBasedAnalysisInputLocation
create, create, create, fromPath, getClassSourceInternal, getSingleClass, getSourceType
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface sootup.core.inputlocation.AnalysisInputLocation
getBodyInterceptors, getClassSource, getClassSources, getSourceType
-
Constructor Details
-
ModuleMultiReleaseJarAnalysisInputLocation
public ModuleMultiReleaseJarAnalysisInputLocation(@Nonnull Path path, @Nonnull SourceType srcType, int version)
-
-
Method Details
-
createAnalysisInputLocation
protected ModuleInfoAnalysisInputLocation createAnalysisInputLocation(@Nonnull Path path, SourceType sourceType, List<BodyInterceptor> bodyInterceptors) - Overrides:
createAnalysisInputLocation
in classMultiReleaseJarAnalysisInputLocation
-
getModulesClassSources
public Collection<? extends SootClassSource> getModulesClassSources(@Nonnull ModuleSignature moduleSignature, @Nonnull View view) - Specified by:
getModulesClassSources
in interfaceModuleInfoAnalysisInputLocation
-
getModuleInfo
@Nonnull public Optional<JavaModuleInfo> getModuleInfo(@Nonnull ModuleSignature sig, @Nonnull View view) - Specified by:
getModuleInfo
in interfaceModuleInfoAnalysisInputLocation
-
getModules
- Specified by:
getModules
in interfaceModuleInfoAnalysisInputLocation
-