public static class ConstantEvaluator.LastAssignmentFinder
extends org.jetbrains.uast.visitor.AbstractUastVisitor
| Constructor and Description |
|---|
LastAssignmentFinder(com.intellij.psi.PsiVariable variable,
org.jetbrains.uast.UElement endAt,
org.jetbrains.uast.UastContext context,
ConstantEvaluator constantEvaluator,
int variableLevel) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterVisitBinaryExpression(org.jetbrains.uast.UBinaryExpression node) |
void |
afterVisitElement(org.jetbrains.uast.UElement node) |
java.lang.Object |
getCurrentValue() |
org.jetbrains.uast.UElement |
getLastAssignment() |
boolean |
visitElement(org.jetbrains.uast.UElement node) |
boolean |
visitVariable(org.jetbrains.uast.UVariable node) |
afterVisitAnnotation, afterVisitArrayAccessExpression, afterVisitBinaryExpressionWithType, afterVisitBlockExpression, afterVisitBreakExpression, afterVisitCallableReferenceExpression, afterVisitCallExpression, afterVisitCatchClause, afterVisitClass, afterVisitClassLiteralExpression, afterVisitContinueExpression, afterVisitDeclaration, afterVisitDeclarationsExpression, afterVisitDoWhileExpression, afterVisitEnumConstant, afterVisitExpression, afterVisitExpressionList, afterVisitField, afterVisitFile, afterVisitForEachExpression, afterVisitForExpression, afterVisitIfExpression, afterVisitImportStatement, afterVisitInitializer, afterVisitLabeledExpression, afterVisitLambdaExpression, afterVisitLiteralExpression, afterVisitLocalVariable, afterVisitMethod, afterVisitObjectLiteralExpression, afterVisitParameter, afterVisitParenthesizedExpression, afterVisitPolyadicExpression, afterVisitPostfixExpression, afterVisitPrefixExpression, afterVisitQualifiedReferenceExpression, afterVisitReturnExpression, afterVisitSimpleNameReferenceExpression, afterVisitSuperExpression, afterVisitSwitchClauseExpression, afterVisitSwitchExpression, afterVisitThisExpression, afterVisitThrowExpression, afterVisitTryExpression, afterVisitTypeReferenceExpression, afterVisitUnaryExpression, afterVisitVariable, afterVisitWhileExpression, visitAnnotation, visitArrayAccessExpression, visitBinaryExpression, visitBinaryExpressionWithType, visitBlockExpression, visitBreakExpression, visitCallableReferenceExpression, visitCallExpression, visitCatchClause, visitClass, visitClassLiteralExpression, visitContinueExpression, visitDeclaration, visitDeclarationsExpression, visitDoWhileExpression, visitEnumConstant, visitExpression, visitExpressionList, visitField, visitFile, visitForEachExpression, visitForExpression, visitIfExpression, visitImportStatement, visitInitializer, visitLabeledExpression, visitLambdaExpression, visitLiteralExpression, visitLocalVariable, visitMethod, visitObjectLiteralExpression, visitParameter, visitParenthesizedExpression, visitPolyadicExpression, visitPostfixExpression, visitPrefixExpression, visitQualifiedReferenceExpression, visitReturnExpression, visitSimpleNameReferenceExpression, visitSuperExpression, visitSwitchClauseExpression, visitSwitchExpression, visitThisExpression, visitThrowExpression, visitTryExpression, visitTypeReferenceExpression, visitUnaryExpression, visitWhileExpressionpublic LastAssignmentFinder(@NonNull
com.intellij.psi.PsiVariable variable,
@NonNull
org.jetbrains.uast.UElement endAt,
@NonNull
org.jetbrains.uast.UastContext context,
@Nullable
ConstantEvaluator constantEvaluator,
int variableLevel)
@Nullable public java.lang.Object getCurrentValue()
@Nullable public org.jetbrains.uast.UElement getLastAssignment()
public boolean visitElement(org.jetbrains.uast.UElement node)
visitElement in interface org.jetbrains.uast.visitor.UastVisitorvisitElement in class org.jetbrains.uast.visitor.AbstractUastVisitorpublic boolean visitVariable(org.jetbrains.uast.UVariable node)
visitVariable in interface org.jetbrains.uast.visitor.UastVisitorvisitVariable in class org.jetbrains.uast.visitor.AbstractUastVisitorpublic void afterVisitBinaryExpression(org.jetbrains.uast.UBinaryExpression node)
afterVisitBinaryExpression in interface org.jetbrains.uast.visitor.UastVisitorafterVisitBinaryExpression in class org.jetbrains.uast.visitor.AbstractUastVisitorpublic void afterVisitElement(org.jetbrains.uast.UElement node)
afterVisitElement in interface org.jetbrains.uast.visitor.UastVisitorafterVisitElement in class org.jetbrains.uast.visitor.AbstractUastVisitor