Class UFreeIdent
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.UFreeIdent
- 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
Free identifier that can be bound to any expression of the appropriate type.
- 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
-
Method Summary
Modifier and TypeMethodDescription<R,
D> R accept
(com.sun.source.tree.TreeVisitor<R, D> visitor, D data) static UFreeIdent
create
(CharSequence identifier) defaultAction
(com.sun.source.tree.Tree target, Unifier unifier) com.sun.source.tree.Tree.Kind
getKind()
abstract StringName
getName()
com.sun.tools.javac.tree.JCTree.JCExpression
com.google.errorprone.refaster.UFreeIdent.Key
key()
visitIdentifier
(com.sun.source.tree.IdentifierTree node, Unifier unifier) Methods inherited from class com.google.errorprone.refaster.UExpression
negate
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, 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
-
Constructor Details
-
UFreeIdent
public UFreeIdent()
-
-
Method Details
-
create
-
getName
-
key
public com.google.errorprone.refaster.UFreeIdent.Key key() -
inline
-
visitIdentifier
-
defaultAction
- Overrides:
defaultAction
in classUTree<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 interfacecom.sun.source.tree.Tree
-
getKind
public com.sun.source.tree.Tree.Kind getKind()- Specified by:
getKind
in interfacecom.sun.source.tree.Tree
-