type = JavaModelUtil.findType(type.getJavaProject(), "java.lang.Object");
type = getJavaLangObject(type.getJavaProject());
	private static IMethod[] resolveFinalMethods(IType type) throws JavaModelException {		//Interfaces are java.lang.Objects		if (type.isInterface()) {			type = JavaModelUtil.findType(type.getJavaProject(), "java.lang.Object"); //$NON-NLS-1$		}		IMethod[] methods = resolveMethodsHierarchy(type);		ArrayList list = new ArrayList(methods.length);		for (int i = 0; i < methods.length; i++) {			boolean isFinal = Flags.isFinal(methods[i].getFlags());			if (isFinal)				list.add(methods[i]);		}		IMethod[] finalMethods = new IMethod[list.size()];		for (int i = 0; i < finalMethods.length; i++) {			finalMethods[i] = (IMethod) list.get(i);		}		return finalMethods;	}