Class AbstractClassTestingTypeFilter

    • Method Detail

      • match

        public final boolean match​(MetadataReader metadataReader,
                                   MetadataReaderFactory metadataReaderFactory)
                            throws IOException
        Description copied from interface: TypeFilter
        Determine whether this filter matches for the class described by the given metadata.
        Specified by:
        match in interface TypeFilter
        Parameters:
        metadataReader - the metadata reader for the target class
        metadataReaderFactory - a factory for obtaining metadata readers for other classes (such as superclasses and interfaces)
        Returns:
        whether this filter matches
        Throws:
        IOException - in case of I/O failure when reading metadata
      • match

        protected abstract boolean match​(ClassMetadata metadata)
        Determine a match based on the given ClassMetadata object.
        Parameters:
        metadata - the ClassMetadata object
        Returns:
        whether this filter matches on the specified type