Jiawei Qin
Jiawei Qin
同问这个问题很好奇啊
i encountered the same problem,did you solved this issue?
I write this; ``` String sourceDir = "/tmp/test_data/SpringBootDemo/SpringBootDemo/src/main/java/"; AnalysisScope scope = new JavaSourceAnalysisScope(); // add standard libraries to scope String[] stdlibs = WalaProperties.getJ2SEJarFiles(); for (String stdlib : stdlibs) { scope.addToScope(ClassLoaderReference.Primordial,...
Yes, I write as follows: ``` scope.addToScope(JavaSourceAnalysisScope.SOURCE, new SourceDirectoryTreeModule(new File(sourceDir))); // build the class hierarchy IClassHierarchy cha = ClassHierarchyFactory.make(scope, new com.ibm.wala.cast.java.translator.jdt.ecj.ECJClassLoaderFactory(scope.getExclusions())); ....... IAnalysisCacheView cache = new AnalysisCacheImpl(AstIRFactory.makeDefaultFactory()); ``` I think...
i occurred the same wrong
I analyzed the source code as follows: ``` scope.addToScope(ClassLoaderReference.Application, new SourceDirectoryTreeModule(new File(sourceDir))); // build the class hierarchy IClassHierarchy cha = ClassHierarchyFactory.make(scope, new com.ibm.wala.cast.java.translator.jdt.ecj.ECJClassLoaderFactory(scope.getExclusions())); // ```
I can not get the @requestmapping and any more class annotions
Hi @juliandolby, @msridhar : Does the java source code support recognition class's annotations? or Or which mode supports this kind of operation? Thanks
Ok, Thanks for your help I am looking forward to hear from @juliandolby
Thank you for your reply but when i run it, i have see the errors as follow: SLF4J: Found binding in [jar:file:/home/liberator/git/ConDroid/libs/slf4j-simple-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/home/liberator/git/ConDroid/libs/soot-infoflow-android.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings...