code: private AptMethodSet<AptOperation> initOperations()
      {
          AptMethodSet<AptOperation> operList = new AptMethodSet<AptOperation>();
  
          if ( _intfDecl == null )
              return operList;
  
          //
          // Add the methods from the current interface and all super interfaces *other*
          // than the one from which control inheritance or extension is defined.  These
          // exceptions are handled on the super ControlInterface (the return value
          // of AptControlInterface.initSuperClass())
          //
          // Do this by:
          //  - initially populate the check vector with the control interface
          //  - iterate through the check vector, examining each interface to:
          //      * ignore the super interface
          //      * add all declared interface methods to the operations list
          //      * add any super interfaces to the Vector (avoiding recursion)
          //  - the iteration continues until all superinterfaces have been processed
          //
          Vector<InterfaceDeclaration> checkIntfs = new Vector<InterfaceDeclaration>();
          checkIntfs.add(_intfDecl);
  
          for (int i = 0; i < checkIntfs.size(); i++)
          {
              InterfaceDeclaration intfDecl = checkIntfs.elementAt(i);
              if (intfDecl.equals(_superDecl))
                  continue;
  
              if ( intfDecl.getMethods() == null )
                  continue;
  
              // Add all declared methods, but ignore the mystery <clinit> methods
              for (MethodDeclaration methodDecl : intfDecl.getMethods())
                  if (!methodDecl.toString().equals("<clinit>()"))
                      operList.add(new AptOperation(this, methodDecl, _ap));
  
              if ( intfDecl.getSuperinterfaces() == null )
                  continue;
  
              for (InterfaceType superType : intfDecl.getSuperinterfaces())
              {
                  InterfaceDeclaration superDecl = superType.getDeclaration();
                  if (superDecl != null && !checkIntfs.contains(superDecl))
                      checkIntfs.add(superDecl);
              }
          }
  
          return operList;
      }
docs: Initializes the list of operations declared by this AptControlInterface