### Godot version

v4.0.beta14.official [28a24639c]

### System information

MacOS 12.6.2

### Issue description

Beta 14 throws an error for custom `@icon`, e.g.
```
class_name StateMachine extends Node

@icon("res://assets/icons/state_machine.svg")
```
> Annotation "`@icon`" is not allowed in this level.

In beta 13 and before that worked fine.

### Steps to reproduce

1. Add a custom `@icon` in a custom node script.
2. Error message: Annotation "`@icon`" is not allowed in this level.

There are possibly other errors because a `class_name` node is now not recognized if extended by other classes, but they should resolve if `@icon` is removed.

### Minimal reproduction project

N/A
return false;
	}
	variable->exported = true;
	variable->export_info.type = t_type;
	variable->export_info.hint = t_hint;
	String hint_string;
	for (int i = 0; i < p_annotation->resolved_arguments.size(); i++) {
		if (i > 0) {
			hint_string += ",";
		}
		hint_string += String(p_annotation->resolved_arguments[i]);
	}
	variable->export_info.hint_string = hint_string;
	
	DataType export_type = variable->get_datatype();
	if (p_annotation->name == SNAME("@export_range")) {
		if (export_type.builtin_type == Variant::INT) {
			variable->export_info.type = Variant::INT;
		}
	}
	if (p_annotation->name == SNAME("@export_multiline")) {
		if (export_type.builtin_type == Variant::ARRAY && export_type.has_container_element_type()) {
			DataType inner_type = export_type.get_container_element_type();
			if (inner_type.builtin_type != Variant::STRING) {
				push_error(vformat(R"("%s" annotation on arrays requires a string type but type "%s" was given instead.)", p_annotation->name.operator String(), inner_type.to_string()), variable);
				return false;
			}
			String hint_prefix = itos(inner_type.builtin_type) + "/" + itos(variable->export_info.hint);
			variable->export_info.hint = PROPERTY_HINT_TYPE_STRING;
			variable->export_info.hint_string = hint_prefix + ":" + variable->export_info.hint_string;