Class ReferenceTypeFilter<T extends CtReference>

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

public class ReferenceTypeFilter<T extends CtReference> extends TypeFilter<T>
This simple filter matches all the references of a given type.
  • Constructor Details

    • ReferenceTypeFilter

      public ReferenceTypeFilter(Class<? super T> type)
      Creates the filter.
      Parameters:
      type - the type that matches