Interface ITypeParameter

All Superinterfaces:
org.eclipse.core.runtime.IAdaptable, IJavaElement, ISourceReference
All Known Implementing Classes:
AssistTypeParameter, TypeParameter

public interface ITypeParameter extends IJavaElement, ISourceReference
Represents a type parameter defined by a type or a method in a compilation unit or a class file.

Type parameters are obtained using IType.getTypeParameter(String) and IMethod.getTypeParameter(String).

Note that type parameters are not children of their declaring type or method. To get a list of the type parameters use IType.getTypeParameters() for a type and use IMethod.getTypeParameters() for a method.

Since:
3.1