Package com.codename1.annotations


package com.codename1.annotations
Codename One specific Java annotations used by the build pipeline and the ParparVM bytecode translator to mark methods and classes for special treatment -- e.g. opting individual call sites out of debug info or null/array-bounds checks, declaring asynchronous methods, or forcing a class to be treated as concrete during devirtualization.
  • Class
    Description
    Renames or constrains an @Entity field's column.
    Excludes an @Entity field from the generated table.
    Marks a POJO or PropertyBusinessObject as a persistent entity, in the app and on the Codename One backend alike.
    Designates the primary-key field of an @Entity.
    Hands a type's JSON form to the application's own JsonTypeAdapter.
    The constructor, or static factory method, that builds an immutable class from JSON.
    Picks the JSON shape a date or number field is written in.
    A JSON shape for a scalar value.
    Excludes a @Mapped field from the JSON projection.
    Leaves a member that is null out of the JSON instead of writing null.
    Names a field in the JSON form, and says how a body may spell it.
    Refuses a body that carries a member this class does not declare.
    Converts a value to and from its JSON form, for a field or class marked JsonAdapter.