Class TypeFilter<T extends CtElement>

java.lang.Object
spoon.reflect.visitor.filter.AbstractFilter<T>
spoon.reflect.visitor.filter.TypeFilter<T>
All Implemented Interfaces:
Filter<T>
Direct Known Subclasses:
AnnotationFilter, LineFilter, ReferenceTypeFilter

public class TypeFilter<T extends CtElement> extends AbstractFilter<T>
This simple filter matches all the elements of a given type.
  • Constructor Details

    • TypeFilter

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