public class ParameterContextInformation extends java.lang.Object implements ISmartContextInformation
ProposalContextInformation
 and friends.JavaParameterListValidator| Constructor and Description | 
|---|
ParameterContextInformation(ParameterData data,
                           java.lang.String contextDisplayString,
                           int parameterListOffset,
                           int initialCarretOffset)  | 
| Modifier and Type | Method and Description | 
|---|---|
protected int | 
advance(java.lang.String code,
       int length,
       int pos,
       char left,
       char right)  | 
protected boolean | 
checkGenericsHeuristic(org.eclipse.jface.text.IDocument document,
                      int end,
                      int bound)  | 
protected int[] | 
computeCommaPositions(java.lang.String code)  | 
boolean | 
equals(java.lang.Object object)  | 
protected int | 
getCharCount(org.eclipse.jface.text.IDocument document,
            int start,
            int end,
            java.lang.String increments,
            java.lang.String decrements,
            boolean considerNesting)  | 
protected int | 
getCommentEnd(org.eclipse.jface.text.IDocument d,
             int pos,
             int end)  | 
java.lang.String | 
getContextDisplayString()  | 
int | 
getContextInformationPosition()  | 
org.eclipse.swt.graphics.Image | 
getImage()  | 
java.lang.String | 
getInformationDisplayString()  | 
protected int | 
getStringEnd(org.eclipse.jface.text.IDocument d,
            int pos,
            int end,
            char ch)  | 
int | 
hashCode()  | 
java.util.List<java.lang.String> | 
internalGetInformationDisplayString()  | 
boolean | 
isContextInformationValid(org.eclipse.jface.text.ITextViewer viewer,
                         int position)  | 
boolean | 
updatePresentation(org.eclipse.jface.text.ITextViewer viewer,
                  int position,
                  org.eclipse.jface.text.TextPresentation presentation)  | 
public ParameterContextInformation(ParameterData data, java.lang.String contextDisplayString, int parameterListOffset, int initialCarretOffset)
public boolean equals(java.lang.Object object)
equals in interface org.eclipse.jface.text.contentassist.IContextInformationequals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String getInformationDisplayString()
getInformationDisplayString in interface org.eclipse.jface.text.contentassist.IContextInformationpublic java.util.List<java.lang.String> internalGetInformationDisplayString()
public org.eclipse.swt.graphics.Image getImage()
getImage in interface org.eclipse.jface.text.contentassist.IContextInformationpublic java.lang.String getContextDisplayString()
getContextDisplayString in interface org.eclipse.jface.text.contentassist.IContextInformationpublic int getContextInformationPosition()
getContextInformationPosition in interface org.eclipse.jface.text.contentassist.IContextInformationExtensionpublic boolean isContextInformationValid(org.eclipse.jface.text.ITextViewer viewer,
                                int position)
isContextInformationValid in interface ISmartContextInformationIContextInformationValidator.isContextInformationValid(int)public boolean updatePresentation(org.eclipse.jface.text.ITextViewer viewer,
                         int position,
                         org.eclipse.jface.text.TextPresentation presentation)
updatePresentation in interface ISmartContextInformationIContextInformationPresenter.updatePresentation(int, TextPresentation)protected int[] computeCommaPositions(java.lang.String code)
protected int advance(java.lang.String code,
          int length,
          int pos,
          char left,
          char right)
protected int getCharCount(org.eclipse.jface.text.IDocument document,
               int start,
               int end,
               java.lang.String increments,
               java.lang.String decrements,
               boolean considerNesting)
                    throws org.eclipse.jface.text.BadLocationException
org.eclipse.jface.text.BadLocationExceptionprotected int getCommentEnd(org.eclipse.jface.text.IDocument d,
                int pos,
                int end)
                     throws org.eclipse.jface.text.BadLocationException
org.eclipse.jface.text.BadLocationExceptionprotected int getStringEnd(org.eclipse.jface.text.IDocument d,
               int pos,
               int end,
               char ch)
                    throws org.eclipse.jface.text.BadLocationException
org.eclipse.jface.text.BadLocationExceptionprotected boolean checkGenericsHeuristic(org.eclipse.jface.text.IDocument document,
                             int end,
                             int bound)