Error Identifiers: attribute.*

Menu

← Back to all error identifiers

There are 13 error identifiers in the attribute.* group:

  • Abstract class cannot be used as an attribute.

  • Attribute class has a non-public constructor.

  • Attribute references a deprecated class.

  • Attribute references a deprecated class (deprecation-rules).

  • Enum cannot be used as an attribute class.

  • Interface cannot be used as an attribute class.

  • Attribute references an internal class.

  • Attribute class has no constructor but is used with arguments.

  • Non-repeatable attribute is applied more than once to the same target.

  • Class used as an attribute is not declared as an attribute class.

  • Attribute class does not exist.

  • Attribute is applied to a target it does not support.

  • Trait cannot be used as an attribute class because traits cannot be instantiated.