/** * Returns a signature of this type which can be presented to the user. * * @return a pretty signature for this type */ public String getPrettySignature() { return getPlainPrettySignature(); }
/** * Returns a signature of this type which can be presented to the user. * * @return a pretty signature for this type */ public String getPrettySignature() { return getPlainPrettySignature(); }
/** * Returns a signature of this type which can be presented to the user. * * @return a pretty signature for this type */ public String getPrettySignature() { return getPlainPrettySignature(); }
@Override protected String getPlainPrettySignature() { StringBuffer result= new StringBuffer(fElementType.getPlainPrettySignature()); for (int i= 0; i < fDimensions; i++) { result.append("[]"); //$NON-NLS-1$ } return result.toString(); }
@Override protected String getPlainPrettySignature() { StringBuffer result= new StringBuffer(fElementType.getPlainPrettySignature()); for (int i= 0; i < fDimensions; i++) { result.append("[]"); //$NON-NLS-1$ } return result.toString(); }
protected String getPlainPrettySignature() { StringBuffer result= new StringBuffer(fElementType.getPlainPrettySignature()); for (int i= 0; i < fDimensions; i++) { result.append("[]"); //$NON-NLS-1$ } return result.toString(); }
protected String getPlainPrettySignature() { StringBuffer result= new StringBuffer(getJavaElementType().getFullyQualifiedName('.')); result.append("<"); //$NON-NLS-1$ result.append(fTypeArguments[0].getPlainPrettySignature()); for (int i= 1; i < fTypeArguments.length; i++) { result.append(", "); //$NON-NLS-1$ result.append(fTypeArguments[i].getPlainPrettySignature()); } result.append(">"); //$NON-NLS-1$ return result.toString(); } }
@Override protected String getPlainPrettySignature() { StringBuffer result= new StringBuffer(getJavaElementType().getFullyQualifiedName('.')); result.append("<"); //$NON-NLS-1$ result.append(fTypeArguments[0].getPlainPrettySignature()); for (int i= 1; i < fTypeArguments.length; i++) { result.append(", "); //$NON-NLS-1$ result.append(fTypeArguments[i].getPlainPrettySignature()); } result.append(">"); //$NON-NLS-1$ return result.toString(); } }
protected String internalGetPrettySignature(String keyword) { StringBuffer result= new StringBuffer("?"); //$NON-NLS-1$ TType bound= getBound(); if (bound != null) { result.append(" "); //$NON-NLS-1$ result.append(keyword); result.append(" "); //$NON-NLS-1$ result.append(bound.getPlainPrettySignature()); } return result.toString(); } }
protected String internalGetPrettySignature(String keyword) { StringBuffer result= new StringBuffer("?"); //$NON-NLS-1$ TType bound= getBound(); if (bound != null) { result.append(" "); //$NON-NLS-1$ result.append(keyword); result.append(" "); //$NON-NLS-1$ result.append(bound.getPlainPrettySignature()); } return result.toString(); } }
protected String internalGetPrettySignature(String keyword) { StringBuffer result= new StringBuffer("?"); //$NON-NLS-1$ TType bound= getBound(); if (bound != null) { result.append(" "); //$NON-NLS-1$ result.append(keyword); result.append(" "); //$NON-NLS-1$ result.append(bound.getPlainPrettySignature()); } return result.toString(); } }
@Override protected String getPlainPrettySignature() { StringBuffer result= new StringBuffer(getJavaElementType().getFullyQualifiedName('.')); result.append("<"); //$NON-NLS-1$ result.append(fTypeArguments[0].getPlainPrettySignature()); for (int i= 1; i < fTypeArguments.length; i++) { result.append(", "); //$NON-NLS-1$ result.append(fTypeArguments[i].getPlainPrettySignature()); } result.append(">"); //$NON-NLS-1$ return result.toString(); } }
public String getPrettySignature() { if (fBounds.length == 1 && fBounds[0].isJavaLangObject()) return fJavaTypeParameter.getElementName(); // don't print the trivial bound StringBuffer result= new StringBuffer(fJavaTypeParameter.getElementName()); if (fBounds.length > 0) { result.append(" extends "); //$NON-NLS-1$ result.append(fBounds[0].getPlainPrettySignature()); for (int i= 1; i < fBounds.length; i++) { result.append(" & "); //$NON-NLS-1$ result.append(fBounds[i].getPlainPrettySignature()); } } return result.toString(); }
@Override public String getPrettySignature() { if (fBounds.length == 1 && fBounds[0].isJavaLangObject()) return fJavaTypeParameter.getElementName(); // don't print the trivial bound StringBuffer result= new StringBuffer(fJavaTypeParameter.getElementName()); if (fBounds.length > 0) { result.append(" extends "); //$NON-NLS-1$ result.append(fBounds[0].getPlainPrettySignature()); for (int i= 1; i < fBounds.length; i++) { result.append(" & "); //$NON-NLS-1$ result.append(fBounds[i].getPlainPrettySignature()); } } return result.toString(); }
@Override public String getPrettySignature() { if (fBounds.length == 1 && fBounds[0].isJavaLangObject()) return fJavaTypeParameter.getElementName(); // don't print the trivial bound StringBuffer result= new StringBuffer(fJavaTypeParameter.getElementName()); if (fBounds.length > 0) { result.append(" extends "); //$NON-NLS-1$ result.append(fBounds[0].getPlainPrettySignature()); for (int i= 1; i < fBounds.length; i++) { result.append(" & "); //$NON-NLS-1$ result.append(fBounds[i].getPlainPrettySignature()); } } return result.toString(); }