Class JavaParseUtils
java.lang.Object
com.inductiveautomation.snap.javaparse.JavaParseUtils
A class to hold some utilities for JavaParse package.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic JExprMathgetExpression(JNode aNode, JExprMath.Op anOp) Returns the expression for given node with given op, if available.static ClassgetReceivingClass(JNode aNode) Returns the assignable type of given node assuming it's the receiving expression of an assignment or a method arg.static JVariableDeclReturns the VariableDecl for given node, if node is initializer.
- 
Constructor Details- 
JavaParseUtilspublic JavaParseUtils()
 
- 
- 
Method Details- 
getReceivingClassReturns the assignable type of given node assuming it's the receiving expression of an assignment or a method arg.
- 
getExpressionReturns the expression for given node with given op, if available.
- 
getVariableDeclForInitializerReturns the VariableDecl for given node, if node is initializer.
 
-