You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to create a compilation unit from a string containing Java code and retrieve its package in order to get its (relative) file system path. I know that I could parse the file by my own, search for package keyword (if any) and translate the package declaration to a path but maybe Spoon provides such a features already.
The text was updated successfully, but these errors were encountered:
I would like to create a compilation unit from a string containing Java code and retrieve its package in order to get its (relative) file system path. I know that I could parse the file by my own, search for
package
keyword (if any) and translate the package declaration to a path but maybe Spoon provides such a features already.The text was updated successfully, but these errors were encountered: