public class SubtypeTypeMatcher extends java.lang.Object implements TypeMatcher
| Constructor and Description |
|---|
SubtypeTypeMatcher(ClassDescriptor classDescriptor)
Constructor.
|
SubtypeTypeMatcher(org.apache.bcel.generic.ReferenceType supertype)
Constructor.
|
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.ObjectFindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.