public abstract class AbstractFilter<T extends CtElement> extends java.lang.Object implements Filter<T>
Constructor and Description |
---|
AbstractFilter()
Creates a filter with the type computed by reflection from the matches method parameter
|
AbstractFilter(java.lang.Class<? super T> type)
Creates a filter with the type of the potentially matching elements.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Class<T> |
getType() |
boolean |
matches(T element)
Tells if the given element matches.
|
public AbstractFilter(java.lang.Class<? super T> type)
public AbstractFilter()
public java.lang.Class<T> getType()
Copyright © 2007–2021 Inria. All rights reserved.