class PathRepresentation extends ObjectRepresentation {

    @Mapping( "length" )
    public ValueRepresentation length()
    {
        return ValueRepresentation.number( path.length() );
    }

    public  PathRepresentation( P path );

}