types= decl.bodyDeclarations();
	public static TypeDeclaration findTypeDeclaration(CompilationUnit root, ITypeBinding binding) {		ArrayList names= new ArrayList(5);		while (binding != null) {			names.add(binding.getName());			binding= binding.getDeclaringClass();		}		List types= root.types();		for (int i= names.size() - 1; i >= 0; i--) {			String name= (String) names.get(i);			TypeDeclaration decl= findTypeDeclaration(types, name);			if (decl == null || i == 0) {				return decl;			}			types= decl.bodyDeclarations();		}		return null;	}