In 2012, US District Court Judge William Alsup denied Oracle's claim that the "structure, sequence, and organization" of its Java APIs are protected under copyright law. He ruled that as long as the code used to implement a specific method differs from Oracle's code, anyone can write code that performs the same function as the methods that form the Java API.
If we take this reasoning to the extreme, anyone can write a book based on a popular book with the same story outline, same plot, same characters (albiet with different names), same locations, etc, but with different words. I don't care much for Oracle, Google, Java or Android (I'm a .NET guy), but I'm glad Oracle won. I've been following this issue up until Alsup made his verdict, but everyone knew back then, that no matter the verdict Alsup made, that verdict would be appealed by whoever lost. I don't think Oracle would get any money just yet. But I hope this will set a precedent that APIs are copyrightable. Anyone who has designed a framework before, no matter how small, will say that framework design is a creative process. Don't let your Oracle-hate or Google-love blind you.