Class Whitelist

java.lang.Object
com.prineside.tdi2.managers.script.Whitelist

public final class Whitelist extends Object
Whitelist: - Field (className$fieldName) - Method (className#methodName(paramTypes)) - Constructor (className@paramTypes) - Interface proxy (className#) Blacklist: - Package - Class - Field - Method - Constructor - Interface proxy
  • Constructor Details

    • Whitelist

      public Whitelist()
  • Method Details

    • fromFile

      public static Whitelist fromFile(File handle) throws IOException
      Throws:
      IOException
    • fromFile

      public static Whitelist fromFile(FileHandle handle) throws IOException
      Throws:
      IOException
    • fromFile

      public static Whitelist fromFile(BufferedReader bufferedReader) throws IOException
      Throws:
      IOException
    • getMethodSignature

      public static String getMethodSignature(Method method)
    • getConstructorSignature

      public static String getConstructorSignature(Constructor<?> constructor)
    • isFieldWhiteListed

      public boolean isFieldWhiteListed(Field field)
    • isMethodWhiteListed

      public boolean isMethodWhiteListed(Method method)
      Also checks super classes and interfaces
    • isMethodWhiteListedInDeclaringClass

      public boolean isMethodWhiteListedInDeclaringClass(Method method)
      Non-recursive variant, does not check super classes and interfaces
    • isConstructorWhiteListed

      public boolean isConstructorWhiteListed(Constructor<?> constructor)
    • isInterfaceProxyWhiteListed

      public boolean isInterfaceProxyWhiteListed(Class<?> clazz)
    • isPackageBlackListed

      public boolean isPackageBlackListed(String path)
    • isClassBlackListed

      public boolean isClassBlackListed(Class<?> clazz)
    • isFieldBlackListed

      public boolean isFieldBlackListed(Field field)
    • isMethodBlackListed

      public boolean isMethodBlackListed(Method method)
    • isConstructorBlackListed

      public boolean isConstructorBlackListed(Constructor<?> constructor)
    • isInterfaceProxyBlackListed

      public boolean isInterfaceProxyBlackListed(Class<?> clazz)