preferredConstructors property

List<Constructor> preferredConstructors
final

List of preferred constructors for autowiring.

Creates a new language range.

Parameters:

  • range: The language range string (e.g., "en", "en-US", "en-*")
  • weight: Optional weight for preference matching (0.0 to 1.0, default: 1.0)

Throws InvalidFormatException if range is invalid.

Implementation

final List<Constructor> preferredConstructors = [];