|
Eclipse JDT Release 3.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Interface to be implemented by contributors to the extension point
org.eclipse.jdt.ui.quickFixProcessors.
| Method Summary | |
IJavaCompletionProposal[] |
getCorrections(IInvocationContext context,
IProblemLocation[] locations)
Collects corrections or code manipulations for the given context. |
boolean |
hasCorrections(ICompilationUnit unit,
int problemId)
Returns true if the processor has proposals for the given problem. |
| Method Detail |
public boolean hasCorrections(ICompilationUnit unit,
int problemId)
true if the processor has proposals for the given problem. This test should be an
optimistic guess and be very cheap.
unit - the compilation unitproblemId - the problem Id
true if the processor has proposals for the given problem
public IJavaCompletionProposal[] getCorrections(IInvocationContext context,
IProblemLocation[] locations)
throws org.eclipse.core.runtime.CoreException
context - Defines current compilation unit, position and a shared ASTlocations - Problems are the current location.
null if no proposals
can be offered
org.eclipse.core.runtime.CoreException - CoreException can be thrown if the operation fails
|
Eclipse JDT Release 3.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||