public static Set<ClassNode> collectAllInterfaces(ClassNode node){
  HashSet<ClassNode> result=new HashSet<ClassNode>();
  collectAllInterfaces(node,result);
  return result;
}

public static Set < ClassNode > collectAllInterfaces ( ClassNode node ) { HashSet < ClassNode > result = new HashSet < ClassNode > ( ) ; collectAllInterfaces ( node , result ) ; return result ; }
collects all interfaces of a class node , including those defined by the super class .
