Package valorless.annotations


package valorless.annotations
Annotations used throughout RareSpawns to document API contracts and usage.

This package provides compile-time/documentation annotations such as:

  • NotNull and Nullable to declare nullability contracts.
  • DoNotCall to mark APIs that must not be invoked by plugins.
  • TestOnly to indicate elements intended only for testing.
  • MarkedForRemoval to flag elements scheduled for removal in a future release.
These annotations aid static analysis and improve generated documentation; they typically have no runtime effect unless explicitly processed.
  • Annotation Interfaces
    Class
    Description
    Indicates that a method or constructor is not intended to be called directly.
    Indicates that the annotated element is intended for internal use within the codebase and should not be accessed or used by external code.
    Marks a field, method, or constructor as slated for removal in a future release.
    Indicates that a method parameter must not be null.
    Indicates that a method parameter can accept null values.
    Annotation indicating that the annotated element is intended for testing purposes only.