/** * Returns whether the pattern includes type parameters information or not. * @return true if {@link #typeArguments} contains type parameters instead * type arguments signatures. */ public final boolean hasTypeParameters() { return !hasSignatures() && hasTypeArguments(); }
/** * Returns whether the pattern has signatures or not. * @return true if one at least of the stored pattern has signatures. */ public final boolean hasSignatures() { boolean isErasureMatch = isErasureMatch(); for (int i = 0, length = this.patterns.length; i < length && !isErasureMatch; i++) { if (((JavaSearchPattern) this.patterns[i]).hasSignatures()) return true; } return false; }
/** * Returns whether the pattern includes type parameters information or not. * @return true if {@link #typeArguments} contains type parameters instead * type arguments signatures. */ public final boolean hasTypeParameters() { return !hasSignatures() && hasTypeArguments(); }
/** * Returns whether the pattern has signatures or not. * @return true if one at least of the stored pattern has signatures. */ public final boolean hasSignatures() { boolean isErasureMatch = isErasureMatch(); for (int i = 0, length = this.patterns.length; i < length && !isErasureMatch; i++) { if (((JavaSearchPattern) this.patterns[i]).hasSignatures()) return true; } return false; }
/** * Returns whether the pattern includes type parameters information or not. * @return true if {@link #typeArguments} contains type parameters instead * type arguments signatures. */ public final boolean hasTypeParameters() { return !hasSignatures() && hasTypeArguments(); }
/** * Returns whether the pattern has signatures or not. * @return true if one at least of the stored pattern has signatures. */ public final boolean hasSignatures() { boolean isErasureMatch = isErasureMatch(); for (int i = 0, length = this.patterns.length; i < length && !isErasureMatch; i++) { if (((JavaSearchPattern) this.patterns[i]).hasSignatures()) return true; } return false; }
/** * Returns whether the pattern includes type parameters information or not. * @return true if {@link #typeArguments} contains type parameters instead * type arguments signatures. */ public final boolean hasTypeParameters() { return !hasSignatures() && hasTypeArguments(); }
/** * Returns whether the pattern includes type parameters information or not. * @return true if {@link #typeArguments} contains type parameters instead * type arguments signatures. */ public final boolean hasTypeParameters() { return !hasSignatures() && hasTypeArguments(); }
/** * Returns whether the pattern has signatures or not. * @return true if one at least of the stored pattern has signatures. */ public final boolean hasSignatures() { boolean isErasureMatch = isErasureMatch(); for (int i = 0, length = this.patterns.length; i < length && !isErasureMatch; i++) { if (((JavaSearchPattern) this.patterns[i]).hasSignatures()) return true; } return false; }
/** * Returns whether the pattern has signatures or not. * @return true if one at least of the stored pattern has signatures. */ public final boolean hasSignatures() { boolean isErasureMatch = isErasureMatch(); for (int i = 0, length = this.patterns.length; i < length && !isErasureMatch; i++) { if (((JavaSearchPattern) this.patterns[i]).hasSignatures()) return true; } return false; }
/** * Returns whether the pattern has signatures or not. * @return true if one at least of the stored pattern has signatures. */ public final boolean hasSignatures() { boolean isErasureMatch = isErasureMatch(); for (int i = 0, length = this.patterns.length; i < length && !isErasureMatch; i++) { if (((JavaSearchPattern) this.patterns[i]).hasSignatures()) return true; } return false; }
/** * Returns whether the pattern includes type parameters information or not. * @return true if {@link #typeArguments} contains type parameters instead * type arguments signatures. */ public final boolean hasTypeParameters() { return !hasSignatures() && hasTypeArguments(); }
protected StringBuffer print(StringBuffer output) { output.append(", "); //$NON-NLS-1$ if (hasTypeArguments() && hasSignatures()) { output.append("signature:\""); //$NON-NLS-1$ output.append(this.typeSignatures[0]);
protected StringBuffer print(StringBuffer output) { output.append(", "); //$NON-NLS-1$ if (hasTypeArguments() && hasSignatures()) { output.append("signature:\""); //$NON-NLS-1$ output.append(this.typeSignatures[0]);
protected StringBuffer print(StringBuffer output) { output.append(", "); //$NON-NLS-1$ if (hasTypeArguments() && hasSignatures()) { output.append("signature:\""); //$NON-NLS-1$ output.append(this.typeSignatures[0]);
protected StringBuffer print(StringBuffer output) { output.append(", "); //$NON-NLS-1$ if (hasTypeArguments() && hasSignatures()) { output.append("signature:\""); //$NON-NLS-1$ output.append(this.typeSignatures[0]);
protected StringBuffer print(StringBuffer output) { output.append(", "); //$NON-NLS-1$ if (hasTypeArguments() && hasSignatures()) { output.append("signature:\""); //$NON-NLS-1$ output.append(this.typeSignatures[0]);
protected StringBuffer print(StringBuffer output) { output.append(", "); //$NON-NLS-1$ if (hasTypeArguments() && hasSignatures()) { output.append("signature:\""); //$NON-NLS-1$ output.append(this.typeSignatures[0]);
boolean hasSignatures = (this.pattern instanceof OrPattern) ? ((OrPattern)this.pattern).hasSignatures() : ((JavaSearchPattern)this.pattern).hasSignatures(); if (shouldMatchErasure || !hasSignatures) {
boolean hasSignatures = (this.pattern instanceof OrPattern) ? ((OrPattern)this.pattern).hasSignatures() : ((JavaSearchPattern)this.pattern).hasSignatures(); if (shouldMatchErasure || !hasSignatures) {