private boolean canAssignClassContext() {
		// We cannot have duplicate field names.
		Set<String> names = new HashSet<>();
		for (FieldMember field : currentClass.getFields()) {
			if (!names.add(field.getName()))
				return false;
		}
		return true;
	}
Checks for things in the {@link #currentClass} which would prevent its use in the expression compiler as context.

@return {@code true} when the current class can be used as context in the expression compiler.
recaf-ui/src/main/java/software/coley/recaf/ui/pane/editing/assembler/JvmExpressionCompilerPane.java