public static XArrayList<IJavaElement> getSuperInterfaces(IJavaElement type) throws Exception { ITypeHierarchy h = ((IType) type).newTypeHierarchy(null); return IJavaElementAnalyzer.convertArray2XArrayList(h.getSuperInterfaces((IType) type)); }
public static XArrayList<IJavaElement> getFields(IJavaElement type) throws Exception { return IJavaElementAnalyzer.convertArray2XArrayList(((IType) type).getFields()); }