public class SubtypeTypeMatcher extends java.lang.Object implements TypeMatcher
| Constructor and Description |
|---|
SubtypeTypeMatcher(ClassDescriptor classDescriptor)
Constructor.
|
SubtypeTypeMatcher(org.apache.bcel.generic.ReferenceType supertype)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
matches(org.apache.bcel.generic.Type t)
Determine whether given type matches this predicate.
|
java.lang.String |
toString() |
public SubtypeTypeMatcher(org.apache.bcel.generic.ReferenceType supertype)
supertype - a ReferenceType: this TypeMatcher will test whether or not
candidate Types are subtypes of this Typepublic SubtypeTypeMatcher(ClassDescriptor classDescriptor)
classDescriptor - a ClassDescriptor naming a class: this TypeMatcher will test
whether or not candidate Types are subtypes of the classpublic boolean matches(org.apache.bcel.generic.Type t)
TypeMatchermatches in interface TypeMatchert - a Typepublic java.lang.String toString()
toString in class java.lang.ObjectSpotBugs is licensed under the LGPL.