Package org.apache.el.util
Class JreCompat
java.lang.Object
org.apache.el.util.JreCompat
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canAccess
(Object base, AccessibleObject accessibleObject) Is the accessibleObject accessible (as a result of appropriate module exports) on the provided instance?static JreCompat
-
Constructor Details
-
JreCompat
public JreCompat()
-
-
Method Details
-
getInstance
-
canAccess
Is the accessibleObject accessible (as a result of appropriate module exports) on the provided instance?- Parameters:
base
- The specific instance to be tested.accessibleObject
- The method/field/constructor to be tested.- Returns:
- {code true} if the AccessibleObject can be accessed otherwise {code false}
-