-
-
Notifications
You must be signed in to change notification settings - Fork 110
Getting started code from documentation does not work #686
Copy link
Copy link
Closed
Description
Here is the code from sootup website:
Path pathToBinary = Paths.get("src/test/resources/BasicSetup/binary");
AnalysisInputLocation<JavaSootClass> inputLocation =
PathBasedAnalysisInputLocation.createForClassContainer(pathToBinary);
JavaLanguage language = new JavaLanguage(8);
Project project =
JavaProject.builder(language).addInputLocation(inputLocation).build();
Here is the error:
error: cannot find symbol
AnalysisInputLocation<JavaSootClass> inputLocation = PathBasedAnalysisInputLocation.createForClassContainer(pathToBinary);
^
symbol: method createForClassContainer(Path)
location: class PathBasedAnalysisInputLocation
I've checked the class sootup.java.bytecode.inputlocation.PathBasedAnalysisInputLocation and I'm sure there is no method called createForClassContainer.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels