@Test public void withPriority_whenPriorityNotChanged_shouldReturnEqualContext() { assertThat(CTX.withPriority(Priority.DEFAULT)).isEqualTo(CTX); }
@RestrictTo(RestrictTo.Scope.LIBRARY) public TransportContext withPriority(Priority priority) { return builder() .setBackendName(getBackendName()) .setPriority(priority) .setExtras(getExtras()) .build(); }
TransportContext { @RestrictTo(RestrictTo.Scope.LIBRARY) public TransportContext withPriority(Priority priority) { return builder() .setBackendName(getBackendName()) .setPriority(priority) .setExtras(getExtras()) .build(); } }
TransportContext { @RestrictTo(RestrictTo.Scope.LIBRARY) public TransportContext withPriority(Priority priority) { return builder() .setBackendName(getBackendName()) .setPriority(priority) .setExtras(getExtras()) .build(); }  }
TransportContext { @RestrictTo(RestrictTo.Scope.LIBRARY) public TransportContext withPriority(Priority priority) { return builder() .setBackendName(getBackendName()) .setPriority(priority) .setExtras(getExtras()) .build(); }  abstract String getBackendName(); @Nullable abstract byte[] getExtras(); @RestrictTo(RestrictTo.Scope.LIBRARY_GROUP) abstract Priority getPriority(); @Override final String toString(); static Builder builder(); @RestrictTo(RestrictTo.Scope.LIBRARY) TransportContext withPriority(Priority priority); }
TransportContext { @RestrictTo(RestrictTo.Scope.LIBRARY) public TransportContext withPriority(Priority priority) { return builder() .setBackendName(getBackendName()) .setPriority(priority) .setExtras(getExtras()) .build(); }  abstract String getBackendName(); @Nullable abstract byte[] getExtras(); @RestrictTo(RestrictTo.Scope.LIBRARY_GROUP) abstract Priority getPriority(); @Override final String toString(); static Builder builder(); @RestrictTo(RestrictTo.Scope.LIBRARY) TransportContext withPriority(Priority priority);  }