@@ -77,7 +77,11 @@ public class Context implements Disposable {
77
77
/** Master index of all plugins known to the application context. */
78
78
private final PluginIndex pluginIndex ;
79
79
80
- /** Creates a new SciJava application context with all available services. */
80
+ /**
81
+ * Creates a new SciJava application context with all available services.
82
+ *
83
+ * @see #Context(Collection, PluginIndex, boolean)
84
+ */
81
85
public Context () {
82
86
this (false );
83
87
}
@@ -87,6 +91,7 @@ public Context() {
87
91
*
88
92
* @param empty If true, the context will be empty; otherwise, it will be
89
93
* initialized with all available services.
94
+ * @see #Context(Collection, PluginIndex, boolean)
90
95
*/
91
96
@ SuppressWarnings ("unchecked" )
92
97
public Context (final boolean empty ) {
@@ -113,6 +118,7 @@ public Context(final boolean empty) {
113
118
*
114
119
* @param serviceClasses A list of types that implement the {@link Service}
115
120
* interface (e.g., {@code DisplayService.class}).
121
+ * @see #Context(Collection, PluginIndex, boolean)
116
122
* @throws ClassCastException If any of the given arguments do not implement
117
123
* the {@link Service} interface.
118
124
*/
@@ -128,6 +134,7 @@ public Context(final Class... serviceClasses) {
128
134
*
129
135
* @param serviceClasses A collection of types that implement the
130
136
* {@link Service} interface (e.g., {@code DisplayService.class}).
137
+ * @see #Context(Collection, PluginIndex, boolean)
131
138
*/
132
139
public Context (final Collection <Class <? extends Service >> serviceClasses ) {
133
140
this (serviceClasses , null );
@@ -141,6 +148,7 @@ public Context(final Collection<Class<? extends Service>> serviceClasses) {
141
148
* {@link Service} interface (e.g., {@code DisplayService.class}).
142
149
* @param strict Whether context creation will fail fast when there is
143
150
* is an error instantiating a required service.
151
+ * @see #Context(Collection, PluginIndex, boolean)
144
152
*/
145
153
public Context (final Collection <Class <? extends Service >> serviceClasses ,
146
154
final boolean strict )
@@ -160,6 +168,7 @@ public Context(final Collection<Class<? extends Service>> serviceClasses,
160
168
* {@link org.scijava.plugin.PluginFinder} implementation), then you
161
169
* can pass a custom {@link PluginIndex} here. Passing null will
162
170
* result in a default plugin index being constructed and used.
171
+ * @see #Context(Collection, PluginIndex, boolean)
163
172
*/
164
173
@ SuppressWarnings ("unchecked" )
165
174
public Context (final PluginIndex pluginIndex ) {
@@ -180,6 +189,7 @@ public Context(final PluginIndex pluginIndex) {
180
189
* {@link org.scijava.plugin.PluginFinder} implementation), then you
181
190
* can pass a custom {@link PluginIndex} here. Passing null will
182
191
* result in a default plugin index being constructed and used.
192
+ * @see #Context(Collection, PluginIndex, boolean)
183
193
*/
184
194
public Context (final Collection <Class <? extends Service >> serviceClasses ,
185
195
final PluginIndex pluginIndex )
0 commit comments