From 95bb12d092948a0e52f5fb2edd8e3c781efc2392 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Tue, 16 Sep 2014 10:21:08 -0400 Subject: Add version 1.1 site. --- .../sangria/core/PotentialAnnotation.html | 425 +++++++++++++++++++++ 1 file changed, 425 insertions(+) create mode 100644 1.1/sangria-core/apidocs/com/tavianator/sangria/core/PotentialAnnotation.html (limited to '1.1/sangria-core/apidocs/com/tavianator/sangria/core/PotentialAnnotation.html') diff --git a/1.1/sangria-core/apidocs/com/tavianator/sangria/core/PotentialAnnotation.html b/1.1/sangria-core/apidocs/com/tavianator/sangria/core/PotentialAnnotation.html new file mode 100644 index 0000000..7dbfc3c --- /dev/null +++ b/1.1/sangria-core/apidocs/com/tavianator/sangria/core/PotentialAnnotation.html @@ -0,0 +1,425 @@ + + + + + + +PotentialAnnotation (Sangria Core 1.1 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
com.tavianator.sangria.core
+

Class PotentialAnnotation

+
+
+ +
+
    +
  • +
    +
    +
    public abstract class PotentialAnnotation
    +extends Object
    +
    A record of stored annotations, perfect for builders with annotatedWith() methods.
    +
    +
    Since:
    +
    1.1
    +
    Version:
    +
    1.1
    +
    Author:
    +
    Tavian Barnes (tavianator@tavianator.com)
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + + + + + + + + + + + + + +
        +
      • +

        hasAnnotation

        +
        public abstract boolean hasAnnotation()
        +
        +
        Returns:
        +
        Whether an annotation is present.
        +
        +
      • +
      + + + +
        +
      • +

        getKey

        +
        public <T> Key<T> getKey(Class<T> type)
        +
        Create a Key with the given type and the stored annotation.
        +
        +
        Type Parameters:
        +
        T - The type of the key to create.
        +
        Parameters:
        +
        type - The type of the key to create.
        +
        Returns:
        +
        A Key.
        +
        +
      • +
      + + + +
        +
      • +

        getKey

        +
        public abstract <T> Key<T> getKey(TypeLiteral<T> type)
        +
        Create a Key with the given type and the stored annotation.
        +
        +
        Type Parameters:
        +
        T - The type of the key to create.
        +
        Parameters:
        +
        type - The type of the key to create.
        +
        Returns:
        +
        A Key.
        +
        +
      • +
      + + + +
        +
      • +

        accept

        +
        public abstract <T> T accept(PotentialAnnotation.Visitor<T> visitor)
        + +
        +
        Type Parameters:
        +
        T - The type for the visitor to return.
        +
        Parameters:
        +
        visitor - The visitor to accept.
        +
        Returns:
        +
        The value produced by the visitor.
        +
        +
      • +
      + + + + +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2014. All rights reserved.

+ + -- cgit v1.2.3