MCPcopy Create free account
hub / github.com/LFYSec/MScan / holdsLong

Method holdsLong

src/main/java/pascal/taie/ir/exp/Exps.java:56–58  ·  view source on GitHub ↗

@return true if exp can hold long values.

(Exp exp)

Source from the content-addressed store, hash-verified

54 * @return {@code true} if {@code exp} can hold long values.
55 */
56 public static boolean holdsLong(Exp exp) {
57 return exp.getType().equals(PrimitiveType.LONG);
58 }
59
60 /**
61 * @return {@code true} if {@code exp} can hold int or long values.

Callers 2

validateMethod · 0.95
holdsIntegerMethod · 0.95

Calls 2

getTypeMethod · 0.65
equalsMethod · 0.45

Tested by

no test coverage detected