Class Pattern

    • Method Detail

      • patternVariables

        public abstract java.util.List<SingleVariableDeclaration> patternVariables()
        Returns the list of pattern variables
        Returns:
        the list of pattern variables (element type: SingleVariableDeclaration)
        Throws:
        java.lang.UnsupportedOperationException - if this operation is not used for JLS18
        java.lang.UnsupportedOperationException - if this operation is not used with previewEnabled flag as true
        Restriction:
        This method is not intended to be referenced by clients.