Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Clean up.
  • Loading branch information
khatchad committed Feb 6, 2018
commit 2f5b870773b94d79a69b8c0515bd18f8cacfb5ad
Original file line number Diff line number Diff line change
Expand Up @@ -20,29 +20,26 @@
public class Util {

/**
* {@link Atom} corresponding the the stream() method.
* The {@link TypeName} of the type {@link java.util.Arrays}.
*/
private static final Atom STREAM_METHOD_NAME_ATOM = Atom.findOrCreateAsciiAtom("stream");
private static final TypeName ARRAYS_TYPE_NAME = TypeName.string2TypeName("Ljava/util/Arrays");

/**
* The {@link TypeName} of the type {@link java.util.Arrays}.
* {@link Atom} corresponding the the stream() method.
*/
private static final TypeName ARRAYS_TYPE_NAME = TypeName.string2TypeName("Ljava/util/Arrays");
private static final Atom STREAM_METHOD_NAME_ATOM = Atom.findOrCreateAsciiAtom("stream");

/**
* The {@link TypeName} for the type {@link java.util.stream.StreamSupport}.
*/
private static final TypeName STREAM_SUPPORT_TYPE_NAME = TypeName
.string2TypeName("Ljava/util/stream/StreamSupport");

private Util() {
}

/**
* True iff the given {@link InstanceKey} corresponds with the given
* {@link SSAInvokeInstruction} in the given {@link CallGraph}. In other words,
* the result is true iff the instruction is used to create the instance.
*
*
* @param instanceKey
* An instance in question.
* @param instruction
Expand Down Expand Up @@ -108,4 +105,7 @@ else if (callSiteReference.getProgramCounter() == instructionCallSite.getProgram
}
return false;
}

private Util() {
}
}