vendredi 12 novembre 2021

JavaReflection generateUMLInfo method

Can someone help me with this please?

generateUMLInfo which takes one parameter of type Object and prints the UML information of the parameter’s class as follows: Each field in fields_list has the format: (vis attribute : type) where vis denotes visibility: ‘-‘ for private, ‘+’ for public, ‘#’ for protected, and ‘*’ for package-friendly. Each method in methods_list has the format: (vis method_name(argument list) : return type) For example, represent the UML information of a Student class





Aucun commentaire:

Enregistrer un commentaire