Class AbstractReferenceFilter<T extends CtReference>

java.lang.Object
spoon.reflect.visitor.filter.AbstractFilter<T>
spoon.reflect.visitor.filter.AbstractReferenceFilter<T>
Type Parameters:
T - the type of the reference to be matched
All Implemented Interfaces:
Filter<T>

public abstract class AbstractReferenceFilter<T extends CtReference> extends AbstractFilter<T>
This class defines an abstract reference filter that needs to be subclassed in order to define the matching criteria.
  • Constructor Details

    • AbstractReferenceFilter

      public AbstractReferenceFilter(Class<? super T> type)
      Creates a reference filter with the type of the potentially matching references.
    • AbstractReferenceFilter

      public AbstractReferenceFilter()
      Creates a filter with the type computed by reflection from the matches method parameter