Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » IClassFile 's getWorkingCopy method with null as copy owner
IClassFile 's getWorkingCopy method with null as copy owner [message #257566] Fri, 21 November 2008 11:17
Eclipse UserFriend
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?
Previous Topic:what is the primary compilation unit
Next Topic:Build error of jar file : Resource is out of sync with the file system
Goto Forum:
  


Current Time: Mon Apr 21 05:09:05 EDT 2025

Powered by FUDForum. Page generated in 0.03067 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top