-
-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Class files are closed and later used #527
Labels
bug
Something isn't working
Comments
The code is like this // construct class view and hierarchy
System.out.println("[+] building whole class view...");
JavaView view = project.createFullView();
Global.setView(view);
ViewTypeHierarchy hierarchy = new ViewTypeHierarchy(view);
Global.setHierarchy(hierarchy);
view.getClasses().forEach(new Consumer<JavaSootClass>() {
@Override
public void accept(JavaSootClass javaSootClass) {
if(javaSootClass.getType().getFullyQualifiedName().contains("RequestMapping")){
return;
}
if(javaSootClass.getType().getFullyQualifiedName().contains("AdminPlanningController")){
javaSootClass.getAnnotations(Optional.of(view));
return;
}
}
}); |
This was referenced May 31, 2023
#617 could describe a solution to this problem |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The text was updated successfully, but these errors were encountered: