public class SubtypeTypeMatcher extends 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 TypeCopyright © 2003–2015. All rights reserved.