Class JsrParamIdText

All Implemented Interfaces:
IJsrParamId

public class JsrParamIdText extends JsrParamIdOnMessage implements IJsrParamId
Param handling for static Text @OnMessage parameters
  • Field Details

  • Constructor Details

    • JsrParamIdText

      public JsrParamIdText()
  • Method Details

    • isMessageRoleAssigned

      private boolean isMessageRoleAssigned(JsrCallable callable)
    • process

      public boolean process(Param param, JsrCallable callable) throws InvalidSignatureException
      Description copied from interface: IJsrParamId
      Process the potential parameter.

      If known to be a valid parameter, bind a role to it.

      Specified by:
      process in interface IJsrParamId
      Overrides:
      process in class JsrParamIdBase
      Parameters:
      param - the parameter being processed
      callable - the callable this param belongs to (used to obtain extra state about the callable that might impact decision making)
      Returns:
      true if processed, false if not processed
      Throws:
      InvalidSignatureException - if a violation of the signature rules occurred