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

Method validate

src/main/java/pascal/taie/ir/exp/ArithmeticExp.java:60–65  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

58 }
59
60 @Override
61 protected void validate() {
62 assert (Exps.holdsInt(operand1) && Exps.holdsInt(operand2)) ||
63 operand1.getType().equals(operand2.getType());
64 assert Exps.holdsPrimitive(operand1);
65 }
66
67 @Override
68 public Op getOperator() {

Callers

nothing calls this directly

Calls 4

holdsIntMethod · 0.95
holdsPrimitiveMethod · 0.95
getTypeMethod · 0.65
equalsMethod · 0.45

Tested by

no test coverage detected