Class BufferFactoryWrapper
java.lang.Object
org.aspectj.org.eclipse.jdt.core.WorkingCopyOwner
org.aspectj.org.eclipse.jdt.internal.core.BufferFactoryWrapper
Deprecated.
Wraps an IBufferFactory.
TODO remove when removing IBufferFactory
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic WorkingCopyOwnercreate(IBufferFactory factory) Deprecated.createBuffer(ICompilationUnit workingCopy) Deprecated.Creates a buffer for the given working copy.booleanDeprecated.inthashCode()Deprecated.toString()Deprecated.Methods inherited from class WorkingCopyOwner
findSource, getProblemRequestor, isPackage, newWorkingCopy, newWorkingCopy, setPrimaryBufferProviderModifier and TypeMethodDescriptionfindSource(String typeName, String packageName) Returns the source of the compilation unit that defines the given type in the given package, ornullif the type is unknown to this owner.getProblemRequestor(ICompilationUnit workingCopy) Returns the problem requestor used by a working copy of this working copy owner.booleanReturns whether the given package segments represent a package.final ICompilationUnitnewWorkingCopy(String name, IClasspathEntry[] classpath, IProblemRequestor problemRequestor, org.eclipse.core.runtime.IProgressMonitor monitor) Deprecated.final ICompilationUnitnewWorkingCopy(String name, IClasspathEntry[] classpath, org.eclipse.core.runtime.IProgressMonitor monitor) Returns a new working copy with the given name using this working copy owner to create its buffer.static voidsetPrimaryBufferProvider(WorkingCopyOwner primaryBufferProvider) Sets the buffer provider of the primary working copy owner.
-
Field Details
-
factory
Deprecated.
-
-
Method Details
-
create
Deprecated. -
createBuffer
Deprecated.Description copied from class:WorkingCopyOwnerCreates a buffer for the given working copy. The new buffer will be initialized with the contents of the underlying file if and only if it was not already initialized by the compilation owner (a buffer is uninitialized if its content isnull).Note: This buffer will be associated to the working copy for its entire life-cycle. Another working copy on same unit but owned by a different owner would not share the same buffer unless its owner decided to implement such a sharing behaviour.
- Overrides:
createBufferin classWorkingCopyOwner- Parameters:
workingCopy- the working copy of the buffer- Returns:
- IBuffer the created buffer for the given working copy
- See Also:
-
equals
-
hashCode
-
toString
-
WorkingCopyOwner.newWorkingCopy(String, IClasspathEntry[], IProgressMonitor)instead.