/
generic-whitelist
48 lines (46 loc) · 2.53 KB
/
generic-whitelist
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# Needed for Groovy Templates to emit output:
method java.io.PrintWriter print java.lang.Object
method java.io.PrintWriter print java.lang.String
# Useful general stuff:
method java.lang.CharSequence length
method java.lang.Comparable compareTo java.lang.Object
method java.lang.Object equals java.lang.Object
method java.lang.Object toString
method java.util.Collection add java.lang.Object
method java.util.Collection size
method java.util.Map put java.lang.Object java.lang.Object
method java.util.List get int
new java.net.URL java.lang.String
method java.lang.String contains java.lang.CharSequence
method java.lang.String endsWith java.lang.String
method java.lang.String indexOf java.lang.String
method java.lang.String toLowerCase
method java.lang.String trim
method java.lang.String matches java.lang.String
method java.lang.String split java.lang.String
method java.lang.String startsWith java.lang.String
method java.lang.String substring int int
method java.lang.String replace java.lang.CharSequence java.lang.CharSequence
method java.util.Collection contains java.lang.Object
method java.util.concurrent.Callable call
# Groovy:
method groovy.lang.Script getBinding
method groovy.lang.Closure call java.lang.Object
staticField groovy.lang.Closure OWNER_FIRST
staticField groovy.lang.Closure DELEGATE_FIRST
staticField groovy.lang.Closure OWNER_ONLY
staticField groovy.lang.Closure DELEGATE_ONLY
staticField groovy.lang.Closure TO_SELF
method groovy.lang.Closure getResolveStrategy
method groovy.lang.Closure setResolveStrategy int
method groovy.lang.Closure getDelegate
method groovy.lang.Closure setDelegate java.lang.Object
staticMethod org.codehaus.groovy.runtime.ScriptBytecodeAdapter compareEqual java.lang.Object java.lang.Object
staticMethod org.codehaus.groovy.runtime.ScriptBytecodeAdapter compareNotEqual java.lang.Object java.lang.Object
staticMethod org.codehaus.groovy.runtime.ScriptBytecodeAdapter findRegex java.lang.Object java.lang.Object
staticMethod org.codehaus.groovy.runtime.ScriptBytecodeAdapter matchRegex java.lang.Object java.lang.Object
staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods disjoint java.util.Collection java.util.Collection
staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods join java.util.Collection java.lang.String
staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods or java.lang.Boolean java.lang.Boolean
staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods xor java.lang.Boolean java.lang.Boolean
staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods asBoolean java.lang.Object