@@ -75,7 +75,7 @@ private module SafeKryoConfig implements DataFlow::ConfigSig {
75
75
* Holds when a functional expression is used to create a `KryoPool.Builder`.
76
76
* Eg. `new KryoPool.Builder(() -> new Kryo())`
77
77
*/
78
- additional predicate stepKryoPoolBuilderFactoryArgToConstructor (
78
+ private predicate stepKryoPoolBuilderFactoryArgToConstructor (
79
79
DataFlow:: Node node1 , DataFlow:: Node node2
80
80
) {
81
81
exists ( ConstructorCall cc , FunctionalExpr fe |
@@ -90,7 +90,7 @@ private module SafeKryoConfig implements DataFlow::ConfigSig {
90
90
* Holds when a `KryoPool.run` is called to use a `Kryo` instance.
91
91
* Eg. `pool.run(kryo -> ...)`
92
92
*/
93
- additional predicate stepKryoPoolRunMethodAccessQualifierToFunctionalArgument (
93
+ private predicate stepKryoPoolRunMethodAccessQualifierToFunctionalArgument (
94
94
DataFlow:: Node node1 , DataFlow:: Node node2
95
95
) {
96
96
exists ( MethodAccess ma |
@@ -103,7 +103,7 @@ private module SafeKryoConfig implements DataFlow::ConfigSig {
103
103
/**
104
104
* Holds when a `KryoPool.Builder` method is called fluently.
105
105
*/
106
- additional predicate stepKryoPoolBuilderChainMethod ( DataFlow:: Node node1 , DataFlow:: Node node2 ) {
106
+ private predicate stepKryoPoolBuilderChainMethod ( DataFlow:: Node node1 , DataFlow:: Node node2 ) {
107
107
exists ( MethodAccess ma |
108
108
ma .getMethod ( ) instanceof KryoPoolBuilderMethod and
109
109
ma = node2 .asExpr ( ) and
@@ -114,7 +114,7 @@ private module SafeKryoConfig implements DataFlow::ConfigSig {
114
114
/**
115
115
* Holds when a `KryoPool.borrow` method is called.
116
116
*/
117
- additional predicate stepKryoPoolBorrowMethod ( DataFlow:: Node node1 , DataFlow:: Node node2 ) {
117
+ private predicate stepKryoPoolBorrowMethod ( DataFlow:: Node node1 , DataFlow:: Node node2 ) {
118
118
exists ( MethodAccess ma |
119
119
ma .getMethod ( ) =
120
120
any ( Method m | m .getDeclaringType ( ) instanceof KryoPool and m .hasName ( "borrow" ) ) and
0 commit comments