Hi there,

I'm using semantic to parse code written in java, and i have a problem.

When i open a file that has java code and then pass the buffer that was created (when i opened the file) to:
(semantic-find-tags-by-type "class"  <created-buffer>)

everything works fine.


But when i create manually a new buffer using 'generate-new-buffer-name', and then pass the contents from the file (having the
java code) to this newly created buffer (using 'insert-file-contents'), and then pass the manually created buffer to  '(semantic-find-tags-by-type "class"  <created-buffer>)'
it doesn't work.

Can somebody tell me why this happen?

Best regards,
Henda