Class AbstractReferenceFilter<T extends CtReference>

Type Parameters:
T - the type of the reference to be matched
All Implemented Interfaces:

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