File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
edu.cuny.hunter.streamrefactoring.core/src/edu/cuny/hunter/streamrefactoring/core/safe Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change 20
20
public class Util {
21
21
22
22
/**
23
- * {@link Atom} corresponding the the stream() method .
23
+ * The {@link TypeName} of the type {@link java.util.Arrays} .
24
24
*/
25
- private static final Atom STREAM_METHOD_NAME_ATOM = Atom . findOrCreateAsciiAtom ( "stream " );
25
+ private static final TypeName ARRAYS_TYPE_NAME = TypeName . string2TypeName ( "Ljava/util/Arrays " );
26
26
27
27
/**
28
- * The {@link TypeName} of the type {@link java.util.Arrays} .
28
+ * {@link Atom} corresponding the the stream() method .
29
29
*/
30
- private static final TypeName ARRAYS_TYPE_NAME = TypeName . string2TypeName ( "Ljava/util/Arrays " );
30
+ private static final Atom STREAM_METHOD_NAME_ATOM = Atom . findOrCreateAsciiAtom ( "stream " );
31
31
32
32
/**
33
33
* The {@link TypeName} for the type {@link java.util.stream.StreamSupport}.
34
34
*/
35
35
private static final TypeName STREAM_SUPPORT_TYPE_NAME = TypeName
36
36
.string2TypeName ("Ljava/util/stream/StreamSupport" );
37
37
38
- private Util () {
39
- }
40
-
41
38
/**
42
39
* True iff the given {@link InstanceKey} corresponds with the given
43
40
* {@link SSAInvokeInstruction} in the given {@link CallGraph}. In other words,
44
41
* the result is true iff the instruction is used to create the instance.
45
- *
42
+ *
46
43
* @param instanceKey
47
44
* An instance in question.
48
45
* @param instruction
@@ -108,4 +105,7 @@ else if (callSiteReference.getProgramCounter() == instructionCallSite.getProgram
108
105
}
109
106
return false ;
110
107
}
108
+
109
+ private Util () {
110
+ }
111
111
}
You can’t perform that action at this time.
0 commit comments