Class JreCompat

  • public class JreCompat
    extends Object
    • Constructor Detail

      • JreCompat

        public JreCompat()
    • Method Detail

      • getInstance

        public static JreCompat getInstance()
      • canAccess

        public boolean canAccess​(Object base,
                                 AccessibleObject accessibleObject)
        Is the accessibleObject accessible (as a result of appropriate module exports) on the provided instance?
        base - The specific instance to be tested.
        accessibleObject - The method/field/constructor to be tested.
        {code true} if the AccessibleObject can be accessed otherwise {code false}