buffer.append(tabString(tab)); if (info == null) { if (isAnonymous()) { buffer.append("<anonymous #"); //$NON-NLS-1$ buffer.append(this.occurrenceCount); if (isAnonymous()) { buffer.append("<anonymous #"); //$NON-NLS-1$ buffer.append(this.occurrenceCount); buffer.append("class "); //$NON-NLS-1$ if (isAnonymous()) { buffer.append("<anonymous #"); //$NON-NLS-1$ buffer.append(this.occurrenceCount);
buffer.append(tabString(tab)); if (info == null) { if (isAnonymous()) { buffer.append("<anonymous #"); //$NON-NLS-1$ buffer.append(this.occurrenceCount); if (isAnonymous()) { buffer.append("<anonymous #"); //$NON-NLS-1$ buffer.append(this.occurrenceCount); buffer.append("class "); //$NON-NLS-1$ if (isAnonymous()) { buffer.append("<anonymous #"); //$NON-NLS-1$ buffer.append(this.occurrenceCount);
buffer.append(tabString(tab)); if (info == null) { if (isAnonymous()) { buffer.append("<anonymous #"); //$NON-NLS-1$ buffer.append(this.occurrenceCount); if (isAnonymous()) { buffer.append("<anonymous #"); //$NON-NLS-1$ buffer.append(this.occurrenceCount); buffer.append("class "); //$NON-NLS-1$ if (isAnonymous()) { buffer.append("<anonymous #"); //$NON-NLS-1$ buffer.append(this.occurrenceCount);
buffer.append(tabString(tab)); if (info == null) { if (isAnonymous()) { buffer.append("<anonymous #"); //$NON-NLS-1$ buffer.append(this.occurrenceCount); if (isAnonymous()) { buffer.append("<anonymous #"); //$NON-NLS-1$ buffer.append(this.occurrenceCount); buffer.append("class "); //$NON-NLS-1$ if (isAnonymous()) { buffer.append("<anonymous #"); //$NON-NLS-1$ buffer.append(this.occurrenceCount);
buffer.append(tabString(tab)); if (info == null) { if (isAnonymous()) { buffer.append("<anonymous #"); //$NON-NLS-1$ buffer.append(this.occurrenceCount); if (isAnonymous()) { buffer.append("<anonymous #"); //$NON-NLS-1$ buffer.append(this.occurrenceCount); buffer.append("class "); //$NON-NLS-1$ if (isAnonymous()) { buffer.append("<anonymous #"); //$NON-NLS-1$ buffer.append(this.occurrenceCount);
protected void resolveDuplicates(IJavaElement handle) { // For anonymous source types, the occurrence count should be in the context // of the enclosing type. if (handle instanceof SourceType && ((SourceType) handle).isAnonymous()) { Object key = handle.getParent().getAncestor(IJavaElement.TYPE); int occurenceCount = this.localOccurrenceCounts.get(key); if (occurenceCount == -1) this.localOccurrenceCounts.put(key, 1); else { this.localOccurrenceCounts.put(key, ++occurenceCount); ((SourceType)handle).localOccurrenceCount = occurenceCount; } } } /**
protected void resolveDuplicates(IJavaElement handle) { // For anonymous source types, the occurrence count should be in the context // of the enclosing type. if (handle instanceof SourceType && ((SourceType) handle).isAnonymous()) { Object key = handle.getParent().getAncestor(IJavaElement.TYPE); int occurenceCount = this.localOccurrenceCounts.get(key); if (occurenceCount == -1) this.localOccurrenceCounts.put(key, 1); else { this.localOccurrenceCounts.put(key, ++occurenceCount); ((SourceType)handle).localOccurrenceCount = occurenceCount; } } } /**
/** * Resolves duplicate handles by incrementing the occurrence count * of the handle being created. */ protected void resolveDuplicates(SourceRefElement handle) { int occurenceCount = this.occurenceCounts.get(handle); if (occurenceCount == -1) this.occurenceCounts.put(handle, 1); else { this.occurenceCounts.put(handle, ++occurenceCount); handle.occurrenceCount = occurenceCount; } // https://bugs.eclipse.org/bugs/show_bug.cgi?id=342393 // For anonymous source types, the occurrence count should be in the context // of the enclosing type. if (handle instanceof SourceType && ((SourceType) handle).isAnonymous()) { Object key = handle.getParent().getAncestor(IJavaElement.TYPE); occurenceCount = this.localOccurrenceCounts.get(key); if (occurenceCount == -1) this.localOccurrenceCounts.put(key, 1); else { this.localOccurrenceCounts.put(key, ++occurenceCount); ((SourceType)handle).localOccurrenceCount = occurenceCount; } } } protected IMemberValuePair getMemberValuePair(MemberValuePair memberValuePair) {
/** * Resolves duplicate handles by incrementing the occurrence count * of the handle being created. */ protected void resolveDuplicates(SourceRefElement handle) { int occurenceCount = this.occurenceCounts.get(handle); if (occurenceCount == -1) this.occurenceCounts.put(handle, 1); else { this.occurenceCounts.put(handle, ++occurenceCount); handle.occurrenceCount = occurenceCount; } // https://bugs.eclipse.org/bugs/show_bug.cgi?id=342393 // For anonymous source types, the occurrence count should be in the context // of the enclosing type. if (handle instanceof SourceType && ((SourceType) handle).isAnonymous()) { Object key = handle.getParent().getAncestor(IJavaElement.TYPE); occurenceCount = this.localOccurrenceCounts.get(key); if (occurenceCount == -1) this.localOccurrenceCounts.put(key, 1); else { this.localOccurrenceCounts.put(key, ++occurenceCount); ((SourceType)handle).localOccurrenceCount = occurenceCount; } } } protected IMemberValuePair getMemberValuePair(MemberValuePair memberValuePair) {
/** * Resolves duplicate handles by incrementing the occurrence count * of the handle being created. */ protected void resolveDuplicates(SourceRefElement handle) { int occurenceCount = this.occurenceCounts.get(handle); if (occurenceCount == -1) this.occurenceCounts.put(handle, 1); else { this.occurenceCounts.put(handle, ++occurenceCount); handle.occurrenceCount = occurenceCount; } // https://bugs.eclipse.org/bugs/show_bug.cgi?id=342393 // For anonymous source types, the occurrence count should be in the context // of the enclosing type. if (handle instanceof SourceType && ((SourceType) handle).isAnonymous()) { Object key = handle.getParent().getAncestor(IJavaElement.TYPE); occurenceCount = this.localOccurrenceCounts.get(key); if (occurenceCount == -1) this.localOccurrenceCounts.put(key, 1); else { this.localOccurrenceCounts.put(key, ++occurenceCount); ((SourceType)handle).localOccurrenceCount = occurenceCount; } } } protected IMemberValuePair getMemberValuePair(MemberValuePair memberValuePair) {
/** * Resolves duplicate handles by incrementing the occurrence count * of the handle being created. */ protected void resolveDuplicates(SourceRefElement handle) { int occurenceCount = this.occurenceCounts.get(handle); if (occurenceCount == -1) this.occurenceCounts.put(handle, 1); else { this.occurenceCounts.put(handle, ++occurenceCount); handle.occurrenceCount = occurenceCount; } // https://bugs.eclipse.org/bugs/show_bug.cgi?id=342393 // For anonymous source types, the occurrence count should be in the context // of the enclosing type. if (handle instanceof SourceType && ((SourceType) handle).isAnonymous()) { Object key = handle.getParent().getAncestor(IJavaElement.TYPE); occurenceCount = this.localOccurrenceCounts.get(key); if (occurenceCount == -1) this.localOccurrenceCounts.put(key, 1); else { this.localOccurrenceCounts.put(key, ++occurenceCount); ((SourceType)handle).localOccurrenceCount = occurenceCount; } } } protected IMemberValuePair getMemberValuePair(MemberValuePair memberValuePair) {
/** * Resolves duplicate handles by incrementing the occurrence count * of the handle being created. */ protected void resolveDuplicates(SourceRefElement handle) { int occurenceCount = this.occurenceCounts.get(handle); if (occurenceCount == -1) this.occurenceCounts.put(handle, 1); else { this.occurenceCounts.put(handle, ++occurenceCount); handle.occurrenceCount = occurenceCount; } // https://bugs.eclipse.org/bugs/show_bug.cgi?id=342393 // For anonymous source types, the occurrence count should be in the context // of the enclosing type. if (handle instanceof SourceType && ((SourceType) handle).isAnonymous()) { Object key = handle.getParent().getAncestor(IJavaElement.TYPE); occurenceCount = this.localOccurrenceCounts.get(key); if (occurenceCount == -1) this.localOccurrenceCounts.put(key, 1); else { this.localOccurrenceCounts.put(key, ++occurenceCount); ((SourceType)handle).localOccurrenceCount = occurenceCount; } } } protected IMemberValuePair getMemberValuePair(MemberValuePair memberValuePair) {
if (typeHandle.isAnonymous()) { type.name = CharOperation.NO_CHAR; type.bits |= (ASTNode.IsAnonymousType|ASTNode.IsLocalType);
if (typeHandle.isAnonymous()) { type.name = CharOperation.NO_CHAR; type.bits |= (ASTNode.IsAnonymousType|ASTNode.IsLocalType);
if (typeHandle.isAnonymous()) { type.name = CharOperation.NO_CHAR; type.bits |= (ASTNode.IsAnonymousType|ASTNode.IsLocalType);
if (typeHandle.isAnonymous()) { type.name = CharOperation.NO_CHAR; type.bits |= (ASTNode.IsAnonymousType|ASTNode.IsLocalType);
if (typeHandle.isAnonymous()) { type.name = CharOperation.NO_CHAR; type.bits |= (ASTNode.IsAnonymousType|ASTNode.IsLocalType);
if (typeHandle.isAnonymous()) { type.name = CharOperation.NO_CHAR; type.bits |= (ASTNode.IsAnonymousType|ASTNode.IsLocalType);
if (typeHandle.isAnonymous()) { type.name = CharOperation.NO_CHAR; type.bits |= (ASTNode.IsAnonymousType|ASTNode.IsLocalType);