code: protected boolean isPrivateMethod(MethodDeclaration md)
      {
          Collection<Modifier> modifiers = md.getModifiers();
          for (Modifier m : modifiers)
          {
              if (m.compareTo(Modifier.PRIVATE) == 0)
                  return true;
          }
          return false;
      }
docs: Checks a MethodDeclaration for a 'private' modifier.
  
  @param md MethodDeclaration to check.
  @return true if private modifier is present.