*/
public static Map<String, IMethod> getImportedMethods(IType type) {
Map<String, IMethod> ret = new HashMap<String, IMethod>();
UseTrait parsed = TraitUtils.parse(type);
IDLTKSearchScope scope = TraitUtils.createSearchScope(type);
Map<String, IType> traits = new HashMap<String, IType>();
Set<String> usedMethods = new HashSet<String>();
for (String traitName : parsed.getTraits()) {
if (findType(type.getSourceModule(), traitName) != null) {