/** * Returns the current context of Redberry session. * * @return the current context of Redberry session. */ public static Context get() { return ContextManager.getCurrentContext(); } }
public NameDescriptor getNameDescriptor() { return ContextManager.getCurrentContext().getNameDescriptor(name); }