Interface AnyPatternTree

All Superinterfaces:
PatternTree, Tree

public interface AnyPatternTree extends PatternTree
A tree node for a binding pattern that matches a pattern with a variable of any name and a type of the match candidate; an unnamed pattern. For example the use of underscore _ below:
  if (r instanceof R(_)) {}
Since:
22
  • Nested Class Summary

    Nested classes/interfaces inherited from interface Tree

    Tree.Kind
  • Method Summary

    Methods inherited from interface Tree

    accept, getKind