summaryrefslogtreecommitdiffstats
path: root/sangria-core
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2014-09-15 20:51:41 -0400
committerTavian Barnes <tavianator@tavianator.com>2014-09-15 20:51:41 -0400
commit096baf42f69522d210cdc0895e4175dbc52e0bbd (patch)
tree18e84e9536675acbf0557ca11f1fb9fd54675c05 /sangria-core
parent6f87abbdabd02244a536acbf7f1895f4466a095d (diff)
downloadsangria-096baf42f69522d210cdc0895e4175dbc52e0bbd.tar.xz
core: Fix javadoc on PotentialAnnotation.from(Key<?>).
Diffstat (limited to 'sangria-core')
-rw-r--r--sangria-core/src/main/java/com/tavianator/sangria/core/PotentialAnnotation.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/sangria-core/src/main/java/com/tavianator/sangria/core/PotentialAnnotation.java b/sangria-core/src/main/java/com/tavianator/sangria/core/PotentialAnnotation.java
index 7c3680f..760cd17 100644
--- a/sangria-core/src/main/java/com/tavianator/sangria/core/PotentialAnnotation.java
+++ b/sangria-core/src/main/java/com/tavianator/sangria/core/PotentialAnnotation.java
@@ -76,7 +76,10 @@ public abstract class PotentialAnnotation {
}
/**
- * @return A {@link PotentialAnnotation} with the annotation from a {@link Key}.
+ * Extract the annotation from a {@link Key}.
+ *
+ * @param key The {@link Key} whose annotation to use, if any.
+ * @return A {@link PotentialAnnotation} with the annotation from {@code key}.
* @since 1.2
*/
public static PotentialAnnotation from(Key<?> key) {