# Uses of Class
org.eclipse.jdt.core.CompletionProposal

Packages that use CompletionProposal
Package
Description
org.eclipse.jdt.core
The Java model is the set of classes that model the objects associated with creating, editing, and building a Java program.
org.eclipse.jdt.ui.text.java
Application programming interfaces for interaction with the Eclipse Java User Interface.

## Uses of CompletionProposal in org.eclipse.jdt.core

Methods in org.eclipse.jdt.core that return CompletionProposal
Modifier and Type
Method
Description
`static CompletionProposal`
CompletionProposal.`create(int kind, int completionOffset)`
Creates a basic completion proposal.
`CompletionProposal[]`
CompletionProposal.`getRequiredProposals()`
Returns the required completion proposals.
Methods in org.eclipse.jdt.core with parameters of type CompletionProposal
Modifier and Type
Method
Description
`abstract void`
CompletionRequestor.`accept(CompletionProposal proposal)`
Proposes a completion.
`void`
CompletionProposal.`setRequiredProposals(CompletionProposal[] proposals)`
Sets the list of required completion proposals, or `null` if none.

## Uses of CompletionProposal in org.eclipse.jdt.ui.text.java

Methods in org.eclipse.jdt.ui.text.java with parameters of type CompletionProposal
Modifier and Type
Method
Description
`void`
CompletionProposalCollector.`accept(CompletionProposal proposal)`
Proposes a completion.
`protected int`
CompletionProposalCollector.`computeRelevance(CompletionProposal proposal)`
Computes the relevance for a given `CompletionProposal`.
`ImageDescriptor`
CompletionProposalLabelProvider.`createImageDescriptor(CompletionProposal proposal)`
Creates and returns a decorated image descriptor for a completion proposal.
`protected IJavaCompletionProposal`
CompletionProposalCollector.`createJavaCompletionProposal(CompletionProposal proposal)`
Creates a new java completion proposal from a core proposal.
`String`
CompletionProposalLabelProvider.`createLabel(CompletionProposal proposal)`
Creates the display label for a given `CompletionProposal`.
`protected final IContextInformation`
CompletionProposalCollector.`createMethodContextInformation(CompletionProposal methodProposal)`
Creates the context information for a given method reference proposal.
`String`
CompletionProposalLabelProvider.`createParameterList(CompletionProposal proposal)`
Creates and returns a parameter list of the given method or type proposal suitable for display.
`StyledString`
CompletionProposalLabelProvider.`createStyledLabel(CompletionProposal proposal)`
Creates a display label with styles for a given `CompletionProposal`.
`protected final char[]`
CompletionProposalCollector.`getDeclaringType(CompletionProposal proposal)`
Returns the type signature of the declaring type of a `CompletionProposal`, or `null` for proposals that do not have a declaring type.
`protected final int`
CompletionProposalCollector.`getLength(CompletionProposal proposal)`
Returns the replacement length of a given completion proposal.
`protected boolean`
CompletionProposalCollector.`isFiltered(CompletionProposal proposal)`
Returns `true` if `proposal` is filtered, e.g.