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 Column | Renames or constrains an @Entity field’s column. |
annotation DbTransient | Excludes an @Entity field from the generated table. |
annotation Entity | Marks a POJO or PropertyBusinessObject as a persistent entity, in the app and on the Codename One backend alike. |
annotation Id | Designates the primary-key field of an @Entity. |
annotation JsonAdapter | Hands a type’s JSON form to the application’s own JsonTypeAdapter. |
annotation JsonCreator | The constructor, or static factory method, that builds an immutable class from JSON. |
annotation JsonFormat | Picks the JSON shape a date or number field is written in. |
annotation JsonIgnore | Excludes a @Mapped field from the JSON projection. |
annotation JsonOmitNull | Leaves a member that is null out of the JSON instead of writing null. |
annotation JsonProperty | Names a field in the JSON form, and says how a body may spell it. |
annotation JsonStrict | Refuses a body that carries a member this class does not declare. |
interface JsonTypeAdapter | Converts a value to and from its JSON form, for a field or class marked JsonAdapter. |