List of usage examples for org.eclipse.jdt.internal.core TypeVector remove
public IType remove(IType element)
From source file:org.eclipse.objectteams.otdt.internal.core.TypeHierarchyConnector.java
License:Open Source License
public IType[] getRootClasses() { // This is a workaround. // because a role focus type is contained as // root class even with a resolved superclass. if (this.classToSuperclass.keySet().contains(this.focusType)) { TypeVector result = new TypeVector(super.getRootClasses()); result.remove(this.focusType); return result.elements(); } else {/*from w ww . ja v a 2 s.co m*/ return super.getRootClasses(); } }