[
http://jira.jboss.com/jira/browse/JBIDE-1180?page=comments#action_12406721 ]
Max Andersen commented on JBIDE-1180:
-------------------------------------
what i do know is that reading the full source file manually directly from the filesystem
can't be the right way to do it.
The reason i did it like that in hibernate was because it was how the APT processor does
it to validate annotations.
Consider using ICompilationParticipant when validating java
-----------------------------------------------------------
Key: JBIDE-1180
URL:
http://jira.jboss.com/jira/browse/JBIDE-1180
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: Seam
Reporter: Max Andersen
Fix For: LATER
I noticed that our seamvalidator reads each .java file into memory before validating; it
must be much more efficient to use ICompliationParticipant to validate these things since
then we will just use the already existing representation inside eclipse and we can also
limit the checks to be in only relevant strings etc.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira