public static < F extends Field < F > , P extends Property > Setting of ( String description , F field , P property ) { return new Setting <> ( description , field . label ( description ) , property ) ; }
Creates a setting of a custom defined field .