Class WildcardType

    • Method Detail

      • accept

        public <R,​A> R accept​(GenericVisitor<R,​A> v,
                                    A arg)
        Description copied from interface: Visitable
        Accept method for visitor support.
        Specified by:
        accept in interface Visitable
        Type Parameters:
        R - the type of the return value of the visitor
        A - the type the user argument passed to the visitor
        Parameters:
        v - the visitor implementation
        arg - the argument passed to the visitor (of type A)
        Returns:
        the result of the visit (of type R)
      • accept

        public <A> void accept​(VoidVisitor<A> v,
                               A arg)
        Description copied from interface: Visitable
        Accept method for visitor support.
        Specified by:
        accept in interface Visitable
        Type Parameters:
        A - the type the argument passed for the visitor
        Parameters:
        v - the visitor implementation
        arg - any value relevant for the visitor (of type A)
      • setExtendedType

        @Generated("com.github.javaparser.generator.core.node.PropertyGenerator")
        public WildcardType setExtendedType​(ReferenceType extendedType)
        Sets the extended type
        Parameters:
        extendedType - the extends, can be null
        Returns:
        this, the WildcardType
      • setExtendedTypes

        @Deprecated
        public WildcardType setExtendedTypes​(ReferenceType extendedType)
        Deprecated.
        use setExtendedType instead,
        Sets the extended type
        Parameters:
        extendedType - the extends, can be null
        Returns:
        this, the WildcardType
      • setSuperType

        @Generated("com.github.javaparser.generator.core.node.PropertyGenerator")
        public WildcardType setSuperType​(ReferenceType superType)
        Sets the supertype
        Parameters:
        superType - the super, can be null
        Returns:
        this, the WildcardType
      • setSuperTypes

        @Deprecated
        public WildcardType setSuperTypes​(ReferenceType superType)
        Deprecated.
        use setSuperType instead
        Sets the supertype
        Parameters:
        superType - the super, can be null
        Returns:
        this, the WildcardType
      • getNodeLists

        @Generated("com.github.javaparser.generator.core.node.GetNodeListsGenerator")
        public List<NodeList<?>> getNodeLists()
        Description copied from class: Node
        The list of NodeLists owned by this node.
        Overrides:
        getNodeLists in class Node
      • remove

        @Generated("com.github.javaparser.generator.core.node.RemoveMethodGenerator")
        public boolean remove​(Node node)
        Overrides:
        remove in class Type
      • removeExtendedType

        @Generated("com.github.javaparser.generator.core.node.RemoveMethodGenerator")
        public WildcardType removeExtendedType()
      • removeSuperType

        @Generated("com.github.javaparser.generator.core.node.RemoveMethodGenerator")
        public WildcardType removeSuperType()
      • getMetaModel

        @Generated("com.github.javaparser.generator.core.node.GetMetaModelGenerator")
        public WildcardTypeMetaModel getMetaModel()
        Overrides:
        getMetaModel in class Type
        Returns:
        get JavaParser specific node introspection information.
      • replace

        @Generated("com.github.javaparser.generator.core.node.ReplaceMethodGenerator")
        public boolean replace​(Node node,
                               Node replacementNode)
        Overrides:
        replace in class Type