Enum Class TreeUtils.MemberReferenceKind

java.lang.Object
java.lang.Enum<TreeUtils.MemberReferenceKind>
org.checkerframework.javacutil.TreeUtils.MemberReferenceKind
All Implemented Interfaces:
Serializable, Comparable<TreeUtils.MemberReferenceKind>, Constable
Enclosing class:
TreeUtils

public static enum TreeUtils.MemberReferenceKind extends Enum<TreeUtils.MemberReferenceKind>
This is a duplication of com.sun.tools.javac.tree.JCTree.JCMemberReference.ReferenceKind, which is not part of the supported javac API.
  • Enum Constant Details

  • Method Details

    • values

      public static TreeUtils.MemberReferenceKind[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static TreeUtils.MemberReferenceKind valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • isUnbound

      public boolean isUnbound()
      Whether this kind is unbound.
      Returns:
      Whether this kind is unbound
    • getMemberReferenceKind

      public static TreeUtils.MemberReferenceKind getMemberReferenceKind(MemberReferenceTree tree)
      Returns the kind of member reference tree is.
      Parameters:
      tree - a member reference tree
      Returns:
      the kind of member reference tree is