org.jboss.kernel.api.dependency
Class ClassMatcher<T>
java.lang.Object
org.jboss.kernel.api.dependency.NonNullMatcher
org.jboss.kernel.api.dependency.ClassMatcher<T>
- Type Parameters:
T
- the class to match
- All Implemented Interfaces:
- Matcher
- Direct Known Subclasses:
- AnnotationsMatcher, NumberMatcher, StringMatcher
public abstract class ClassMatcher<T>
- extends NonNullMatcher
Match the class type.
- Author:
- Ales Justin
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClassMatcher
protected ClassMatcher(Class<T> clazz)
internalMatch
protected boolean internalMatch(Object other)
- Description copied from class:
NonNullMatcher
- Do internal match.
- Specified by:
internalMatch
in class NonNullMatcher
- Parameters:
other
- the other param to match
- Returns:
- true if matched, false otherwise
matchByType
protected abstract boolean matchByType(T other)
- Match by type.
- Parameters:
other
- the T para to match
- Returns:
- true if matched, false otherwise
Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.