Class LiveVarTransfer
java.lang.Object
org.checkerframework.dataflow.cfg.node.AbstractNodeVisitor<TransferResult<UnusedAbstractValue,LiveVarStore>,TransferInput<UnusedAbstractValue,LiveVarStore>>
   
org.checkerframework.dataflow.livevariable.LiveVarTransfer
- All Implemented Interfaces:
- BackwardTransferFunction<UnusedAbstractValue,,- LiveVarStore> - TransferFunction<UnusedAbstractValue,,- LiveVarStore> - NodeVisitor<TransferResult<UnusedAbstractValue,- LiveVarStore>, - TransferInput<UnusedAbstractValue, - LiveVarStore>> 
public class LiveVarTransfer
extends AbstractNodeVisitor<TransferResult<UnusedAbstractValue,LiveVarStore>,TransferInput<UnusedAbstractValue,LiveVarStore>>
implements BackwardTransferFunction<UnusedAbstractValue,LiveVarStore>    
A live variable transfer function.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptioninitialExceptionalExitStore(UnderlyingAST underlyingAST) Returns the initial store that should be used at the exceptional exit block or given the underlying AST of a control flow graph.initialNormalExitStore(UnderlyingAST underlyingAST, List<ReturnNode> returnNodes) Returns the initial store that should be used at the normal exit block.Methods inherited from class org.checkerframework.dataflow.cfg.node.AbstractNodeVisitorvisitArrayAccess, visitArrayCreation, visitArrayType, visitAssertionError, visitBitwiseAnd, visitBitwiseComplement, visitBitwiseOr, visitBitwiseXor, visitBooleanLiteral, visitCase, visitCharacterLiteral, visitClassDeclaration, visitClassName, visitConditionalAnd, visitConditionalNot, visitConditionalOr, visitDeconstructorPattern, visitDoubleLiteral, visitEqualTo, visitExplicitThis, visitExpressionStatement, visitFieldAccess, visitFloatingDivision, visitFloatingRemainder, visitFloatLiteral, visitGreaterThan, visitGreaterThanOrEqual, visitImplicitThis, visitInstanceOf, visitIntegerDivision, visitIntegerLiteral, visitIntegerRemainder, visitLambdaResultExpression, visitLeftShift, visitLessThan, visitLessThanOrEqual, visitLocalVariable, visitLongLiteral, visitMarker, visitMemberReference, visitMethodAccess, visitNarrowingConversion, visitNotEqual, visitNullChk, visitNullLiteral, visitNumericalAddition, visitNumericalMinus, visitNumericalMultiplication, visitNumericalPlus, visitNumericalSubtraction, visitPackageName, visitParameterizedType, visitPrimitiveType, visitShortLiteral, visitSignedRightShift, visitStringConcatenate, visitStringConversion, visitStringLiteral, visitSuper, visitSwitchExpressionNode, visitSynchronized, visitTernaryExpression, visitThis, visitThrow, visitTypeCast, visitUnsignedRightShift, visitValueLiteral, visitVariableDeclaration, visitWideningConversionMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.checkerframework.dataflow.cfg.node.NodeVisitorvisitArrayAccess, visitArrayCreation, visitArrayType, visitAssertionError, visitBitwiseAnd, visitBitwiseComplement, visitBitwiseOr, visitBitwiseXor, visitBooleanLiteral, visitCase, visitCharacterLiteral, visitClassDeclaration, visitClassName, visitConditionalAnd, visitConditionalNot, visitConditionalOr, visitDeconstructorPattern, visitDoubleLiteral, visitEqualTo, visitExplicitThis, visitExpressionStatement, visitFieldAccess, visitFloatingDivision, visitFloatingRemainder, visitFloatLiteral, visitGreaterThan, visitGreaterThanOrEqual, visitImplicitThis, visitInstanceOf, visitIntegerDivision, visitIntegerLiteral, visitIntegerRemainder, visitLambdaResultExpression, visitLeftShift, visitLessThan, visitLessThanOrEqual, visitLocalVariable, visitLongLiteral, visitMarker, visitMemberReference, visitMethodAccess, visitNarrowingConversion, visitNotEqual, visitNullChk, visitNullLiteral, visitNumericalAddition, visitNumericalMinus, visitNumericalMultiplication, visitNumericalPlus, visitNumericalSubtraction, visitPackageName, visitParameterizedType, visitPrimitiveType, visitShortLiteral, visitSignedRightShift, visitStringConcatenate, visitStringConversion, visitStringLiteral, visitSuper, visitSwitchExpressionNode, visitSynchronized, visitTernaryExpression, visitThrow, visitTypeCast, visitUnsignedRightShift, visitVariableDeclaration, visitWideningConversion
- 
Constructor Details- 
LiveVarTransferpublic LiveVarTransfer()Creates a new LiveVarTransfer.
 
