title: How to use Annotation Library to access robot framework keywords and variables in my java code?
body: <p>I have a Java class which extends robot framework's Annotation Library. I have a override method called runKeyword() and I want to use this method to access robot framework keywords and variables in my Java code.</p>
  
  <pre><code>@Override
  public Object runKeyword(String keywordName, Object[] args) {
          return super.runKeyword(keywordName, toStrings(args));
  }
  </code></pre>
  
  <p>I was thinking about using this method along with the Get Variables built in robot framework keyword to access my robot framework variables. How can I also access robot framework keywords using the runKeyword method.</p>
  
  <p>I am also confused about what the object[] args take in for the parameter in the method?</p>
  
  <p>Is this approach valid? Or is there a better way to go about this?</p>