# Package icyllis.modernui.annotation

package icyllis.modernui.annotation

- Related Packages
  Package
  Description
  icyllis.modernui
- Annotation Interfaces
  Class
  Description
  CallSuper
  Denotes that any overriding methods should invoke this method as well.
  ColorInt
  Denotes that the annotated element represents a packed color int, `0xAARRGGBB`.
  Dimension
  Denotes that a numeric parameter, field or method return value is expected to represent a dimension.
  Dimension.Unit
  FloatRange
  Denotes that the annotated element should be a float or double in the given range
  HalfFloat
  Denotes that the annotated element represents a half-precision floating point value.
  IntRange
  Denotes that the annotated element should be an int or long in the given range.
  MainThread
  Denotes that the annotated method should only be called on the main thread, the thread is used for handling events from the window system.
  Main thread can sometimes be the same thread as render thread.
  NonNull
  Denotes that a parameter, field or method return value can never be null.
  Nullable
  Denotes that a parameter, field or method return value can be null.
  Px
  Denotes that a numeric parameter, field or method return value is expected to represent a pixel dimension.
  RenderThread
  Denotes that the annotated method should only be called on the render thread, which has the 3D graphics context shared between windows.
  Render thread can sometimes be the same thread as main thread.
  Size
  Denotes that the annotated element should have a given size or length.
  UiThread
  Denotes that the annotated method or constructor should only be called on the UI thread.
  WorkerThread
  Denotes that the annotated method should only be called on a worker thread.