Skip to content

Commit 0b231d8

Browse files
committed
Mutable: improve javadoc
Explain what mutable means, and link to the Inplaces interfaces, which are the ones making use of this annotation.
1 parent 854288f commit 0b231d8

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

  • scijava/scijava-ops/src/main/java/org/scijava/param

‎scijava/scijava-ops/src/main/java/org/scijava/param/Mutable.java‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,12 @@
55
import java.lang.annotation.RetentionPolicy;
66
import java.lang.annotation.Target;
77

8-
/**Annotation to mark a method parameter as mutable. */
8+
/**
9+
* Annotation to mark a parameter as mutable: the value of the given argument
10+
* will be altered by the algorithm during execution.
11+
*
12+
* @see Inplaces
13+
*/
914
@Retention(RetentionPolicy.RUNTIME)
1015
@Target(ElementType.TYPE_USE)
1116
public @interface Mutable {

0 commit comments

Comments
 (0)