I had to develop an application in Java for a school project, so I designed a UML class diagram oriented towards Java (including structures, attributes and types). For example:
-getLists() : List<String>
So the question is: should I assume which language I'll be using when creating a UML class diagram or should I take a more generic approach?