code: public static boolean supportsJavaMethod(String name) {
  
          if (accessibleJavaMethodNames == null) {
              return true;
          }
  
          if (name.startsWith("org.hsqldb_voltpatches.Library.")) {
              return true;
          }
  
          if (name.startsWith("java.lang.Math.")) {
              return true;
          }
  
          if (accessibleJavaMethodNames.contains(name)) {
              return true;
          }
  
          Iterator it = accessibleJavaMethodNames.iterator();
  
          while (it.hasNext()) {
              String className = (String) it.next();
              int    limit     = className.lastIndexOf(".*");
  
              if (limit < 1) {
                  continue;
              }
  
              if (name.startsWith(className.substring(0, limit + 1))) {
                  return true;
              }
          }
  
          return false;
      }
docs: If the system property "hsqldb.method_class_names" is not set, then
  static methods of all available Java classes can be accessed as functions
  in HSQLDB. If the property is set, then only the list of semicolon
  seperated method names becomes accessible. An empty property value means
  no class is accessible.<p>
  
  A property value that ends with .* is treated as a wild card and allows
  access to all classe or method names formed by substitution of the
  asterisk.<p>
  
  All methods of org.hsqldb_voltpatches.Library and java.lang.Math are always
  accessible.