clustering/common/src/main/java/org/jboss/as/clustering/controller/Operations.java
public static void setPathAddress(ModelNode operation, PathAddress address) {
        operation.get(ModelDescriptionConstants.OP_ADDR).set(address.toModelNode());
    }
public static void setPathAddress(ModelNode operation, PathAddress address) {
        operation.get(ModelDescriptionConstants.OP_ADDR).set(address.toModelNode());
    }
Sets the address of the specified operation.
@param operation an operation
@param address a path address