Class Whitelist
java.lang.Object
com.prineside.tdi2.managers.script.Whitelist
Whitelist:
- Field (className$fieldName)
- Method (className#methodName(paramTypes))
- Constructor (className@paramTypes)
- Interface proxy (className#)
Blacklist:
- Package
- Class
- Field
- Method
- Constructor
- Interface proxy
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Whitelist
fromFile
(FileHandle handle) static Whitelist
fromFile
(BufferedReader bufferedReader) static Whitelist
static String
getConstructorSignature
(Constructor<?> constructor) static String
getMethodSignature
(Method method) boolean
isClassBlackListed
(Class<?> clazz) boolean
isConstructorBlackListed
(Constructor<?> constructor) boolean
isConstructorWhiteListed
(Constructor<?> constructor) boolean
isFieldBlackListed
(Field field) boolean
isFieldWhiteListed
(Field field) boolean
isInterfaceProxyBlackListed
(Class<?> clazz) boolean
isInterfaceProxyWhiteListed
(Class<?> clazz) boolean
isMethodBlackListed
(Method method) boolean
isMethodWhiteListed
(Method method) Also checks super classes and interfacesboolean
Non-recursive variant, does not check super classes and interfacesboolean
isPackageBlackListed
(String path)
-
Constructor Details
-
Whitelist
public Whitelist()
-
-
Method Details
-
fromFile
- Throws:
IOException
-
fromFile
- Throws:
IOException
-
fromFile
- Throws:
IOException
-
getMethodSignature
-
getConstructorSignature
-
isFieldWhiteListed
-
isMethodWhiteListed
Also checks super classes and interfaces -
isMethodWhiteListedInDeclaringClass
Non-recursive variant, does not check super classes and interfaces -
isConstructorWhiteListed
-
isInterfaceProxyWhiteListed
-
isPackageBlackListed
-
isClassBlackListed
-
isFieldBlackListed
-
isMethodBlackListed
-
isConstructorBlackListed
-
isInterfaceProxyBlackListed
-