Class SimpleGroovyAnnotationRef

    • Constructor Detail

      • SimpleGroovyAnnotationRef

        public SimpleGroovyAnnotationRef​(String name,
                                         String desc)
    • Method Detail

      • isTypeAvailable

        public boolean isTypeAvailable()
      • name

        public String name()
        Description copied from interface: GroovyAnnotationRef
        Name of the annotation being referenced. Once resolved, equates to type().typeName().
        Specified by:
        name in interface GroovyAnnotationRef
        Returns:
        the name of the annotation reference
      • setName

        public void setName​(String name)
      • description

        public String description()
        Description copied from interface: GroovyAnnotationRef
        The string representation of the annotation reference. Initially implemented as a temporary hack stored from the source. To be replaced with strong-typed finer grained information.
        Specified by:
        description in interface GroovyAnnotationRef
        Returns:
        the text representation of the annotation ref