return AbstractGate.this.shouldRepairWire(instance, data);
}
};
}
if (key == ExpressionComputer.class) {
return new ExpressionComputer() {
public void computeExpression(Map<Location,Expression> expressionMap) {
GateAttributes attrs = (GateAttributes) instance.getAttributeSet();
int inputCount = attrs.inputs;
int negated = attrs.negated;