From a5058dead560bb3d439b8f17db844a0756da58c8 Mon Sep 17 00:00:00 2001 From: Alexey Kudravtsev Date: Thu, 28 Aug 2014 17:05:00 +0400 Subject: [PATCH] javadoc --- .../annotations/src/org/intellij/lang/annotations/Flow.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/platform/annotations/src/org/intellij/lang/annotations/Flow.java b/platform/annotations/src/org/intellij/lang/annotations/Flow.java index c73fa57bf9f4..212103e904c9 100644 --- a/platform/annotations/src/org/intellij/lang/annotations/Flow.java +++ b/platform/annotations/src/org/intellij/lang/annotations/Flow.java @@ -19,14 +19,14 @@ import org.jetbrains.annotations.NonNls; import java.lang.annotation.*; -@Retention(RetentionPolicy.CLASS) -@Target({ElementType.PARAMETER, ElementType.METHOD}) /** * This annotation assists the 'Data flow to this' feature by describing data flow * from the method parameter to the corresponding container (e.g. ArrayList.add(item)) * or from the container to the method return value (e.g. Set.toArray()) * or between method parameters (e.g. System.arraycopy(array1, 0, array2, length)) */ +@Retention(RetentionPolicy.CLASS) +@Target({ElementType.PARAMETER, ElementType.METHOD}) public @interface Flow { /** * Denotes the source of the data flow.
@@ -66,7 +66,7 @@ public @interface Flow { /** * true if the data source is container and we should track not the expression but its contents.
* E.g. the java.util.ArrayList constructor takes the collection and stores its contents:
- * {@code ArrayList(@Flow(sourceIsContainer=true, targetIsContainer=true) Collection collection)}
+ * ArrayList(
{@code @Flow(sourceIsContainer=true, targetIsContainer=true) Collection collection }
)
* By default it's false. */ boolean sourceIsContainer() default false;