src/main/java/com/jcabi/github/User.java
/**
         * Get his name.
         * @return User name
         * @throws IOException If it fails
         */
Get his name.
@return User name
@throws IOException If it fails
Get his name . @return User name @throws IOException If it fails
@NotNull(message = "Name is never NULL")
        public String name() throws IOException {
            final JsonObject json = this.json();
            if (!json.containsKey("name")) {
                throw new IllegalStateException(
                    String.format(
                        "User %s doesn't have a name specified in his/her Github account; use #hasName() first.",
                        this.login()
                    )
                );
            }
            return json.getString("name");
        }
@ NotNull ( message = "Name is never NULL" ) public String name ( ) throws IOException { final JsonObject json = this . json ( ) ; if ( ! json . containsKey ( "name" ) ) { throw new IllegalStateException ( String . format ( "User %s doesn't have a name specified in his/her Github account; use #hasName() first." , this . login ( ) ) ) ; } return json . getString ( "name" ) ; }
Get his name.
Get his name .
// @checkstyle LineLength (1 line)