From d479253768d296a40b4f699e1de9b03c7146a97a Mon Sep 17 00:00:00 2001 From: Jesse Morgan Date: Tue, 3 Dec 2013 14:03:28 -0800 Subject: Adding javadocs and Carbonado User Guide --- .../amazon/carbonado/util/AnnotationBuilder.html | 934 +++++++++++++++++++++ 1 file changed, 934 insertions(+) create mode 100644 apidocs/com/amazon/carbonado/util/AnnotationBuilder.html (limited to 'apidocs/com/amazon/carbonado/util/AnnotationBuilder.html') diff --git a/apidocs/com/amazon/carbonado/util/AnnotationBuilder.html b/apidocs/com/amazon/carbonado/util/AnnotationBuilder.html new file mode 100644 index 0000000..7f6d3c8 --- /dev/null +++ b/apidocs/com/amazon/carbonado/util/AnnotationBuilder.html @@ -0,0 +1,934 @@ + + + + + + +AnnotationBuilder (Carbonado 1.2.3 API) + + + + + + + +
+ + + + + +
+ + + +
+
com.amazon.carbonado.util
+

Class AnnotationBuilder

+
+
+ +
+
    +
  • +
    +
    +
    public class AnnotationBuilder
    +extends AnnotationVisitor<java.lang.Object,org.cojen.classfile.attribute.Annotation>
    +
    Builds all Annotation properties to a Cojen Annotation definition.
    +
    Author:
    +
    Brian S O'Neill
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      AnnotationBuilder() 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      java.lang.Objectvisit(java.lang.String name, + int pos, + java.lang.annotation.Annotation[] value, + org.cojen.classfile.attribute.Annotation ann) +
      Visits each array element.
      +
      java.lang.Objectvisit(java.lang.String name, + int pos, + java.lang.annotation.Annotation value, + org.cojen.classfile.attribute.Annotation ann) +
      Visits an annotation by breaking it down into its components and calling + various other visit methods.
      +
      java.lang.Objectvisit(java.lang.String name, + int pos, + boolean[] value, + org.cojen.classfile.attribute.Annotation ann) +
      Visits each array element.
      +
      java.lang.Objectvisit(java.lang.String name, + int pos, + boolean value, + org.cojen.classfile.attribute.Annotation ann) +
      Override to visit booleans.
      +
      java.lang.Objectvisit(java.lang.String name, + int pos, + byte[] value, + org.cojen.classfile.attribute.Annotation ann) +
      Visits each array element.
      +
      java.lang.Objectvisit(java.lang.String name, + int pos, + byte value, + org.cojen.classfile.attribute.Annotation ann) +
      Override to visit bytes.
      +
      java.lang.Objectvisit(java.lang.String name, + int pos, + char[] value, + org.cojen.classfile.attribute.Annotation ann) +
      Visits each array element.
      +
      java.lang.Objectvisit(java.lang.String name, + int pos, + char value, + org.cojen.classfile.attribute.Annotation ann) +
      Override to visit chars.
      +
      java.lang.Objectvisit(java.lang.String name, + int pos, + java.lang.Class[] value, + org.cojen.classfile.attribute.Annotation ann) +
      Visits each array element.
      +
      java.lang.Objectvisit(java.lang.String name, + int pos, + java.lang.Class value, + org.cojen.classfile.attribute.Annotation ann) +
      Override to visit Classes.
      +
      java.lang.Objectvisit(java.lang.String name, + int pos, + double[] value, + org.cojen.classfile.attribute.Annotation ann) +
      Visits each array element.
      +
      java.lang.Objectvisit(java.lang.String name, + int pos, + double value, + org.cojen.classfile.attribute.Annotation ann) +
      Override to visit doubles.
      +
      java.lang.Objectvisit(java.lang.String name, + int pos, + java.lang.Enum[] value, + org.cojen.classfile.attribute.Annotation ann) +
      Visits each array element.
      +
      java.lang.Objectvisit(java.lang.String name, + int pos, + java.lang.Enum value, + org.cojen.classfile.attribute.Annotation ann) +
      Override to visit Enums.
      +
      java.lang.Objectvisit(java.lang.String name, + int pos, + float[] value, + org.cojen.classfile.attribute.Annotation ann) +
      Visits each array element.
      +
      java.lang.Objectvisit(java.lang.String name, + int pos, + float value, + org.cojen.classfile.attribute.Annotation ann) +
      Override to visit floats.
      +
      java.lang.Objectvisit(java.lang.String name, + int pos, + int[] value, + org.cojen.classfile.attribute.Annotation ann) +
      Visits each array element.
      +
      java.lang.Objectvisit(java.lang.String name, + int pos, + int value, + org.cojen.classfile.attribute.Annotation ann) +
      Override to visit ints.
      +
      java.lang.Objectvisit(java.lang.String name, + int pos, + long[] value, + org.cojen.classfile.attribute.Annotation ann) +
      Visits each array element.
      +
      java.lang.Objectvisit(java.lang.String name, + int pos, + long value, + org.cojen.classfile.attribute.Annotation ann) +
      Override to visit longs.
      +
      java.lang.Objectvisit(java.lang.String name, + int pos, + short[] value, + org.cojen.classfile.attribute.Annotation ann) +
      Visits each array element.
      +
      java.lang.Objectvisit(java.lang.String name, + int pos, + short value, + org.cojen.classfile.attribute.Annotation ann) +
      Override to visit shorts.
      +
      java.lang.Objectvisit(java.lang.String name, + int pos, + java.lang.String[] value, + org.cojen.classfile.attribute.Annotation ann) +
      Visits each array element.
      +
      java.lang.Objectvisit(java.lang.String name, + int pos, + java.lang.String value, + org.cojen.classfile.attribute.Annotation ann) +
      Override to visit Strings.
      +
      + +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        AnnotationBuilder

        +
        public AnnotationBuilder()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.String name,
        +                     int pos,
        +                     java.lang.annotation.Annotation value,
        +                     org.cojen.classfile.attribute.Annotation ann)
        +
        Description copied from class: AnnotationVisitor
        +
        Visits an annotation by breaking it down into its components and calling + various other visit methods.
        +
        +
        Overrides:
        +
        visit in class AnnotationVisitor<java.lang.Object,org.cojen.classfile.attribute.Annotation>
        +
        Parameters:
        name - member name, or null if array member or not part of an annotation
        pos - position of member in list or array
        value - Annotation visited
        ann - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.String name,
        +                     int pos,
        +                     int value,
        +                     org.cojen.classfile.attribute.Annotation ann)
        +
        Description copied from class: AnnotationVisitor
        +
        Override to visit ints.
        +
        +
        Overrides:
        +
        visit in class AnnotationVisitor<java.lang.Object,org.cojen.classfile.attribute.Annotation>
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - int visited
        ann - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.String name,
        +                     int pos,
        +                     long value,
        +                     org.cojen.classfile.attribute.Annotation ann)
        +
        Description copied from class: AnnotationVisitor
        +
        Override to visit longs.
        +
        +
        Overrides:
        +
        visit in class AnnotationVisitor<java.lang.Object,org.cojen.classfile.attribute.Annotation>
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - long visited
        ann - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.String name,
        +                     int pos,
        +                     float value,
        +                     org.cojen.classfile.attribute.Annotation ann)
        +
        Description copied from class: AnnotationVisitor
        +
        Override to visit floats.
        +
        +
        Overrides:
        +
        visit in class AnnotationVisitor<java.lang.Object,org.cojen.classfile.attribute.Annotation>
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - float visited
        ann - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.String name,
        +                     int pos,
        +                     double value,
        +                     org.cojen.classfile.attribute.Annotation ann)
        +
        Description copied from class: AnnotationVisitor
        +
        Override to visit doubles.
        +
        +
        Overrides:
        +
        visit in class AnnotationVisitor<java.lang.Object,org.cojen.classfile.attribute.Annotation>
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - double visited
        ann - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.String name,
        +                     int pos,
        +                     boolean value,
        +                     org.cojen.classfile.attribute.Annotation ann)
        +
        Description copied from class: AnnotationVisitor
        +
        Override to visit booleans.
        +
        +
        Overrides:
        +
        visit in class AnnotationVisitor<java.lang.Object,org.cojen.classfile.attribute.Annotation>
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - boolean visited
        ann - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.String name,
        +                     int pos,
        +                     byte value,
        +                     org.cojen.classfile.attribute.Annotation ann)
        +
        Description copied from class: AnnotationVisitor
        +
        Override to visit bytes.
        +
        +
        Overrides:
        +
        visit in class AnnotationVisitor<java.lang.Object,org.cojen.classfile.attribute.Annotation>
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - byte visited
        ann - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.String name,
        +                     int pos,
        +                     short value,
        +                     org.cojen.classfile.attribute.Annotation ann)
        +
        Description copied from class: AnnotationVisitor
        +
        Override to visit shorts.
        +
        +
        Overrides:
        +
        visit in class AnnotationVisitor<java.lang.Object,org.cojen.classfile.attribute.Annotation>
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - short visited
        ann - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.String name,
        +                     int pos,
        +                     char value,
        +                     org.cojen.classfile.attribute.Annotation ann)
        +
        Description copied from class: AnnotationVisitor
        +
        Override to visit chars.
        +
        +
        Overrides:
        +
        visit in class AnnotationVisitor<java.lang.Object,org.cojen.classfile.attribute.Annotation>
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - char visited
        ann - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.String name,
        +                     int pos,
        +                     java.lang.String value,
        +                     org.cojen.classfile.attribute.Annotation ann)
        +
        Description copied from class: AnnotationVisitor
        +
        Override to visit Strings.
        +
        +
        Overrides:
        +
        visit in class AnnotationVisitor<java.lang.Object,org.cojen.classfile.attribute.Annotation>
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - String visited
        ann - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.String name,
        +                     int pos,
        +                     java.lang.Class value,
        +                     org.cojen.classfile.attribute.Annotation ann)
        +
        Description copied from class: AnnotationVisitor
        +
        Override to visit Classes.
        +
        +
        Overrides:
        +
        visit in class AnnotationVisitor<java.lang.Object,org.cojen.classfile.attribute.Annotation>
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - Class visited
        ann - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.String name,
        +                     int pos,
        +                     java.lang.Enum value,
        +                     org.cojen.classfile.attribute.Annotation ann)
        +
        Description copied from class: AnnotationVisitor
        +
        Override to visit Enums.
        +
        +
        Overrides:
        +
        visit in class AnnotationVisitor<java.lang.Object,org.cojen.classfile.attribute.Annotation>
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - Enum visited
        ann - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.String name,
        +                     int pos,
        +                     java.lang.annotation.Annotation[] value,
        +                     org.cojen.classfile.attribute.Annotation ann)
        +
        Description copied from class: AnnotationVisitor
        +
        Visits each array element.
        +
        +
        Overrides:
        +
        visit in class AnnotationVisitor<java.lang.Object,org.cojen.classfile.attribute.Annotation>
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - Annotation array visited
        ann - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.String name,
        +                     int pos,
        +                     int[] value,
        +                     org.cojen.classfile.attribute.Annotation ann)
        +
        Description copied from class: AnnotationVisitor
        +
        Visits each array element.
        +
        +
        Overrides:
        +
        visit in class AnnotationVisitor<java.lang.Object,org.cojen.classfile.attribute.Annotation>
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - int array visited
        ann - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.String name,
        +                     int pos,
        +                     long[] value,
        +                     org.cojen.classfile.attribute.Annotation ann)
        +
        Description copied from class: AnnotationVisitor
        +
        Visits each array element.
        +
        +
        Overrides:
        +
        visit in class AnnotationVisitor<java.lang.Object,org.cojen.classfile.attribute.Annotation>
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - long array visited
        ann - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.String name,
        +                     int pos,
        +                     float[] value,
        +                     org.cojen.classfile.attribute.Annotation ann)
        +
        Description copied from class: AnnotationVisitor
        +
        Visits each array element.
        +
        +
        Overrides:
        +
        visit in class AnnotationVisitor<java.lang.Object,org.cojen.classfile.attribute.Annotation>
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - float array visited
        ann - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.String name,
        +                     int pos,
        +                     double[] value,
        +                     org.cojen.classfile.attribute.Annotation ann)
        +
        Description copied from class: AnnotationVisitor
        +
        Visits each array element.
        +
        +
        Overrides:
        +
        visit in class AnnotationVisitor<java.lang.Object,org.cojen.classfile.attribute.Annotation>
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - double array visited
        ann - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.String name,
        +                     int pos,
        +                     boolean[] value,
        +                     org.cojen.classfile.attribute.Annotation ann)
        +
        Description copied from class: AnnotationVisitor
        +
        Visits each array element.
        +
        +
        Overrides:
        +
        visit in class AnnotationVisitor<java.lang.Object,org.cojen.classfile.attribute.Annotation>
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - boolean array visited
        ann - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.String name,
        +                     int pos,
        +                     byte[] value,
        +                     org.cojen.classfile.attribute.Annotation ann)
        +
        Description copied from class: AnnotationVisitor
        +
        Visits each array element.
        +
        +
        Overrides:
        +
        visit in class AnnotationVisitor<java.lang.Object,org.cojen.classfile.attribute.Annotation>
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - byte array visited
        ann - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.String name,
        +                     int pos,
        +                     short[] value,
        +                     org.cojen.classfile.attribute.Annotation ann)
        +
        Description copied from class: AnnotationVisitor
        +
        Visits each array element.
        +
        +
        Overrides:
        +
        visit in class AnnotationVisitor<java.lang.Object,org.cojen.classfile.attribute.Annotation>
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - short array visited
        ann - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.String name,
        +                     int pos,
        +                     char[] value,
        +                     org.cojen.classfile.attribute.Annotation ann)
        +
        Description copied from class: AnnotationVisitor
        +
        Visits each array element.
        +
        +
        Overrides:
        +
        visit in class AnnotationVisitor<java.lang.Object,org.cojen.classfile.attribute.Annotation>
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - char array visited
        ann - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.String name,
        +                     int pos,
        +                     java.lang.String[] value,
        +                     org.cojen.classfile.attribute.Annotation ann)
        +
        Description copied from class: AnnotationVisitor
        +
        Visits each array element.
        +
        +
        Overrides:
        +
        visit in class AnnotationVisitor<java.lang.Object,org.cojen.classfile.attribute.Annotation>
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - String array visited
        ann - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.String name,
        +                     int pos,
        +                     java.lang.Class[] value,
        +                     org.cojen.classfile.attribute.Annotation ann)
        +
        Description copied from class: AnnotationVisitor
        +
        Visits each array element.
        +
        +
        Overrides:
        +
        visit in class AnnotationVisitor<java.lang.Object,org.cojen.classfile.attribute.Annotation>
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - Class array visited
        ann - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.String name,
        +                     int pos,
        +                     java.lang.Enum[] value,
        +                     org.cojen.classfile.attribute.Annotation ann)
        +
        Description copied from class: AnnotationVisitor
        +
        Visits each array element.
        +
        +
        Overrides:
        +
        visit in class AnnotationVisitor<java.lang.Object,org.cojen.classfile.attribute.Annotation>
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - Enum array visited
        ann - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + +

Copyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.

+ + -- cgit v1.2.3