Class BlacklistMethodAccessValidator

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static java.lang.String[] FORBIDDEN_METHODS  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private boolean isAnyOfMethods​(java.lang.reflect.Method member, java.lang.String... methods)  
      boolean isMethodAccessAllowed​(java.lang.Object object, java.lang.reflect.Method method)  
      private boolean isMethodWithName​(java.lang.reflect.Method member, java.lang.String method)  
      private boolean isUnsafeMethod​(java.lang.reflect.Method member)  
      • Methods inherited from class java.lang.Object

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

      • FORBIDDEN_METHODS

        private static final java.lang.String[] FORBIDDEN_METHODS
    • Constructor Detail

      • BlacklistMethodAccessValidator

        public BlacklistMethodAccessValidator()
    • Method Detail

      • isUnsafeMethod

        private boolean isUnsafeMethod​(java.lang.reflect.Method member)
      • isAnyOfMethods

        private boolean isAnyOfMethods​(java.lang.reflect.Method member,
                                       java.lang.String... methods)
      • isMethodWithName

        private boolean isMethodWithName​(java.lang.reflect.Method member,
                                         java.lang.String method)