I'm working on a library and I would like to have the class Node. Most of the times it works fine but sometimes it gives the error Node cannot be resolved to a type on every place where I use a node.
The strange thing is that if I rename the class to DNode, for example, and rename every Node to DNode and then change everything back again to just Node, it's like the way it was before but the errors saying Node cannot be resolved to a type are gone (until a certain time).
Compiling is also no problem btw, it seems to be an Eclipse bug or something.
I know there is this Node class, but I don't import it so I can't see why that would form a problem.
I hope someone can help.
I've seen similar behaviour in the past and know of two possible reasons:
Project menu and selecting Clean. This isn't a proper solution, but strikes me as quicker than your Node->DNode->Node workaround.If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With