API change for IClass.getDeclaredMethods()
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@523 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
This commit is contained in:
parent
c801d53d31
commit
78c8e93f33
|
@ -198,7 +198,7 @@ public class SimpleThreadEscapeAnalysis extends AbstractAnalysisEngine {
|
|||
Collection<IClass> threads = cha.computeSubClasses(TypeReference.JavaLangThread);
|
||||
for (Iterator<IClass>clss = threads.iterator(); clss.hasNext();) {
|
||||
IClass cls = (IClass) clss.next();
|
||||
for (Iterator<IMethod> ms = cls.getDeclaredMethods(); ms.hasNext();) {
|
||||
for (Iterator<IMethod> ms = cls.getDeclaredMethods().iterator(); ms.hasNext();) {
|
||||
IMethod m = (IMethod) ms.next();
|
||||
if (m.isInit()) {
|
||||
Set<CGNode> nodes = cg.getNodes(m.getReference());
|
||||
|
|
Loading…
Reference in New Issue