Class AnyTypeMatcher

  • All Implemented Interfaces:
    TypeMatcher

    public class AnyTypeMatcher
    extends java.lang.Object
    implements TypeMatcher
    A TypeMatcher that matches all types.
    Author:
    David Hovemeyer
    • Constructor Summary

      Constructors 
      Constructor Description
      AnyTypeMatcher()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean matches​(org.apache.bcel.generic.Type t)
      Determine whether given type matches this predicate.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • AnyTypeMatcher

        public AnyTypeMatcher()
    • Method Detail

      • matches

        public boolean matches​(org.apache.bcel.generic.Type t)
        Description copied from interface: TypeMatcher
        Determine whether given type matches this predicate.
        Specified by:
        matches in interface TypeMatcher
        Parameters:
        t - a Type
        Returns:
        true if the Type matches, false otherwise
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object