userCodeHandler should be set using
DeferredCompletionFailureHandler#setHandler, and the original handler
should be restored when the control returns back to javac.
Implementations of API methods should use Symbol#apiComplete() instead of
Symbol#complete, as the apiComplete method will invoke
DeferredCompletionFailureHandler#handleAPICompletionFailure, which will
catch the CompletionFailure and will either rethrow it or skip it, depending on
the context.
| Modifier and Type | Class and Description |
|---|---|
| private class | |
| private static class | |
| public static interface |
| Modifier and Type | Field and Description |
|---|---|
| protected static final Context. | |
| private DeferredCompletionFailureHandler. | |
| public final DeferredCompletionFailureHandler. | |
| public final DeferredCompletionFailureHandler. | |
| public final DeferredCompletionFailureHandler. |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public void | |
| public static DeferredCompletionFailureHandler | |
| public boolean | |
| public DeferredCompletionFailureHandler. |
| deferredCompletionFailureHandlerKey | back to summary |
|---|---|
| protected static final Context. | |
| handler | back to summary |
|---|---|
| private DeferredCompletionFailureHandler. | |
| javacCodeHandler | back to summary |
|---|---|
| public final DeferredCompletionFailureHandler. | |
| speculativeCodeHandler | back to summary |
|---|---|
| public final DeferredCompletionFailureHandler. | |
| userCodeHandler | back to summary |
|---|---|
| public final DeferredCompletionFailureHandler. | |
| DeferredCompletionFailureHandler | back to summary |
|---|---|
protected DeferredCompletionFailureHandler(Context context)
| |
| classSymbolCompleteFailed | back to summary |
|---|---|
| public void classSymbolCompleteFailed(Symbol. | |
| classSymbolRemoved | back to summary |
|---|---|
| public void classSymbolRemoved(Symbol. | |
| handleAPICompletionFailure | back to summary |
|---|---|
| public void handleAPICompletionFailure(Symbol. | |
| instance | back to summary |
|---|---|
| public static DeferredCompletionFailureHandler instance(Context context) | |
| isDeferredCompleter | back to summary |
|---|---|
| public boolean isDeferredCompleter(Symbol. | |
| setHandler | back to summary |
|---|---|
| public DeferredCompletionFailureHandler. | |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void |
| origCompleter | back to summary |
|---|---|
| private final Symbol. | |
| DeferredCompleter | back to summary |
|---|---|
| public DeferredCompleter(Symbol. | |
| complete | back to summary |
|---|---|
| public void complete(Symbol sym) throws CompletionFailure Implements com.
| |
| Modifier and Type | Field and Description |
|---|---|
| public Symbol. | |
| public Kinds. | |
| public Scope. | |
| public final Symbol. | |
| public Type |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void |
| completer | back to summary |
|---|---|
| public Symbol. | |
| kind | back to summary |
|---|---|
| public Kinds. | |
| members | back to summary |
|---|---|
| public Scope. | |
| sym | back to summary |
|---|---|
| public final Symbol. | |
| type | back to summary |
|---|---|
| public Type type | |
| FlipSymbolDescription | back to summary |
|---|---|
| public FlipSymbolDescription(Symbol. | |
| flip | back to summary |
|---|---|
| public void flip() | |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public void | |
| public void | |
| public void |
| classSymbolCompleteFailed | back to summary |
|---|---|
| public void classSymbolCompleteFailed(Symbol. | |
| classSymbolRemoved | back to summary |
|---|---|
| public void classSymbolRemoved(Symbol. | |
| handleAPICompletionFailure | back to summary |
|---|---|
| public void handleAPICompletionFailure(Symbol. | |
| install | back to summary |
|---|---|
| public void install() | |
| uninstall | back to summary |
|---|---|
| public void uninstall() | |