org.eclipse.jpt.core.utility.jdt
Interface AnnotationEditFormatter


public interface AnnotationEditFormatter

Provisional API: This interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves. This interface is not intended to be implemented by clients.


Method Summary
 void format(org.eclipse.jface.text.IDocument doc, org.eclipse.text.edits.TextEdit editTree)
          Review the specified edits and format the specified document as needed.
 

Method Detail

format

void format(org.eclipse.jface.text.IDocument doc,
            org.eclipse.text.edits.TextEdit editTree)
            throws org.eclipse.text.edits.MalformedTreeException,
                   org.eclipse.jface.text.BadLocationException
Review the specified edits and format the specified document as needed.

Throws:
org.eclipse.text.edits.MalformedTreeException
org.eclipse.jface.text.BadLocationException