Interface CtTypeMemberWildcardImportReference

    • Method Detail

      • getSimpleName

        java.lang.String getSimpleName()
        Returns the fully qualified name of type followed by `.*`
        Specified by:
        getSimpleName in interface CtReference
      • setSimpleName

        <T extends CtReference> T setSimpleName​(java.lang.String simpleName)
        Description copied from interface: CtReference
        Sets the name of referenced element.
        Specified by:
        setSimpleName in interface CtReference
      • getAnnotations

        java.util.List<CtAnnotation<? extends java.lang.annotation.Annotation>> getAnnotations()
        Description copied from interface: CtElement
        Returns the annotations that are present on this element. For sake of encapsulation, the returned list is unmodifiable.
        Specified by:
        getAnnotations in interface CtElement
      • addAnnotation

        <E extends CtElement> E addAnnotation​(CtAnnotation<? extends java.lang.annotation.Annotation> annotation)
        Description copied from interface: CtElement
        Add an annotation for this element
        Specified by:
        addAnnotation in interface CtElement
        Returns:
        true if this element changed as a result of the call
      • removeAnnotation

        boolean removeAnnotation​(CtAnnotation<? extends java.lang.annotation.Annotation> annotation)
        Description copied from interface: CtElement
        Remove an annotation for this element
        Specified by:
        removeAnnotation in interface CtElement
        Returns:
        true if this element changed as a result of the call
      • setAnnotations

        <E extends CtElement> E setAnnotations​(java.util.List<CtAnnotation<? extends java.lang.annotation.Annotation>> annotation)
        Description copied from interface: CtElement
        Sets the annotations for this element.
        Specified by:
        setAnnotations in interface CtElement
      • isImplicit

        boolean isImplicit()
        Description copied from interface: CtElement
        Returns true if this element is not present in the code (automatically added by the Java compiler or inferred when the model is built). Consequently, implicit elements are not pretty-printed and have no position.
        Specified by:
        isImplicit in interface CtElement
      • setImplicit

        <E extends CtElement> E setImplicit​(boolean b)
        Description copied from interface: CtElement
        Sets this element to be implicit.
        Specified by:
        setImplicit in interface CtElement