|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.jexl3.internal.introspection.Permissions
public class Permissions
Checks whether an element (ctor, field or method) is visible by JEXL introspection by checking if has been annotated with NoJexl.
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static boolean allow(Class<?> clazz)
clazz
- the class to check
public static boolean allow(Constructor<?> ctor)
ctor
- the constructor to check
public static boolean allow(Field field)
field
- the field to check
public 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 check
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |