Field annotation


For convenience, a number of field level annotations can be used to ensure your Java classes have access to useful runtime objects. Initially only a small number of field annotations will be made available but requests for others are always welcomed.

Current annotations available:

  • @B2TransformerContext -> TransformerContext
  • @B2User -> B2boxUser


public B2boxUser user

public class HelloWorld {

    public HelloWorld(){
        // My no-args constructor

    public String Say(){
        return "Hello " + user.getUsername();