Class AnnotatePlugin

    • Field Detail

      • ANNOTATE_PROPERTY_QNAME

        public static final QName ANNOTATE_PROPERTY_QNAME
      • ANNOTATE_PROPERTY_GETTER_QNAME

        public static final QName ANNOTATE_PROPERTY_GETTER_QNAME
      • ANNOTATE_PROPERTY_SETTER_QNAME

        public static final QName ANNOTATE_PROPERTY_SETTER_QNAME
      • ANNOTATE_PROPERTY_FIELD_QNAME

        public static final QName ANNOTATE_PROPERTY_FIELD_QNAME
      • ANNOTATE_PROPERTY_SETTER_PARAMETER_QNAME

        public static final QName ANNOTATE_PROPERTY_SETTER_PARAMETER_QNAME
      • ANNOTATE_PACKAGE_QNAME

        public static final QName ANNOTATE_PACKAGE_QNAME
      • ANNOTATE_CLASS_QNAME

        public static final QName ANNOTATE_CLASS_QNAME
      • ANNOTATE_ELEMENT_QNAME

        public static final QName ANNOTATE_ELEMENT_QNAME
      • ANNOTATE_ENUM_QNAME

        public static final QName ANNOTATE_ENUM_QNAME
      • ANNOTATE_ENUM_CONSTANT_QNAME

        public static final QName ANNOTATE_ENUM_CONSTANT_QNAME
      • ANNOTATE_ENUM_VALUE_METHOD_QNAME

        public static final QName ANNOTATE_ENUM_VALUE_METHOD_QNAME
      • ANNOTATE_ENUM_FROM_VALUE_METHOD_QNAME

        public static final QName ANNOTATE_ENUM_FROM_VALUE_METHOD_QNAME
      • ANNOTATE_QNAME

        public static final QName ANNOTATE_QNAME
      • LEGACY_ANNOTATE_PROPERTY_QNAME

        public static final QName LEGACY_ANNOTATE_PROPERTY_QNAME
      • LEGACY_ANNOTATE_PROPERTY_GETTER_QNAME

        public static final QName LEGACY_ANNOTATE_PROPERTY_GETTER_QNAME
      • LEGACY_ANNOTATE_PROPERTY_SETTER_QNAME

        public static final QName LEGACY_ANNOTATE_PROPERTY_SETTER_QNAME
      • LEGACY_ANNOTATE_PROPERTY_FIELD_QNAME

        public static final QName LEGACY_ANNOTATE_PROPERTY_FIELD_QNAME
      • LEGACY_ANNOTATE_PROPERTY_SETTER_PARAMETER_QNAME

        public static final QName LEGACY_ANNOTATE_PROPERTY_SETTER_PARAMETER_QNAME
      • LEGACY_ANNOTATE_PACKAGE_QNAME

        public static final QName LEGACY_ANNOTATE_PACKAGE_QNAME
      • LEGACY_ANNOTATE_CLASS_QNAME

        public static final QName LEGACY_ANNOTATE_CLASS_QNAME
      • LEGACY_ANNOTATE_ELEMENT_QNAME

        public static final QName LEGACY_ANNOTATE_ELEMENT_QNAME
      • LEGACY_ANNOTATE_ENUM_QNAME

        public static final QName LEGACY_ANNOTATE_ENUM_QNAME
      • LEGACY_ANNOTATE_ENUM_CONSTANT_QNAME

        public static final QName LEGACY_ANNOTATE_ENUM_CONSTANT_QNAME
      • LEGACY_ANNOTATE_ENUM_VALUE_METHOD_QNAME

        public static final QName LEGACY_ANNOTATE_ENUM_VALUE_METHOD_QNAME
      • LEGACY_ANNOTATE_ENUM_FROM_VALUE_METHOD_QNAME

        public static final QName LEGACY_ANNOTATE_ENUM_FROM_VALUE_METHOD_QNAME
      • LEGACY_ANNOTATE_QNAME

        public static final QName LEGACY_ANNOTATE_QNAME
      • CUSTOMIZATION_ELEMENT_QNAMES

        public static final Set<QName> CUSTOMIZATION_ELEMENT_QNAMES
    • Constructor Detail

      • AnnotatePlugin

        public AnnotatePlugin()
    • Method Detail

      • getOptionName

        public String getOptionName()
        Specified by:
        getOptionName in class com.sun.tools.xjc.Plugin
      • getUsage

        public String getUsage()
        Specified by:
        getUsage in class com.sun.tools.xjc.Plugin
      • getDefaultFieldTarget

        public String getDefaultFieldTarget()
      • setDefaultFieldTarget

        public void setDefaultFieldTarget​(String defaultFieldTarget)
      • setAnnotationParser

        public void setAnnotationParser​(XAnnotationParser annotationParser)
      • getAnnotator

        public Annotator getAnnotator()
      • setAnnotator

        public void setAnnotator​(Annotator annotator)
      • run

        public boolean run​(com.sun.tools.xjc.outline.Outline outline,
                           com.sun.tools.xjc.Options options,
                           ErrorHandler errorHandler)
        Overrides:
        run in class AbstractPlugin
      • processElementOutline

        protected void processElementOutline​(com.sun.tools.xjc.outline.ElementOutline elementOutline,
                                             com.sun.tools.xjc.Options options,
                                             ErrorHandler errorHandler)
      • processEnumOutline

        protected void processEnumOutline​(com.sun.tools.xjc.outline.EnumOutline enumOutline,
                                          com.sun.tools.xjc.Options options,
                                          ErrorHandler errorHandler)
      • processClassOutline

        protected void processClassOutline​(com.sun.tools.xjc.outline.ClassOutline classOutline,
                                           com.sun.tools.xjc.Options options,
                                           ErrorHandler errorHandler)
      • processFieldOutline

        protected void processFieldOutline​(com.sun.tools.xjc.outline.ClassOutline classOutline,
                                           com.sun.tools.xjc.outline.FieldOutline fieldOutline,
                                           com.sun.tools.xjc.Options options,
                                           ErrorHandler errorHandler)
      • processEnumConstantOutline

        protected void processEnumConstantOutline​(com.sun.tools.xjc.outline.EnumOutline enumOutline,
                                                  com.sun.tools.xjc.outline.EnumConstantOutline enumConstantOutline,
                                                  com.sun.tools.xjc.Options options,
                                                  ErrorHandler errorHandler)
      • annotateElementOutline

        protected void annotateElementOutline​(com.sun.codemodel.JCodeModel codeModel,
                                              com.sun.tools.xjc.outline.ElementOutline elementOutline,
                                              com.sun.tools.xjc.model.CCustomizations customizations,
                                              ErrorHandler errorHandler)
      • annotateEnumOutline

        protected void annotateEnumOutline​(com.sun.codemodel.JCodeModel codeModel,
                                           com.sun.tools.xjc.outline.EnumOutline enumOutline,
                                           com.sun.tools.xjc.model.CCustomizations customizations,
                                           ErrorHandler errorHandler)
      • annotateEnumConstantOutline

        protected void annotateEnumConstantOutline​(com.sun.codemodel.JCodeModel codeModel,
                                                   com.sun.tools.xjc.outline.Outline outline,
                                                   com.sun.tools.xjc.outline.EnumConstantOutline enumConstantOutline,
                                                   com.sun.tools.xjc.model.CCustomizations customizations,
                                                   ErrorHandler errorHandler)
      • annotateClassOutline

        protected void annotateClassOutline​(com.sun.codemodel.JCodeModel codeModel,
                                            com.sun.tools.xjc.outline.ClassOutline classOutline,
                                            com.sun.tools.xjc.model.CCustomizations customizations,
                                            ErrorHandler errorHandler)
      • annotateFieldOutline

        protected void annotateFieldOutline​(com.sun.codemodel.JCodeModel codeModel,
                                            com.sun.tools.xjc.outline.FieldOutline fieldOutline,
                                            com.sun.tools.xjc.model.CCustomizations customizations,
                                            ErrorHandler errorHandler)