IClassFile 's getWorkingCopy method with null as copy owner [message #257566] |
Fri, 21 November 2008 11:17 |
Eclipse User |
|
|
|
Hi,
In the api desc of IClassFile:
public ICompilationUnit getWorkingCopy(WorkingCopyOwner owner,
IProgressMonitor monitor)
throws JavaModelException
...........
The buffer will be automatically initialized with the source of the class
file upon creation.
.............
Parameters:
owner - the owner that creates a buffer that is used to get the content of
the working copy or null if the primary owner should be used
-----------------------------------------------------
so if i pass the null as WorkingCopyOwner, what happens, it will not
create the working copy or not initialize the buffer or return the primary
compilation unit?
|
|
|
Powered by
FUDForum. Page generated in 0.03067 seconds