Class JavaClassPathAnalysisInputLocation

java.lang.Object
sootup.java.bytecode.frontend.inputlocation.JavaClassPathAnalysisInputLocation
All Implemented Interfaces:
AnalysisInputLocation

public class JavaClassPathAnalysisInputLocation extends Object implements AnalysisInputLocation
An implementation of the AnalysisInputLocation interface for the Java class path. Handles directories, archives (including wildcard denoted archives) as stated in the official documentation: https://docs.oracle.com/javase/8/docs/technotes/tools/windows/classpath.html
Author:
Manuel Benz created on 22.05.18, Kaustubh Kelkar updated on 20.07.2020
  • Constructor Details

    • JavaClassPathAnalysisInputLocation

      public JavaClassPathAnalysisInputLocation(@NonNull String classPath)
      Creates a JavaClassPathAnalysisInputLocation which locates classes in the given class path.
      Parameters:
      classPath - The class path to search in
    • JavaClassPathAnalysisInputLocation

      public JavaClassPathAnalysisInputLocation(@NonNull String classPath, @NonNull SourceType srcType)
    • JavaClassPathAnalysisInputLocation

      public JavaClassPathAnalysisInputLocation(@NonNull String classPath, @NonNull SourceType srcType, @NonNull List<BodyInterceptor> bodyInterceptors)
      Creates a JavaClassPathAnalysisInputLocation which locates classes in the given class path.
      Parameters:
      classPath - the class path to search in
      srcType - the source type for the path can be Library, Application, Phantom.
  • Method Details