public static MethodDeclaration createCompareInts(
ModelFactory factory) {
SimpleName a = factory.newSimpleName("a");
SimpleName b = factory.newSimpleName("b");
Statement statement = factory.newIfStatement(
new ExpressionBuilder(factory, a)
.apply(InfixOperator.EQUALS, b)
.toExpression(),
new ExpressionBuilder(factory, Models.toLiteral(factory, 0))
.toReturnStatement(),