Class Matchers.InSubpackage

  • All Implemented Interfaces:
    Matcher<java.lang.Class>, java.io.Serializable
    Enclosing class:
    Matchers

    private static class Matchers.InSubpackage
    extends AbstractMatcher<java.lang.Class>
    implements java.io.Serializable
    • Constructor Summary

      Constructors 
      Constructor Description
      InSubpackage​(java.lang.String targetPackageName)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object other)  
      int hashCode()  
      boolean matches​(java.lang.Class c)
      Returns true if this matches t, false otherwise.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • targetPackageName

        private final java.lang.String targetPackageName
    • Constructor Detail

      • InSubpackage

        public InSubpackage​(java.lang.String targetPackageName)
    • Method Detail

      • matches

        public boolean matches​(java.lang.Class c)
        Description copied from interface: Matcher
        Returns true if this matches t, false otherwise.
        Specified by:
        matches in interface Matcher<java.lang.Class>
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

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