List of usage examples for org.eclipse.jdt.internal.core.hierarchy TypeHierarchy getSuperInterfaces
@Override
public IType[] getSuperInterfaces(IType type)
From source file:org.eclipse.objectteams.otdt.tests.subhierarchy.OTSubTypeHierarchyTest016.java
License:Open Source License
public void testGetSuperInterfaces_T1R5() throws JavaModelException { _focusType = _T1R5;/*from w w w . j ava 2s . c o m*/ TypeHierarchy hierarchy = new TypeHierarchy(_focusType, null, _focusType.getJavaProject(), true); hierarchy.refresh(new NullProgressMonitor()); IType[] actual = hierarchy.getSuperInterfaces(_focusType); IType[] expected = new IType[] { _I1 }; assertTrue(compareTypes(expected, actual)); }