public class JreCompat extends Object
Constructor and Description |
---|
JreCompat() |
Modifier and Type | Method and Description |
---|---|
boolean |
canAccess(Object base,
AccessibleObject accessibleObject)
Is the accessibleObject accessible (as a result of appropriate module
exports) on the provided instance?
|
static JreCompat |
getInstance() |
public static JreCompat getInstance()
public boolean canAccess(Object base, AccessibleObject accessibleObject)
base
- The specific instance to be tested.accessibleObject
- The method/field/constructor to be tested.Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.