Module jdk.compiler

Interface MemberReferenceTree

  • All Superinterfaces:
    ExpressionTree, Tree


    public interface MemberReferenceTree
    extends ExpressionTree
    A tree node for a member reference expression. For example:
       expression # [ identifier | new ]
     
    Since:
    1.8
    • Method Detail

      • getQualifierExpression

        ExpressionTree getQualifierExpression​()
        Returns the qualifier expression for the reference.
        Returns:
        the qualifier expression
      • getName

        Name getName​()
        Returns the name of the reference.
        Returns:
        the name
      • getTypeArguments

        List<? extends ExpressionTree> getTypeArguments​()
        Returns the type arguments for the reference.
        Returns:
        the type arguments