Client and backend. Every class listed here is shared: the same code is compiled into your app and into your server. The package's page in the client API lists all of it, including any classes that exist only in the app.

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.

Types

annotation ColumnRenames or constrains an @Entity field’s column.
annotation DbTransientExcludes an @Entity field from the generated table.
annotation EntityMarks a POJO or PropertyBusinessObject as a persistent entity, in the app and on the Codename One backend alike.
annotation IdDesignates the primary-key field of an @Entity.
annotation JsonAdapterHands a type’s JSON form to the application’s own JsonTypeAdapter.
annotation JsonCreatorThe constructor, or static factory method, that builds an immutable class from JSON.
annotation JsonFormatPicks the JSON shape a date or number field is written in.
annotation JsonIgnoreExcludes a @Mapped field from the JSON projection.
annotation JsonOmitNullLeaves a member that is null out of the JSON instead of writing null.
annotation JsonPropertyNames a field in the JSON form, and says how a body may spell it.
annotation JsonStrictRefuses a body that carries a member this class does not declare.
interface JsonTypeAdapterConverts a value to and from its JSON form, for a field or class marked JsonAdapter.