File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
src/main/java/org/spongepowered/api/config Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 2727import com .google .inject .BindingAnnotation ;
2828import com .google .inject .Inject ;
2929import org .spongepowered .configurate .loader .ConfigurationLoader ;
30+ import org .spongepowered .configurate .reference .ConfigurationReference ;
3031
31- import java .io .File ;
3232import java .lang .annotation .ElementType ;
3333import java .lang .annotation .Retention ;
3434import java .lang .annotation .RetentionPolicy ;
3535import java .lang .annotation .Target ;
3636import java .nio .file .Path ;
3737
3838/**
39- * Provides an convenient injection for {@link ConfigRoot#config()} or
39+ * Provides a convenient injection for {@link ConfigRoot#config()} or
4040 * {@link ConfigRoot#configPath()}.
4141 *
42- * <p>Use this annotation on a {@link File} or {@link Path} if you want the
42+ * <p>Use this annotation on a {@link Path} if you want the
4343 * pathname to the default configuration. Or instead, use this annotation on a
44- * {@link ConfigurationLoader} to get an instance of that. Remember that
44+ * {@link ConfigurationLoader ConfigurationLoader<CommentedConigurationNode>}
45+ * or {@link ConfigurationReference<CommentedConigurationNode>} to get a
46+ * loader/reference for a HOCON based configuration file. Remember that
4547 * {@link Inject} is also necessary.</p>
4648 *
4749 * @see ConfigManager For getting configuration without injection
You can’t perform that action at this time.
0 commit comments