Class UStaticIdent

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.UStaticIdent
All Implemented Interfaces:
Unifiable<com.sun.source.tree.Tree>, com.sun.source.tree.ExpressionTree, com.sun.source.tree.IdentifierTree, com.sun.source.tree.Tree, com.sun.source.tree.TreeVisitor<Choice<Unifier>,Unifier>, Serializable

public abstract class UStaticIdent extends UExpression
Identifier representing a static member (field, method, etc.) on a class.
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(com.google.errorprone.refaster.UClassIdent classIdent, CharSequence member, UType memberType)
     
    create(com.sun.tools.javac.code.Symbol.ClassSymbol classSym, CharSequence member, UType memberType)
     
    create(String qualifiedClass, CharSequence member, UType memberType)
     
    protected Choice<Unifier>
    defaultAction(com.sun.source.tree.Tree node, Unifier unifier)
     
    com.sun.source.tree.Tree.Kind
     
    abstract StringName
     
    com.sun.tools.javac.tree.JCTree.JCExpression
    inline(Inliner inliner)
     

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

    negate

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

    unify

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

    visit, visit, visitAnnotatedType, visitAnnotation, visitAnyPattern, visitArrayAccess, visitArrayType, visitAssert, visitAssignment, visitBinary, visitBindingPattern, visitBlock, visitBreak, visitCase, visitCatch, visitClass, visitCompilationUnit, visitCompoundAssignment, visitConditionalExpression, visitConstantCaseLabel, visitContinue, visitDeconstructionPattern, visitDefaultCaseLabel, visitDoWhileLoop, visitEmptyStatement, visitEnhancedForLoop, visitErroneous, visitExports, visitExpressionStatement, visitForLoop, visitIdentifier, visitIf, visitImport, visitInstanceOf, visitIntersectionType, visitLabeledStatement, visitLambdaExpression, visitLiteral, visitMemberReference, visitMemberSelect, visitMethod, visitMethodInvocation, visitModifiers, visitModule, visitNewArray, visitNewClass, visitOpens, visitOther, visitPackage, visitParameterizedType, visitParenthesized, visitPatternCaseLabel, 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

    • UStaticIdent

      public UStaticIdent()
  • Method Details

    • create

      public static UStaticIdent create(com.google.errorprone.refaster.UClassIdent classIdent, CharSequence member, UType memberType)
    • create

      public static UStaticIdent create(String qualifiedClass, CharSequence member, UType memberType)
    • create

      public static UStaticIdent create(com.sun.tools.javac.code.Symbol.ClassSymbol classSym, CharSequence member, UType memberType)
    • getName

      public abstract StringName getName()
    • inline

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

      protected Choice<Unifier> defaultAction(com.sun.source.tree.Tree node, Unifier unifier)
      Overrides:
      defaultAction in class UTree<com.sun.tools.javac.tree.JCTree.JCExpression>
    • 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