Package org.checkerframework.javacutil
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
This is a duplication of 
 com.sun.tools.javac.tree.JCTree.JCMemberReference.ReferenceKind, which is not part of the
 supported javac API.- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionArrayType # newExpr # instMethodInner # newType # staticMethodsuper # instMethodToplevel # newType # instMethod
- 
Method SummaryModifier and TypeMethodDescriptionReturns the kind of member referencetreeis.booleanReturns whether this kind is a constructor reference.booleanWhether this kind is unbound.Returns the enum constant of this class with the specified name.static TreeUtils.MemberReferenceKind[]values()Returns an array containing the constants of this enum class, in the order they are declared.
- 
Enum Constant Details- 
SUPERsuper # instMethod
- 
UNBOUNDType # instMethod
- 
STATICType # staticMethod
- 
BOUNDExpr # instMethod
- 
IMPLICIT_INNERInner # new
- 
TOPLEVELToplevel # new
- 
ARRAY_CTORArrayType # new
 
- 
- 
Method Details- 
valuesReturns 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
 
- 
valueOfReturns 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
 
- 
isUnboundpublic boolean isUnbound()Whether this kind is unbound.- Returns:
- Whether this kind is unbound
 
- 
isConstructorReferencepublic boolean isConstructorReference()Returns whether this kind is a constructor reference.- Returns:
- whether this kind is a constructor reference
 
- 
getMemberReferenceKindReturns the kind of member referencetreeis.- Parameters:
- tree- a member reference tree
- Returns:
- the kind of member reference treeis
 
 
-