Class NullPattern


public class NullPattern extends Pattern
Null Pattern node.
Since:
3.27
Restriction:
This class is not intended to be referenced by clients.
Restriction:
This class is not intended to be instantiated by clients.
  • Method Details

    • propertyDescriptors

      public static List propertyDescriptors(int apiLevel)
      Returns a list of structural property descriptors for this node type. Clients must not modify the result.
      Parameters:
      apiLevel - the API level; one of the AST.JLS* constants
      Returns:
      a list of property descriptors (element type: StructuralPropertyDescriptor)
    • patternVariables

      public List<SingleVariableDeclaration> patternVariables()
      Description copied from class: Pattern
      Returns the list of pattern variables
      Specified by:
      patternVariables in class Pattern
      Returns:
      the list of pattern variables (element type: SingleVariableDeclaration)