|Type reference problem [message #756923]
||Tue, 15 November 2011 14:45
| Hallvard Traetteberg
Registered: July 2009
Location: Trondheim, Norway
I'm seeing a strange problem with JvmTypes. I reference Java types,
methods, and method parameters, and the method return value and
parameter types are usually null. This results in unresolved references.
The strange thing is that once I "touch" the offending line, e.g. by
typing a meaningless space by the error, the type is non-null and the
error marker on that line/reference goes away. If I type a similarly
meaningless space by one of the other errors (of the same kind), the
first error marker reappears and the other error vanishes.
Somehow, it seems the the re-parse is done in a context where the types
are available, but only close to the re-parse. I guess this can happen
with incremental re-parse, but I have no idea what the problem can be.
Obviously, I want the types to be available all the time...
Powered by FUDForum
. Page generated in 0.01572 seconds