String newStub= genStub(type, desc, false, true, imports);
String newStub= genStub(type.getElementName(), true, desc, false, true, imports);
	public static void evalUnimplementedMethods(IType type, ITypeHierarchy hierarchy, boolean isSubType, List newMethods, IImportsStructure imports) throws JavaModelException {		List allMethods= new ArrayList();		IMethod[] typeMethods= type.getMethods();		for (int i= 0; i < typeMethods.length; i++) {			IMethod curr= typeMethods[i];			if (!curr.isConstructor() && !Flags.isStatic(curr.getFlags())) {				allMethods.add(curr);			}		}		IType[] superTypes= hierarchy.getAllSuperclasses(type);		for (int i= 0; i < superTypes.length; i++) {			IMethod[] methods= superTypes[i].getMethods();			for (int k= 0; k < methods.length; k++) {				IMethod curr= methods[k];				if (!curr.isConstructor() && !Flags.isStatic(curr.getFlags())) {					if (findMethod(curr, allMethods) == null) {						allMethods.add(curr);					}				}			}		}		for (int i= 0; i < allMethods.size(); i++) {			IMethod curr= (IMethod) allMethods.get(i);			if (Flags.isAbstract(curr.getFlags()) && (isSubType || !type.equals(curr.getDeclaringType()))) {				// implement all abstract methods. See tag points to declaration				IMethod desc= JavaModelUtil.findMethodDeclarationInHierarchy(hierarchy, curr.getElementName(), curr.getParameterTypes(), curr.isConstructor());				if (desc == null) {					desc= curr;				}				String newStub= genStub(type, desc, false, true, imports);				newMethods.add(newStub);			}		}		IType[] superInterfaces= hierarchy.getAllSuperInterfaces(type);		for (int i= 0; i < superInterfaces.length; i++) {			IMethod[] methods= superInterfaces[i].getMethods();			for (int k= 0; k < methods.length; k++) {				IMethod curr= methods[k];				// binary interfaces can contain static initializers (variable intializations)				// 1G4CKUS				if (!Flags.isStatic(curr.getFlags())) {					IMethod impl= findMethod(curr, allMethods);					if (impl == null || curr.getExceptionTypes().length < impl.getExceptionTypes().length) {						// implement an interface method when it does not exist in the hierarchy						// or when it throws less exceptions that the implemented						String newStub= genStub(type, curr, false, true, imports);						newMethods.add(newStub);						allMethods.add(curr);					}				}			}		}	}