public class Permissions extends Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
allow(Class<?> clazz)
Checks whether a class or one of its superclasses or implemented interfaces
explicitly disallows JEXL introspection.
|
static boolean |
allow(Constructor<?> ctor)
Checks whether a constructor explicitly disallows JEXL introspection.
|
static boolean |
allow(Field field)
Checks whether a field explicitly disallows JEXL introspection.
|
static boolean |
allow(Method method)
Checks whether a method explicitly disallows JEXL introspection.
|
public static boolean allow(Class<?> clazz)
clazz - the class to checkpublic static boolean allow(Constructor<?> ctor)
ctor - the constructor to checkpublic static boolean allow(Field field)
field - the field to checkpublic static boolean allow(Method method)
Since methods can be overriden, this also checks that no superclass or interface explictly disallows this methods.
method - the method to checkCopyright © 2001–2015 The Apache Software Foundation. All rights reserved.