private static class Matchers.SubclassesOf extends AbstractMatcher<java.lang.Class> implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
private static long |
serialVersionUID |
private java.lang.Class<?> |
superclass |
| Constructor and Description |
|---|
SubclassesOf(java.lang.Class<?> superclass) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object other) |
int |
hashCode() |
boolean |
matches(java.lang.Class subclass)
Returns
true if this matches t, false otherwise. |
java.lang.String |
toString() |
and, orprivate final java.lang.Class<?> superclass
private static final long serialVersionUID
public boolean matches(java.lang.Class subclass)
Matchertrue if this matches t, false otherwise.public boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object