Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.eclipse.swtbot.eclipse.gef.finder.matchers
Class IsInstanceOf<T>

    java.lang.Object
      org.hamcrest.BaseMatcher<T>
          org.eclipse.swtbot.eclipse.gef.finder.matchers.IsInstanceOf<T>

All Implemented Interfaces:
  Matcher<T>, SelfDescribing

    public class IsInstanceOf<T>

extends BaseMatcher<T>

Tests whether the value is an instance of a class.

Constructor Summary
`IsInstanceOf(Class<T> theClass)` Creates a new instance of IsInstanceOf

Method Summary
`void` | `describeTo(Description description)`
`static
`<T> Matcher<T>`
` | `instanceOf(Class<T> type)` Is the value an instance of a particular type?
`boolean` | `matches(Object item)`

Methods inherited from class org.hamcrest.BaseMatcher
`_dont_implement_Matcher___instead_extend_BaseMatcher_, toString`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### IsInstanceOf

    public IsInstanceOf(Class<T> theClass)

  Creates a new instance of IsInstanceOf

  Parameters:
    `theClass` - The predicate evaluates to true for instances of this class or one of its subclasses.

Method Detail

### matches

    public boolean matches(Object item)

### describeTo

    public void describeTo(Description description)

### instanceOf

    public static <T> Matcher<T> instanceOf(Class<T> type)

  Is the value an instance of a particular type?

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD