itr.hasNext();
) {
FlatSESEEnterNode fsen = itr.next();
-
- boolean hasNoNestedChildren = !fsen.getChildren().isEmpty();
+
+ boolean hasNoNestedChildren = fsen.getChildren().isEmpty();
boolean hasNoChildrenByCall = !hasChildrenByCall( fsen );
fsen.setIsLeafSESE( hasNoNestedChildren &&
MethodDescriptor mdCallee = fc.getMethod();
Set reachable = new HashSet();
+ reachable.add( mdCallee );
reachable.addAll( callGraph.getAllMethods( mdCallee ) );
+
reachable.retainAll( methodsContainingSESEs );
if( !reachable.isEmpty() ) {