@@ -406,10 +406,18 @@ interface User {
406406
407407 /** Represents a role, including its granted member roles. */
408408 interface Role {
409- /** Returns the role name. */
409+ /**
410+ * Returns the role name.
411+ *
412+ * @return the role name
413+ */
410414 String getName ();
411415
412- /** Returns the member roles granted to the role. */
416+ /**
417+ * Returns the member roles granted to the role.
418+ *
419+ * @return the member roles granted to the role
420+ */
413421 List <MemberRole > getMemberRoles ();
414422 }
415423
@@ -421,25 +429,43 @@ interface RoleForUser extends Role {
421429 /**
422430 * Returns whether the user has admin option for this role. This is distinct from the admin
423431 * option in role hierarchies, which applies to role-to-role grants.
432+ *
433+ * @return whether the user has admin option for this role
424434 */
425435 boolean hasAdminOptionOnUser ();
426436 }
427437
428438 /** Represents a user-role assignment. */
429439 interface GranteeUser {
430- /** Returns the username. */
440+ /**
441+ * Returns the username.
442+ *
443+ * @return the username
444+ */
431445 String getName ();
432446
433- /** Returns whether admin option is granted for this assignment. */
447+ /**
448+ * Returns whether admin option is granted for this assignment.
449+ *
450+ * @return whether admin option is granted for this assignment
451+ */
434452 boolean hasAdminOption ();
435453 }
436454
437455 /** Represents a role hierarchy (role-to-role assignment). */
438456 interface MemberRole {
439- /** Returns the member role name granted to the role. */
457+ /**
458+ * Returns the member role name granted to the role.
459+ *
460+ * @return the member role name granted to the role
461+ */
440462 String getName ();
441463
442- /** Returns whether admin option is granted for this hierarchy. */
464+ /**
465+ * Returns whether admin option is granted for this hierarchy.
466+ *
467+ * @return whether admin option is granted for this hierarchy
468+ */
443469 boolean hasAdminOption ();
444470 }
445471
0 commit comments