Interface AnnotationBuilder

    • Method Detail

      • addClassAnnotations

        void addClassAnnotations​(ClassInfo classInfo,
                                 JClass jClass)
        add annotations to a JClass.
        Parameters:
        classInfo - the classInfo
        jClass - the jClass
      • addFieldAnnotations

        void addFieldAnnotations​(FieldInfo fieldInfo,
                                 JField field)
        add annotation to a property definition.
        Parameters:
        fieldInfo - the fieldInfo
        field - the jField
      • addFieldGetterAnnotations

        void addFieldGetterAnnotations​(FieldInfo fieldInfo,
                                       JMethod method)
        add annotations to a getter of a property.
        Parameters:
        fieldInfo - the fieldInfo
        method - the getter method
      • addEnumAnnotations

        void addEnumAnnotations​(SimpleType simpleType,
                                JEnum jEnums)
        add annotations to a java5 enum.
        Parameters:
        simpleType - the corresponding simpleType
        jEnums - the jEnum
      • addEnumConstantAnnotations

        void addEnumConstantAnnotations​(Facet facet,
                                        JEnumConstant enumConstant)
        add annotations to a java5 enum constant.
        Parameters:
        facet - the corresponding facet
        enumConstant - the jEnumConstant