Backend API. Server-side code: this runs in a Codename One backend, not in the app on the device.

@Retention(CLASS) @Target({METHOD, TYPE})

public @interface DenyAll

Lets nobody call this method – or any public method of this class. On a class it is a closed default that PermitAll, PreAuthorize, Secured or RolesAllowed on a method opens.

Checked the way PreAuthorize is, self-calls and private methods included.