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

Method holdsInteger

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

@return true if exp can hold int or long values.

(Exp exp)

Source from the content-addressed store, hash-verified

61 * @return {@code true} if {@code exp} can hold int or long values.
62 */
63 public static boolean holdsInteger(Exp exp) {
64 return holdsInt(exp) || holdsLong(exp);
65 }
66
67 /**
68 * @return {@code true} if {@code exp} can hold reference values.

Callers 1

validateMethod · 0.95

Calls 2

holdsIntMethod · 0.95
holdsLongMethod · 0.95

Tested by

no test coverage detected