Examples of TypeMatcher


Examples of org.fest.swing.core.TypeMatcher

    return fileChooser(DEFAULT_DIALOG_LOOKUP_TIMEOUT);
  }

  /** {@inheritDoc} */
  public JFileChooserFixture fileChooser(Timeout timeout) {
    TypeMatcher matcher = new TypeMatcher(JFileChooser.class, requireShowing());
    return findFileChooser(matcher, timeout);
  }
View Full Code Here

Examples of org.fest.swing.core.TypeMatcher

    return optionPane(DEFAULT_DIALOG_LOOKUP_TIMEOUT);
  }

  /** {@inheritDoc} */
  public JOptionPaneFixture optionPane(Timeout timeout) {
    TypeMatcher matcher = new TypeMatcher(JOptionPane.class, requireShowing());
    String description = "option pane to be found using matcher " + matcher;
    ComponentFoundCondition condition = new ComponentFoundCondition(description, robot.finder(), matcher);
    pause(condition, timeout);
    return new JOptionPaneFixture(robot, (JOptionPane)condition.found());
  }
View Full Code Here

Examples of org.jboss.aop.pointcut.TypeMatcher

   {
      if (classExpr != null)
         return Util.matchesClassExpr(classExpr, clazz, advisor);
      else
      {
         TypeMatcher matcher = new TypeMatcher(advisor, clazz);
         return ((Boolean) ast.jjtAccept(matcher, null)).booleanValue();
      }
   }
View Full Code Here

Examples of rocket.serialization.rebind.typematcher.TypeMatcher

    // check black list...
    final Iterator<TypeMatcher> blackListers = this.getBlackList().iterator();
    final Type object = this.getGeneratorContext().getObject();

    while (blackListers.hasNext()) {
      final TypeMatcher matcher = blackListers.next();

      // scan entire type heirarchy just in case type or any super is
      // blacklisted.
      Type current = type;
      while (true) {
        if (matcher.matches(current)) {
          blacklisted = true;
          break;
        }

        current = current.getSuperType();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.