org.aspectj.org.eclipse.jdt.internal.core
Class BufferFactoryWrapper

java.lang.Object
  extended by org.aspectj.org.eclipse.jdt.core.WorkingCopyOwner
      extended by org.aspectj.org.eclipse.jdt.internal.core.BufferFactoryWrapper

Deprecated.

public class BufferFactoryWrapper
extends WorkingCopyOwner

Wraps an IBufferFactory. TODO remove when removing IBufferFactory


Field Summary
 IBufferFactory factory
          Deprecated.  
 
Method Summary
static WorkingCopyOwner create(IBufferFactory factory)
          Deprecated.  
 IBuffer createBuffer(ICompilationUnit workingCopy)
          Deprecated. Creates a buffer for the given working copy.
 boolean equals(java.lang.Object obj)
          Deprecated.  
 int hashCode()
          Deprecated.  
 java.lang.String toString()
          Deprecated.  
 
Methods inherited from class org.aspectj.org.eclipse.jdt.core.WorkingCopyOwner
findSource, getProblemRequestor, isPackage, newWorkingCopy, newWorkingCopy, setPrimaryBufferProvider
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

factory

public IBufferFactory factory
Deprecated. 
Method Detail

create

public static WorkingCopyOwner create(IBufferFactory factory)
Deprecated. 

createBuffer

public IBuffer createBuffer(ICompilationUnit workingCopy)
Deprecated. 
Description copied from class: WorkingCopyOwner
Creates 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 is null).

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:
createBuffer in class WorkingCopyOwner
Parameters:
workingCopy - the working copy of the buffer
Returns:
IBuffer the created buffer for the given working copy
See Also:
IBuffer

equals

public boolean equals(java.lang.Object obj)
Deprecated. 
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Deprecated. 
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Deprecated. 
Overrides:
toString in class java.lang.Object