Reputation: 21
I have made a java function genImage(List<String lines) which is located in class vis. I am trying to import it into my rascal code, but it won't work. This is the last of my efforts to import it:
@javaClass{visualization.vis}
java void genImage(list[str] lines);
The error I get:
Cannot link method visualization.vis because: visualization.vis.(io.usethesource.vallang.IValueFactory) Advice: |http://tutor.rascal-mpl.org/Errors/Static/JavaMethodLink/JavaMethodLink.html%7C
Upvotes: 1
Views: 92
Reputation: 6696
The @javaClass
tag must point to a fully qualified classname, including the package and the class. It seems it's the class you are missing, right?
Upvotes: 0