- 
- 
Method Details- 
initialNormalExitStore@SideEffectFree public LiveVarStore initialNormalExitStore(UnderlyingAST underlyingAST, List<ReturnNode> returnNodes) Description copied from interface:BackwardTransferFunctionReturns the initial store that should be used at the normal exit block.- Specified by:
- initialNormalExitStorein interface- BackwardTransferFunction<UnusedAbstractValue,- LiveVarStore> 
- Parameters:
- underlyingAST- the underlying AST of the given control flow graph
- returnNodes- the return nodes of the given control flow graph (an empty list if the underlying AST is not a method)
- Returns:
- the initial store that should be used at the normal exit block
 
- 
initialExceptionalExitStoreDescription copied from interface:BackwardTransferFunctionReturns the initial store that should be used at the exceptional exit block or given the underlying AST of a control flow graph.- Specified by:
- initialExceptionalExitStorein interface- BackwardTransferFunction<UnusedAbstractValue,- LiveVarStore> 
- Parameters:
- underlyingAST- the underlying AST of the given control flow graph
- Returns:
- the initial store that should be used at the exceptional exit block
 
- 
visitNodepublic RegularTransferResult<UnusedAbstractValue,LiveVarStore> visitNode(Node n, TransferInput<UnusedAbstractValue, LiveVarStore> p) - Specified by:
- visitNodein class- AbstractNodeVisitor<TransferResult<UnusedAbstractValue,- LiveVarStore>, - TransferInput<UnusedAbstractValue, - LiveVarStore>> 
 
- 
visitAssignmentpublic RegularTransferResult<UnusedAbstractValue,LiveVarStore> visitAssignment(AssignmentNode n, TransferInput<UnusedAbstractValue, LiveVarStore> p) - Specified by:
- visitAssignmentin interface- NodeVisitor<TransferResult<UnusedAbstractValue,- LiveVarStore>, - TransferInput<UnusedAbstractValue, - LiveVarStore>> 
- Overrides:
- visitAssignmentin class- AbstractNodeVisitor<TransferResult<UnusedAbstractValue,- LiveVarStore>, - TransferInput<UnusedAbstractValue, - LiveVarStore>> 
 
- 
visitMethodInvocationpublic RegularTransferResult<UnusedAbstractValue,LiveVarStore> visitMethodInvocation(MethodInvocationNode n, TransferInput<UnusedAbstractValue, LiveVarStore> p) - Specified by:
- visitMethodInvocationin interface- NodeVisitor<TransferResult<UnusedAbstractValue,- LiveVarStore>, - TransferInput<UnusedAbstractValue, - LiveVarStore>> 
- Overrides:
- visitMethodInvocationin class- AbstractNodeVisitor<TransferResult<UnusedAbstractValue,- LiveVarStore>, - TransferInput<UnusedAbstractValue, - LiveVarStore>> 
 
- 
visitObjectCreationpublic RegularTransferResult<UnusedAbstractValue,LiveVarStore> visitObjectCreation(ObjectCreationNode n, TransferInput<UnusedAbstractValue, LiveVarStore> p) - Specified by:
- visitObjectCreationin interface- NodeVisitor<TransferResult<UnusedAbstractValue,- LiveVarStore>, - TransferInput<UnusedAbstractValue, - LiveVarStore>> 
- Overrides:
- visitObjectCreationin class- AbstractNodeVisitor<TransferResult<UnusedAbstractValue,- LiveVarStore>, - TransferInput<UnusedAbstractValue, - LiveVarStore>> 
 
- 
visitReturnpublic RegularTransferResult<UnusedAbstractValue,LiveVarStore> visitReturn(ReturnNode n, TransferInput<UnusedAbstractValue, LiveVarStore> p) - Specified by:
- visitReturnin interface- NodeVisitor<TransferResult<UnusedAbstractValue,- LiveVarStore>, - TransferInput<UnusedAbstractValue, - LiveVarStore>> 
- Overrides:
- visitReturnin class- AbstractNodeVisitor<TransferResult<UnusedAbstractValue,- LiveVarStore>, - TransferInput<UnusedAbstractValue, - LiveVarStore>> 
 
 
-