@@ -15,7 +15,7 @@ abstract class PathCreation extends Expr {
15
15
}
16
16
17
17
/** Models the `java.nio.file.Paths.get` method. */
18
- class PathsGet extends PathCreation , MethodAccess {
18
+ private class PathsGet extends PathCreation , MethodAccess {
19
19
PathsGet ( ) {
20
20
exists ( Method m | m = this .getMethod ( ) |
21
21
m .getDeclaringType ( ) instanceof TypePaths and
@@ -27,7 +27,7 @@ class PathsGet extends PathCreation, MethodAccess {
27
27
}
28
28
29
29
/** Models the `java.nio.file.FileSystem.getPath` method. */
30
- class FileSystemGetPath extends PathCreation , MethodAccess {
30
+ private class FileSystemGetPath extends PathCreation , MethodAccess {
31
31
FileSystemGetPath ( ) {
32
32
exists ( Method m | m = this .getMethod ( ) |
33
33
m .getDeclaringType ( ) instanceof TypeFileSystem and
@@ -39,7 +39,7 @@ class FileSystemGetPath extends PathCreation, MethodAccess {
39
39
}
40
40
41
41
/** Models the `new java.io.File(...)` constructor. */
42
- class FileCreation extends PathCreation , ClassInstanceExpr {
42
+ private class FileCreation extends PathCreation , ClassInstanceExpr {
43
43
FileCreation ( ) { this .getConstructedType ( ) instanceof TypeFile }
44
44
45
45
override Expr getAnInput ( ) {
@@ -50,7 +50,7 @@ class FileCreation extends PathCreation, ClassInstanceExpr {
50
50
}
51
51
52
52
/** Models the `java.nio.file.Path.resolveSibling` method. */
53
- class PathResolveSiblingCreation extends PathCreation , MethodAccess {
53
+ private class PathResolveSiblingCreation extends PathCreation , MethodAccess {
54
54
PathResolveSiblingCreation ( ) {
55
55
exists ( Method m | m = this .getMethod ( ) |
56
56
m .getDeclaringType ( ) instanceof TypePath and
@@ -66,7 +66,7 @@ class PathResolveSiblingCreation extends PathCreation, MethodAccess {
66
66
}
67
67
68
68
/** Models the `java.nio.file.Path.resolve` method. */
69
- class PathResolveCreation extends PathCreation , MethodAccess {
69
+ private class PathResolveCreation extends PathCreation , MethodAccess {
70
70
PathResolveCreation ( ) {
71
71
exists ( Method m | m = this .getMethod ( ) |
72
72
m .getDeclaringType ( ) instanceof TypePath and
@@ -82,7 +82,7 @@ class PathResolveCreation extends PathCreation, MethodAccess {
82
82
}
83
83
84
84
/** Models the `java.nio.file.Path.of` method. */
85
- class PathOfCreation extends PathCreation , MethodAccess {
85
+ private class PathOfCreation extends PathCreation , MethodAccess {
86
86
PathOfCreation ( ) {
87
87
exists ( Method m | m = this .getMethod ( ) |
88
88
m .getDeclaringType ( ) instanceof TypePath and
@@ -94,7 +94,7 @@ class PathOfCreation extends PathCreation, MethodAccess {
94
94
}
95
95
96
96
/** Models the `new java.io.FileWriter(...)` constructor. */
97
- class FileWriterCreation extends PathCreation , ClassInstanceExpr {
97
+ private class FileWriterCreation extends PathCreation , ClassInstanceExpr {
98
98
FileWriterCreation ( ) { this .getConstructedType ( ) .hasQualifiedName ( "java.io" , "FileWriter" ) }
99
99
100
100
override Expr getAnInput ( ) {
@@ -105,7 +105,7 @@ class FileWriterCreation extends PathCreation, ClassInstanceExpr {
105
105
}
106
106
107
107
/** Models the `new java.io.FileReader(...)` constructor. */
108
- class FileReaderCreation extends PathCreation , ClassInstanceExpr {
108
+ private class FileReaderCreation extends PathCreation , ClassInstanceExpr {
109
109
FileReaderCreation ( ) { this .getConstructedType ( ) .hasQualifiedName ( "java.io" , "FileReader" ) }
110
110
111
111
override Expr getAnInput ( ) {
@@ -116,7 +116,7 @@ class FileReaderCreation extends PathCreation, ClassInstanceExpr {
116
116
}
117
117
118
118
/** Models the `new java.io.FileInputStream(...)` constructor. */
119
- class FileInputStreamCreation extends PathCreation , ClassInstanceExpr {
119
+ private class FileInputStreamCreation extends PathCreation , ClassInstanceExpr {
120
120
FileInputStreamCreation ( ) {
121
121
this .getConstructedType ( ) .hasQualifiedName ( "java.io" , "FileInputStream" )
122
122
}
@@ -129,7 +129,7 @@ class FileInputStreamCreation extends PathCreation, ClassInstanceExpr {
129
129
}
130
130
131
131
/** Models the `new java.io.FileOutputStream(...)` constructor. */
132
- class FileOutputStreamCreation extends PathCreation , ClassInstanceExpr {
132
+ private class FileOutputStreamCreation extends PathCreation , ClassInstanceExpr {
133
133
FileOutputStreamCreation ( ) {
134
134
this .getConstructedType ( ) .hasQualifiedName ( "java.io" , "FileOutputStream" )
135
135
}
0 commit comments