Am I able to create my own Yail Type within only the extension? For example:
public class YailTypeTest extends String {
public YailTypeTest () {
super();
}
}
And use it from a block like: public void YailTest(YailTypeTest test) {}
What would be your variable in the argument?
@SimpleFunction()
public YailTypeTest testBlock() {
return "String!";
}
Why?
So extensions can only allow input from their own outputs. This is so a random string or type can't just go into an argument that you wouldn't want to handle errors for.