|[solved] Access eclipse src classes in validator [message #837331]
||Thu, 05 April 2012 14:43
| Thomas Hergenröder
Registered: February 2012
In our xtext language we reference java classes.|
I want to create a validation that checks whether eclipse knows this class
In other words, ask eclipse whether there is a class of this qualified name (incl. package) in the workspace - in src or libraries.
Additionally (if possible) check if that class is not final so classes generated by the dsl can inherit from it.
I know of jvmType.
We decided not to use them so we could compile the whole project with maven.
If we used jvmtype, we had a cyclic dependency between the java-compiler and the dsl-compiler.
The above check would only be in eclipse not in maven.
Is there a way to get this information other than using jvmType?
[Updated on: Tue, 10 April 2012 09:41]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.04106 seconds