code: protected AptMethodSet<AptEvent> initEvents()
      {
          AptMethodSet<AptEvent> events = new AptMethodSet<AptEvent>();
          if ( _eventSet == null || _eventSet.getMethods() == null )
              return events;
  
          //
          // Add all of the public methods directly declared and inherited from extended
          // interfaces, except for the EventSet super interface (if any)
          //
          ArrayList<InterfaceDeclaration> intfList = new ArrayList<InterfaceDeclaration>();
          intfList.add(_eventSet);
          for (int i = 0; i < intfList.size(); i++)
          {
              InterfaceDeclaration intfDecl = intfList.get(i);
  
              //
              // Don't add events that are derived from a super event set.  These are not added because
              // this class picks a single super interface to extend from when building a hierarchy
              // of callback notifiers (etc).  So, the super event set that was chosen first is left out
              // of the list of event methods since they're captured in superclasses in the Control's implementation
              //
              if (_superEventSet != null && _superEventSet.getClassName().equals(intfDecl.getQualifiedName()))
                  continue;
  
              // Add all declared methods, but ignore the mystery <clinit> methods
              for (MethodDeclaration methodDecl : intfDecl.getMethods())
                  if (!methodDecl.toString().equals("<clinit>()"))
                      events.add(new AptEvent(this, methodDecl, _ap));
  
              //
              // Add all superinterfaces of the target interface to the list
              //
              for (InterfaceType superType: intfDecl.getSuperinterfaces())
              {
                  InterfaceDeclaration superDecl = superType.getDeclaration();
                  if (superDecl != null && !intfList.contains(superDecl))
                      intfList.add(superDecl);
              }
          }
  
          return events;
      }
docs: Initializes the list of Events associated with this EventSet