View | Details | Raw Unified | Return to bug 309966 | Differences between
and this patch

Collapse All | Expand All

(-)model/org/eclipse/jdt/core/IType.java (-4 / +7 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2000, 2009 IBM Corporation and others.
2
 * Copyright (c) 2000, 2010 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 593-606 Link Here
593
	IInitializer[] getInitializers() throws JavaModelException;
593
	IInitializer[] getInitializers() throws JavaModelException;
594
594
595
	/**
595
	/**
596
	 * Returns the binding key for this type. A binding key is a key that uniquely
596
	 * Returns the binding key for this type only if the given type is {@link #isResolved() resolved}.
597
	 * identifies this type. It allows access to generic info for parameterized
597
	 * A binding key is a key that uniquely identifies this type. It allows access
598
	 * types.
598
	 * to generic info for parameterized types.
599
	 *
599
	 *
600
	 * <p>If the given type is not resolved, the returned key is simply the java element's key.
601
	 * </p>
600
	 * @return the binding key for this type
602
	 * @return the binding key for this type
601
	 * @see org.eclipse.jdt.core.dom.IBinding#getKey()
603
	 * @see org.eclipse.jdt.core.dom.IBinding#getKey()
602
	 * @see BindingKey
604
	 * @see BindingKey
603
	 * @since 3.1
605
	 * @since 3.1
606
	 * @see #isResolved()
604
	 */
607
	 */
605
	String getKey();
608
	String getKey();
606
609

Return to bug 309966