public AccessInfo changeVisibility(int flag) {
		int currentVisFlags = accFlags & VISIBILITY_FLAGS;
		if (currentVisFlags == flag) {
			return this;
		}
		int unsetAllVisFlags = accFlags & ~VISIBILITY_FLAGS;
		return new AccessInfo(unsetAllVisFlags | flag, type);
	}
@Test
	public void changeVisibilityNoOp() {
		AccessInfo accessInfo = new AccessInfo(AccessFlags.PUBLIC, AFType.METHOD);
		AccessInfo result = accessInfo.changeVisibility(AccessFlags.PUBLIC);
		assertThat(result).isSameAs(accessInfo);
	}