public static synchronized @CheckForNull PermissionGroup get(Class owner) {
        for (PermissionGroup g : PERMISSIONS) {
            if (g.owner == owner) {
                return g;
            }
        }
        return null;
    }
public static synchronized @ CheckForNull PermissionGroup get ( Class owner ) { for ( PermissionGroup g : PERMISSIONS ) { if ( g . owner == owner ) { return g ; } } return null ; }
Gets the {@link PermissionGroup} whose {@link PermissionGroup#owner} is the given class.

@return  null if not found.