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.
-
ClassDescriptionRenames or constrains an
@Entityfield's column.Excludes an@Entityfield from the generated table.Marks a POJO orPropertyBusinessObjectas 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 ownJsonTypeAdapter.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@Mappedfield from the JSON projection.Leaves a member that isnullout of the JSON instead of writingnull.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 markedJsonAdapter.