Class VisibilityPredicate

  • All Implemented Interfaces:
    Predicate

    public class VisibilityPredicate
    extends java.lang.Object
    implements Predicate
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String pkg  
      private boolean protectedOk  
      private boolean samePackageOk  
    • Constructor Summary

      Constructors 
      Constructor Description
      VisibilityPredicate​(java.lang.Class source, boolean protectedOk)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean evaluate​(java.lang.Object arg)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • protectedOk

        private boolean protectedOk
      • pkg

        private java.lang.String pkg
      • samePackageOk

        private boolean samePackageOk
    • Constructor Detail

      • VisibilityPredicate

        public VisibilityPredicate​(java.lang.Class source,
                                   boolean protectedOk)
    • Method Detail

      • evaluate

        public boolean evaluate​(java.lang.Object arg)
        Specified by:
        evaluate in interface Predicate