@Override
	public boolean equals(Object o) {
		if (this == o) return true;
		if (o == null || getClass() != o.getClass()) return false;

		AccessibleFields other = (AccessibleFields) o;

		if (privateFinalField != other.privateFinalField) return false;
		if (protectedField != other.protectedField) return false;
		if (publicField != other.publicField) return false;
		if (packageField != other.packageField) return false;

		return true;
	}
Dummy class to test existence of fields with varing degrees of access.
recaf-core/src/testFixtures/java/software/coley/recaf/test/dummy/AccessibleFields.java