Class UMethodInvocation

java.lang.Object
com.sun.source.util.SimpleTreeVisitor<Choice<Unifier>,Unifier>
com.google.errorprone.refaster.UTree<com.sun.tools.javac.tree.JCTree.JCExpression>
com.google.errorprone.refaster.UExpression
com.google.errorprone.refaster.UMethodInvocation
All Implemented Interfaces:
Unifiable<com.sun.source.tree.Tree>, com.sun.source.tree.CaseLabelTreePREVIEW, com.sun.source.tree.ExpressionTree, com.sun.source.tree.MethodInvocationTree, com.sun.source.tree.Tree, com.sun.source.tree.TreeVisitor<Choice<Unifier>,Unifier>, Serializable

public abstract class UMethodInvocation extends UExpression implements com.sun.source.tree.MethodInvocationTree
UTree version of MethodInvocationTree.
Author:
lowasser@google.com (Louis Wasserman)
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from interface com.sun.source.tree.Tree

    com.sun.source.tree.Tree.Kind
  • Field Summary

    Fields inherited from class com.sun.source.util.SimpleTreeVisitor

    DEFAULT_VALUE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    <R, D> R
    accept(com.sun.source.tree.TreeVisitor<R,D> visitor, D data)
     
    create(UExpression methodSelect, UExpression... arguments)
     
    create(List<? extends UExpression> typeArguments, UExpression methodSelect, UExpression... arguments)
     
    create(List<? extends UExpression> typeArguments, UExpression methodSelect, List<UExpression> arguments)
     
    abstract com.google.common.collect.ImmutableList<UExpression>
     
    com.sun.source.tree.Tree.Kind
     
    abstract UExpression
     
    abstract com.google.common.collect.ImmutableList<UExpression>
     
    com.sun.tools.javac.tree.JCTree.JCMethodInvocation
    inline(Inliner inliner)
     
    visitMethodInvocation(com.sun.source.tree.MethodInvocationTree methodInvocation, Unifier unifier)
     

    Methods inherited from class com.google.errorprone.refaster.UExpression

    negate

    Methods inherited from class com.google.errorprone.refaster.UTree

    defaultAction, unify

    Methods inherited from class com.sun.source.util.SimpleTreeVisitor

    visit, visit, visitAnnotatedType, visitAnnotation, visitArrayAccess, visitArrayType, visitAssert, visitAssignment, visitBinary, visitBindingPattern, visitBlock, visitBreak, visitCase, visitCatch, visitClass, visitCompilationUnit, visitCompoundAssignment, visitConditionalExpression, visitContinue, visitDefaultCaseLabel, visitDoWhileLoop, visitEmptyStatement, visitEnhancedForLoop, visitErroneous, visitExports, visitExpressionStatement, visitForLoop, visitGuardedPattern, visitIdentifier, visitIf, visitImport, visitInstanceOf, visitIntersectionType, visitLabeledStatement, visitLambdaExpression, visitLiteral, visitMemberReference, visitMemberSelect, visitMethod, visitModifiers, visitModule, visitNewArray, visitNewClass, visitOpens, visitOther, visitPackage, visitParameterizedType, visitParenthesized, visitParenthesizedPattern, visitPrimitiveType, visitProvides, visitRequires, visitReturn, visitSwitch, visitSwitchExpression, visitSynchronized, visitThrow, visitTry, visitTypeCast, visitTypeParameter, visitUnary, visitUnionType, visitUses, visitVariable, visitWhileLoop, visitWildcard, visitYield

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • UMethodInvocation

      public UMethodInvocation()
  • Method Details

    • create

      public static UMethodInvocation create(List<? extends UExpression> typeArguments, UExpression methodSelect, List<UExpression> arguments)
    • create

      public static UMethodInvocation create(List<? extends UExpression> typeArguments, UExpression methodSelect, UExpression... arguments)
    • create

      public static UMethodInvocation create(UExpression methodSelect, UExpression... arguments)
    • getTypeArguments

      public abstract com.google.common.collect.ImmutableList<UExpression> getTypeArguments()
      Specified by:
      getTypeArguments in interface com.sun.source.tree.MethodInvocationTree
    • getMethodSelect

      public abstract UExpression getMethodSelect()
      Specified by:
      getMethodSelect in interface com.sun.source.tree.MethodInvocationTree
    • getArguments

      public abstract com.google.common.collect.ImmutableList<UExpression> getArguments()
      Specified by:
      getArguments in interface com.sun.source.tree.MethodInvocationTree
    • visitMethodInvocation

      @Nullable public Choice<Unifier> visitMethodInvocation(com.sun.source.tree.MethodInvocationTree methodInvocation, @Nullable Unifier unifier)
      Specified by:
      visitMethodInvocation in interface com.sun.source.tree.TreeVisitor<Choice<Unifier>,Unifier>
      Overrides:
      visitMethodInvocation in class com.sun.source.util.SimpleTreeVisitor<Choice<Unifier>,Unifier>
    • accept

      public <R, D> R accept(com.sun.source.tree.TreeVisitor<R,D> visitor, D data)
      Specified by:
      accept in interface com.sun.source.tree.Tree
    • getKind

      public com.sun.source.tree.Tree.Kind getKind()
      Specified by:
      getKind in interface com.sun.source.tree.Tree
    • inline

      public com.sun.tools.javac.tree.JCTree.JCMethodInvocation inline(Inliner inliner) throws CouldNotResolveImportException
      Throws:
      CouldNotResolveImportException