Class JointVisitorWithDefaultAction
- All Implemented Interfaces:
TreeVisitor<Void,
com.github.javaparser.ast.Node>
JointJavacJavaParserVisitor
that visits all javac trees with their corresponding
JavaParser nodes and performs some default action on each pair.
To use this class, override defaultJointAction
.
-
Field Summary
Fields inherited from class com.sun.source.util.SimpleTreeVisitor
DEFAULT_VALUE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract void
defaultJointAction
(Tree javacTree, com.github.javaparser.ast.Node javaParserNode) Action performed on each javac tree and JavaParser node pair.void
processAnnotatedType
(AnnotatedTypeTree javacTree, com.github.javaparser.ast.Node javaParserNode) Process anAnnotatedTypeTree
.void
processAnnotation
(AnnotationTree javacTree, com.github.javaparser.ast.expr.MarkerAnnotationExpr javaParserNode) Process anAnnotationTree
with no arguments like@MyAnno
.void
processAnnotation
(AnnotationTree javacTree, com.github.javaparser.ast.expr.NormalAnnotationExpr javaParserNode) Process anAnnotationTree
with multiple key-value pairs like@MyAnno(a=5, b=10)
.void
processAnnotation
(AnnotationTree javacTree, com.github.javaparser.ast.expr.SingleMemberAnnotationExpr javaParserNode) Process anAnnotationTree
with a single argument likeMyAnno(5)
.void
processArrayAccess
(ArrayAccessTree javacTree, com.github.javaparser.ast.expr.ArrayAccessExpr javaParserNode) Process anArrayAccessTree
.void
processArrayType
(ArrayTypeTree javacTree, com.github.javaparser.ast.type.ArrayType javaParserNode) Process anArrayTypeTree
.void
processAssert
(AssertTree javacTree, com.github.javaparser.ast.stmt.AssertStmt javaParserNode) Process anAssertTree
.void
processAssignment
(AssignmentTree javacTree, com.github.javaparser.ast.expr.AssignExpr javaParserNode) Process anAssignmentTree
.void
processBinary
(BinaryTree javacTree, com.github.javaparser.ast.expr.BinaryExpr javaParserNode) Process aBinaryTree
.void
processBindingPattern
(Tree javacTree, com.github.javaparser.ast.expr.PatternExpr javaParserNode) Process aBindingPatternTree
.void
processBlock
(BlockTree javacTree, com.github.javaparser.ast.stmt.BlockStmt javaParserNode) Process aBlockTree
.void
processBreak
(BreakTree javacTree, com.github.javaparser.ast.stmt.BreakStmt javaParserNode) Process aBreakTree
.void
processCase
(CaseTree javacTree, com.github.javaparser.ast.stmt.SwitchEntry javaParserNode) Process aCaseTree
.void
processCatch
(CatchTree javacTree, com.github.javaparser.ast.stmt.CatchClause javaParserNode) Process aCatchTree
.void
processClass
(ClassTree javacTree, com.github.javaparser.ast.body.AnnotationDeclaration javaParserNode) Process aClassTree
representing an annotation declaration.void
processClass
(ClassTree javacTree, com.github.javaparser.ast.body.ClassOrInterfaceDeclaration javaParserNode) Process aClassTree
representing a class or interface declaration.void
processClass
(ClassTree javacTree, com.github.javaparser.ast.body.EnumDeclaration javaParserNode) Process aClassTree
representing an enum declaration.void
processClass
(ClassTree javacTree, com.github.javaparser.ast.body.RecordDeclaration javaParserNode) Process aClassTree
representing a record declaration.void
processCompilationUnit
(CompilationUnitTree javacTree, com.github.javaparser.ast.CompilationUnit javaParserNode) Process aCompilationUnitTree
.void
processCompoundAssignment
(CompoundAssignmentTree javacTree, com.github.javaparser.ast.expr.AssignExpr javaParserNode) Process aCompoundAssignmentTree
.void
processConditionalExpression
(ConditionalExpressionTree javacTree, com.github.javaparser.ast.expr.ConditionalExpr javaParserNode) Process aConditionalExpressionTree
.void
processContinue
(ContinueTree javacTree, com.github.javaparser.ast.stmt.ContinueStmt javaParserNode) Process aContinueTree
.void
processDoWhileLoop
(DoWhileLoopTree javacTree, com.github.javaparser.ast.stmt.DoStmt javaParserNode) Process aDoWhileLoopTree
.void
processEmptyStatement
(EmptyStatementTree javacTree, com.github.javaparser.ast.stmt.EmptyStmt javaParserNode) Process anEmptyStatementTree
.void
processEnhancedForLoop
(EnhancedForLoopTree javacTree, com.github.javaparser.ast.stmt.ForEachStmt javaParserNode) Process anEnhancedForLoopTree
.void
processExports
(ExportsTree javacTree, com.github.javaparser.ast.modules.ModuleExportsDirective javaParserNode) Process anExportsTree
.void
processExpressionStatemen
(ExpressionStatementTree javacTree, com.github.javaparser.ast.stmt.ExpressionStmt javaParserNode) Process anExpressionStatementTree
.void
processForLoop
(ForLoopTree javacTree, com.github.javaparser.ast.stmt.ForStmt javaParserNode) Process aForLoopTree
.void
processIdentifier
(IdentifierTree javacTree, com.github.javaparser.ast.expr.Name javaParserNode) Process anIdentifierTree
representing a name that may contain dots.void
processIdentifier
(IdentifierTree javacTree, com.github.javaparser.ast.expr.NameExpr javaParserNode) Process anIdentifierTree
representing an expression that evaluates to the value of a variable.void
processIdentifier
(IdentifierTree javacTree, com.github.javaparser.ast.expr.SimpleName javaParserNode) Process anIdentifierTree
representing a name without dots.void
processIdentifier
(IdentifierTree javacTree, com.github.javaparser.ast.expr.SuperExpr javaParserNode) Process anIdentifierTree
representing asuper
expression like thesuper
insuper.myMethod()
orMyClass.super.myMethod()
.void
processIdentifier
(IdentifierTree javacTree, com.github.javaparser.ast.expr.ThisExpr javaParserNode) Process anIdentifierTree
representing athis
expression like thethis
inMyClass = this
,this.myMethod()
, orMyClass.this.myMethod()
.void
processIdentifier
(IdentifierTree javacTree, com.github.javaparser.ast.type.ClassOrInterfaceType javaParserNode) Process anIdentifierTree
representing a class or interface type.void
Process anIfTree
.void
processImport
(ImportTree javacTree, com.github.javaparser.ast.ImportDeclaration javaParserNode) Process anImportTree
.void
processInstanceOf
(InstanceOfTree javacTree, com.github.javaparser.ast.expr.InstanceOfExpr javaParserNode) Process anInstanceOfTree
.void
processIntersectionType
(IntersectionTypeTree javacTree, com.github.javaparser.ast.type.IntersectionType javaParserNode) Process anIntersectionType
.void
processLabeledStatement
(LabeledStatementTree javacTree, com.github.javaparser.ast.stmt.LabeledStmt javaParserNode) Process aLabeledStatement
.void
processLambdaExpression
(LambdaExpressionTree javacTree, com.github.javaparser.ast.expr.LambdaExpr javaParserNode) Process aLambdaExpressionTree
.void
processLiteral
(LiteralTree javacTree, com.github.javaparser.ast.expr.BinaryExpr javaParserNode) Process aLiteralTree
for a String literal defined using concatenation.void
processLiteral
(LiteralTree javacTree, com.github.javaparser.ast.expr.LiteralExpr javaParserNode) Process aLiteralTree
.void
processLiteral
(LiteralTree javacTree, com.github.javaparser.ast.expr.UnaryExpr javaParserNode) Process aLiteralTree
for a literal expression prefixed with+
or-
like+5
or-2
.void
processMemberReference
(MemberReferenceTree javacTree, com.github.javaparser.ast.expr.MethodReferenceExpr javaParserNode) Process aMemberReferenceTree
.void
processMemberSelect
(MemberSelectTree javacTree, com.github.javaparser.ast.expr.ClassExpr javaParserNode) Process aMemberSelectTree
for a class expression likeMyClass.class
.void
processMemberSelect
(MemberSelectTree javacTree, com.github.javaparser.ast.expr.FieldAccessExpr javaParserNode) Process aMemberSelectTree
for a field access expression likemyObj.myField
.void
processMemberSelect
(MemberSelectTree javacTree, com.github.javaparser.ast.expr.Name javaParserNode) Process aMemberSelectTree
for a name that contains dots.void
processMemberSelect
(MemberSelectTree javacTree, com.github.javaparser.ast.expr.SuperExpr javaParserNode) Process aMemberSelectTree
for a super expression with a class likesuper.MyClass
.void
processMemberSelect
(MemberSelectTree javacTree, com.github.javaparser.ast.expr.ThisExpr javaParserNode) Process aMemberSelectTree
for a this expression with a class likeMyClass.this
.void
processMemberSelect
(MemberSelectTree javacTree, com.github.javaparser.ast.type.ClassOrInterfaceType javaParserNode) Process aMemberSelectTree
for a type with a name containing dots, likemypackage.MyClass
.void
processMethod
(MethodTree javacTree, com.github.javaparser.ast.body.AnnotationMemberDeclaration javaParserNode) Process aMethodTree
representing a value field for an annotation.void
processMethod
(MethodTree javacTree, com.github.javaparser.ast.body.CompactConstructorDeclaration javaParserNode) Process aMethodTree
representing a compact constructor declaration.void
processMethod
(MethodTree javacTree, com.github.javaparser.ast.body.ConstructorDeclaration javaParserNode) Process aMethodTree
representing a constructor declaration.void
processMethod
(MethodTree javacTree, com.github.javaparser.ast.body.MethodDeclaration javaParserNode) Process aMethodTree
representing a regular method declaration.void
processMethodInvocation
(MethodInvocationTree javacTree, com.github.javaparser.ast.expr.MethodCallExpr javaParserNode) Process aMethodInvocationTree
representing a regular method invocation.void
processMethodInvocation
(MethodInvocationTree javacTree, com.github.javaparser.ast.stmt.ExplicitConstructorInvocationStmt javaParserNode) Process aMethodInvocationTree
representing a constructor invocation.void
processModule
(ModuleTree javacTree, com.github.javaparser.ast.modules.ModuleDeclaration javaParserNode) Process aModuleTree
.void
processNewClass
(NewClassTree javacTree, com.github.javaparser.ast.expr.ObjectCreationExpr javaParserNode) Process aNewClassTree
.void
processOpens
(OpensTree javacTree, com.github.javaparser.ast.modules.ModuleOpensDirective javaParserNode) Process anOpensTree
.void
processOther
(Tree javacTree, com.github.javaparser.ast.Node javaParserNode) Process aTree
that isn't an instance of any specific tree class.void
processPackage
(PackageTree javacTree, com.github.javaparser.ast.PackageDeclaration javaParserNode) Process aPackageTree
.void
processParameterizedType
(ParameterizedTypeTree javacTree, com.github.javaparser.ast.type.ClassOrInterfaceType javaParserNode) Process aParameterizedTypeTree
.void
processParenthesized
(ParenthesizedTree javacTree, com.github.javaparser.ast.expr.EnclosedExpr javaParserNode) Process aParenthesizedTree
.void
processPrimitiveType
(PrimitiveTypeTree javacTree, com.github.javaparser.ast.type.PrimitiveType javaParserNode) Process aPrimitiveTypeTree
.void
processPrimitiveType
(PrimitiveTypeTree javacTree, com.github.javaparser.ast.type.VoidType javaParserNode) Process aPrimitiveTypeTree
representing a void type.void
processProvides
(ProvidesTree javacTree, com.github.javaparser.ast.modules.ModuleProvidesDirective javaParserNode) Process aProvidesTree
.void
processRequires
(RequiresTree javacTree, com.github.javaparser.ast.modules.ModuleRequiresDirective javaParserNode) Process aRequiresTree
.void
processReturn
(ReturnTree javacTree, com.github.javaparser.ast.stmt.ReturnStmt javaParserNode) Process aRetrunTree
.void
processSwitch
(SwitchTree javacTree, com.github.javaparser.ast.stmt.SwitchStmt javaParserNode) Process aSwitchTree
.void
processSwitchExpression
(Tree javacTree, com.github.javaparser.ast.expr.SwitchExpr javaParserNode) Process aSwitchExpressionTree
.void
processSynchronized
(SynchronizedTree javacTree, com.github.javaparser.ast.stmt.SynchronizedStmt javaParserNode) Process aSynchronizedTree
.void
processThrow
(ThrowTree javacTree, com.github.javaparser.ast.stmt.ThrowStmt javaParserNode) Process aThrowTree
.void
processTry
(TryTree javacTree, com.github.javaparser.ast.stmt.TryStmt javaParserNode) Process aTryTree
.void
processTypeCast
(TypeCastTree javacTree, com.github.javaparser.ast.expr.CastExpr javaParserNode) Process aTypeCastTree
.void
processTypeParameter
(TypeParameterTree javacTree, com.github.javaparser.ast.type.TypeParameter javaParserNode) Process aTypeParameterTree
.void
processUnary
(UnaryTree javacTree, com.github.javaparser.ast.expr.UnaryExpr javaParserNode) Process aUnaryTree
.void
processUnionType
(UnionTypeTree javacTree, com.github.javaparser.ast.type.UnionType javaParserNode) Process aUnionTypeTree
.void
processUses
(UsesTree javacTree, com.github.javaparser.ast.modules.ModuleUsesDirective javaParserNode) Process aUsesTree
.void
processVariable
(VariableTree javacTree, com.github.javaparser.ast.body.EnumConstantDeclaration javaParserNode) Process aVariableTree
representing an enum constant declaration.void
processVariable
(VariableTree javacTree, com.github.javaparser.ast.body.Parameter javaParserNode) Process aVariableTree
representing a parameter to a method or constructor.void
processVariable
(VariableTree javacTree, com.github.javaparser.ast.body.ReceiverParameter javaParserNode) Process aVariableTree
representing the receiver parameter of a method.void
processVariable
(VariableTree javacTree, com.github.javaparser.ast.body.VariableDeclarator javaParserNode) Process aVariableTree
representing a regular variable declaration.void
processWhileLoop
(WhileLoopTree javacTree, com.github.javaparser.ast.stmt.WhileStmt javaParserNode) Process aWhileLoopTree
.void
processWildcard
(WildcardTree javacTree, com.github.javaparser.ast.type.WildcardType javaParserNode) Process aWhileLoopTree
.void
processYield
(Tree javacTree, com.github.javaparser.ast.stmt.YieldStmt javaParserNode) Process aYieldTree
.Methods inherited from class org.checkerframework.framework.ajava.JointJavacJavaParserVisitor
castNode, defaultAction, isDefaultSuperConstructorCall, isNoArgumentConstructor, visitAnnotatedType, visitAnnotation, visitAnonymousClassBody, visitArrayAccess, visitArrayType, visitAssert, visitAssignment, visitBinary, visitBindingPattern17, visitBlock, visitBreak, visitCase, visitCatch, visitClass, visitCompilationUnit, visitCompoundAssignment, visitConditionalExpression, visitContinue, 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, visitPrimitiveType, visitProvides, visitRequires, visitReturn, visitSwitch, visitSwitchExpression17, visitSynchronized, visitThrow, visitTry, visitTypeCast, visitTypeParameter, visitUnary, visitUnionType, visitUses, visitVariable, visitWhileLoop, visitWildcard, visitYield17
Methods inherited from class com.sun.source.util.SimpleTreeVisitor
visit, visit, visitBindingPattern, visitDefaultCaseLabel, visitGuardedPattern, visitParenthesizedPattern, visitSwitchExpression, visitYield
-
Constructor Details
-
JointVisitorWithDefaultAction
public JointVisitorWithDefaultAction()
-
-
Method Details
-
defaultJointAction
public abstract void defaultJointAction(Tree javacTree, com.github.javaparser.ast.Node javaParserNode) Action performed on each javac tree and JavaParser node pair.- Parameters:
javacTree
- tree to processjavaParserNode
- corresponding JavaParser node
-
processAnnotation
public void processAnnotation(AnnotationTree javacTree, com.github.javaparser.ast.expr.NormalAnnotationExpr javaParserNode) Description copied from class:JointJavacJavaParserVisitor
Process anAnnotationTree
with multiple key-value pairs like@MyAnno(a=5, b=10)
.- Specified by:
processAnnotation
in classJointJavacJavaParserVisitor
- Parameters:
javacTree
- tree to processjavaParserNode
- corresponding JavaParser node
-
processAnnotation
public void processAnnotation(AnnotationTree javacTree, com.github.javaparser.ast.expr.MarkerAnnotationExpr javaParserNode) Description copied from class:JointJavacJavaParserVisitor
Process anAnnotationTree
with no arguments like@MyAnno
.- Specified by:
processAnnotation
in classJointJavacJavaParserVisitor
- Parameters:
javacTree
- tree to processjavaParserNode
- corresponding JavaParser node
-
processAnnotation
public void processAnnotation(AnnotationTree javacTree, com.github.javaparser.ast.expr.SingleMemberAnnotationExpr javaParserNode) Description copied from class:JointJavacJavaParserVisitor
Process anAnnotationTree
with a single argument likeMyAnno(5)
.- Specified by:
processAnnotation
in classJointJavacJavaParserVisitor
- Parameters:
javacTree
- tree to processjavaParserNode
- corresponding JavaParser node
-
processAnnotatedType
public void processAnnotatedType(AnnotatedTypeTree javacTree, com.github.javaparser.ast.Node javaParserNode) Description copied from class:JointJavacJavaParserVisitor
Process anAnnotatedTypeTree
.In javac, a type with an annotation is represented as an
AnnotatedTypeTree
with a nested tree for the base type whereas in JavaParser the annotations are store directly on the node for the base type. As a result, the JavaParser base type node will be processed twice, once with theAnnotatedTypeTree
and once with the tree for the base type.- Specified by:
processAnnotatedType
in classJointJavacJavaParserVisitor
- Parameters:
javacTree
- tree to processjavaParserNode
- corresponding JavaParser node
-
processArrayAccess
public void processArrayAccess(ArrayAccessTree javacTree, com.github.javaparser.ast.expr.ArrayAccessExpr javaParserNode) Description copied from class:JointJavacJavaParserVisitor
Process anArrayAccessTree
.- Specified by:
processArrayAccess
in classJointJavacJavaParserVisitor
- Parameters:
javacTree
- tree to processjavaParserNode
- corresponding JavaParser node
-
processArrayType
public void processArrayType(ArrayTypeTree javacTree, com.github.javaparser.ast.type.ArrayType javaParserNode) Description copied from class:JointJavacJavaParserVisitor
Process anArrayTypeTree
.- Specified by:
processArrayType
in classJointJavacJavaParserVisitor
- Parameters:
javacTree
- tree to processjavaParserNode
- corresponding JavaParser node
-
processAssert
public void processAssert(AssertTree javacTree, com.github.javaparser.ast.stmt.AssertStmt javaParserNode) Description copied from class:JointJavacJavaParserVisitor
Process anAssertTree
.- Specified by:
processAssert
in classJointJavacJavaParserVisitor
- Parameters:
javacTree
- tree to processjavaParserNode
- corresponding JavaParser node
-
processAssignment
public void processAssignment(AssignmentTree javacTree, com.github.javaparser.ast.expr.AssignExpr javaParserNode) Description copied from class:JointJavacJavaParserVisitor
Process anAssignmentTree
.- Specified by:
processAssignment
in classJointJavacJavaParserVisitor
- Parameters:
javacTree
- tree to processjavaParserNode
- corresponding JavaParser node
-
processBinary
public void processBinary(BinaryTree javacTree, com.github.javaparser.ast.expr.BinaryExpr javaParserNode) Description copied from class:JointJavacJavaParserVisitor
Process aBinaryTree
.- Specified by:
processBinary
in classJointJavacJavaParserVisitor
- Parameters:
javacTree
- tree to processjavaParserNode
- corresponding JavaParser node
-
processBindingPattern
public void processBindingPattern(Tree javacTree, com.github.javaparser.ast.expr.PatternExpr javaParserNode) Description copied from class:JointJavacJavaParserVisitor
Process aBindingPatternTree
.- Specified by:
processBindingPattern
in classJointJavacJavaParserVisitor
- Parameters:
javacTree
- tree to processjavaParserNode
- corresponding JavaParser node
-
processBlock
public void processBlock(BlockTree javacTree, com.github.javaparser.ast.stmt.BlockStmt javaParserNode) Description copied from class:JointJavacJavaParserVisitor
Process aBlockTree
.- Specified by:
processBlock
in classJointJavacJavaParserVisitor
- Parameters:
javacTree
- tree to processjavaParserNode
- corresponding JavaParser node
-
processBreak
public void processBreak(BreakTree javacTree, com.github.javaparser.ast.stmt.BreakStmt javaParserNode) Description copied from class:JointJavacJavaParserVisitor
Process aBreakTree
.- Specified by:
processBreak
in classJointJavacJavaParserVisitor
- Parameters:
javacTree
- tree to processjavaParserNode
- corresponding JavaParser node
-
processCase
public void processCase(CaseTree javacTree, com.github.javaparser.ast.stmt.SwitchEntry javaParserNode) Description copied from class:JointJavacJavaParserVisitor
Process aCaseTree
.- Specified by:
processCase
in classJointJavacJavaParserVisitor
- Parameters:
javacTree
- tree to processjavaParserNode
- corresponding JavaParser node
-
processCatch
public void processCatch(CatchTree javacTree, com.github.javaparser.ast.stmt.CatchClause javaParserNode) Description copied from class:JointJavacJavaParserVisitor
Process aCatchTree
.- Specified by:
processCatch
in classJointJavacJavaParserVisitor
- Parameters:
javacTree
- tree to processjavaParserNode
- corresponding JavaParser node
-
processClass
public void processClass(ClassTree javacTree, com.github.javaparser.ast.body.AnnotationDeclaration javaParserNode) Description copied from class:JointJavacJavaParserVisitor
Process aClassTree
representing an annotation declaration.- Specified by:
processClass
in classJointJavacJavaParserVisitor
- Parameters:
javacTree
- tree to processjavaParserNode
- corresponding JavaParser node
-
processClass
public void processClass(ClassTree javacTree, com.github.javaparser.ast.body.ClassOrInterfaceDeclaration javaParserNode) Description copied from class:JointJavacJavaParserVisitor
Process aClassTree
representing a class or interface declaration.- Specified by:
processClass
in classJointJavacJavaParserVisitor
- Parameters:
javacTree
- tree to processjavaParserNode
- corresponding JavaParser node
-
processClass
public void processClass(ClassTree javacTree, com.github.javaparser.ast.body.EnumDeclaration javaParserNode) Description copied from class:JointJavacJavaParserVisitor
Process aClassTree
representing an enum declaration.- Specified by:
processClass
in classJointJavacJavaParserVisitor
- Parameters:
javacTree
- tree to processjavaParserNode
- corresponding JavaParser node
-
processClass
public void processClass(ClassTree javacTree, com.github.javaparser.ast.body.RecordDeclaration javaParserNode) Description copied from class:JointJavacJavaParserVisitor
Process aClassTree
representing a record declaration.- Specified by:
processClass
in classJointJavacJavaParserVisitor
- Parameters:
javacTree
- tree to processjavaParserNode
- corresponding JavaParser node
-
processCompilationUnit
public void processCompilationUnit(CompilationUnitTree javacTree, com.github.javaparser.ast.CompilationUnit javaParserNode) Description copied from class:JointJavacJavaParserVisitor
Process aCompilationUnitTree
.- Specified by:
processCompilationUnit
in classJointJavacJavaParserVisitor
- Parameters:
javacTree
- tree to processjavaParserNode
- corresponding JavaParser node
-
processConditionalExpression
public void processConditionalExpression(ConditionalExpressionTree javacTree, com.github.javaparser.ast.expr.ConditionalExpr javaParserNode) Description copied from class:JointJavacJavaParserVisitor
Process aConditionalExpressionTree
.- Specified by:
processConditionalExpression
in classJointJavacJavaParserVisitor
- Parameters:
javacTree
- tree to processjavaParserNode
- corresponding JavaParser node
-
processContinue
public void processContinue(ContinueTree javacTree, com.github.javaparser.ast.stmt.ContinueStmt javaParserNode) Description copied from class:JointJavacJavaParserVisitor
Process aContinueTree
.- Specified by:
processContinue
in classJointJavacJavaParserVisitor
- Parameters:
javacTree
- tree to processjavaParserNode
- corresponding JavaParser node
-
processDoWhileLoop
public void processDoWhileLoop(DoWhileLoopTree javacTree, com.github.javaparser.ast.stmt.DoStmt javaParserNode) Description copied from class:JointJavacJavaParserVisitor
Process aDoWhileLoopTree
.- Specified by:
processDoWhileLoop
in classJointJavacJavaParserVisitor
- Parameters:
javacTree
- tree to processjavaParserNode
- corresponding JavaParser node
-
processEmptyStatement
public void processEmptyStatement(EmptyStatementTree javacTree, com.github.javaparser.ast.stmt.EmptyStmt javaParserNode) Description copied from class:JointJavacJavaParserVisitor
Process anEmptyStatementTree
.- Specified by:
processEmptyStatement
in classJointJavacJavaParserVisitor
- Parameters:
javacTree
- tree to processjavaParserNode
- corresponding JavaParser node
-
processEnhancedForLoop
public void processEnhancedForLoop(EnhancedForLoopTree javacTree, com.github.javaparser.ast.stmt.ForEachStmt javaParserNode) Description copied from class:JointJavacJavaParserVisitor
Process anEnhancedForLoopTree
.- Specified by:
processEnhancedForLoop
in classJointJavacJavaParserVisitor
- Parameters:
javacTree
- tree to processjavaParserNode
- corresponding JavaParser node
-
processExports
public void processExports(ExportsTree javacTree, com.github.javaparser.ast.modules.ModuleExportsDirective javaParserNode) Description copied from class:JointJavacJavaParserVisitor
Process anExportsTree
.- Specified by:
processExports
in classJointJavacJavaParserVisitor
- Parameters:
javacTree
- tree to processjavaParserNode
- corresponding JavaParser node
-
processExpressionStatemen
public void processExpressionStatemen(ExpressionStatementTree javacTree, com.github.javaparser.ast.stmt.ExpressionStmt javaParserNode) Description copied from class:JointJavacJavaParserVisitor
Process anExpressionStatementTree
.- Specified by:
processExpressionStatemen
in classJointJavacJavaParserVisitor
- Parameters:
javacTree
- tree to processjavaParserNode
- corresponding JavaParser node
-
processForLoop
public void processForLoop(ForLoopTree javacTree, com.github.javaparser.ast.stmt.ForStmt javaParserNode) Description copied from class:JointJavacJavaParserVisitor
Process aForLoopTree
.- Specified by:
processForLoop
in classJointJavacJavaParserVisitor
- Parameters:
javacTree
- tree to processjavaParserNode
- corresponding JavaParser node
-
processIdentifier
public void processIdentifier(IdentifierTree javacTree, com.github.javaparser.ast.type.ClassOrInterfaceType javaParserNode) Description copied from class:JointJavacJavaParserVisitor
Process anIdentifierTree
representing a class or interface type.- Specified by:
processIdentifier
in classJointJavacJavaParserVisitor
- Parameters:
javacTree
- tree to processjavaParserNode
- corresponding JavaParser node
-
processIdentifier
public void processIdentifier(IdentifierTree javacTree, com.github.javaparser.ast.expr.Name javaParserNode) Description copied from class:JointJavacJavaParserVisitor
Process anIdentifierTree
representing a name that may contain dots.- Specified by:
processIdentifier
in classJointJavacJavaParserVisitor
- Parameters:
javacTree
- tree to processjavaParserNode
- corresponding JavaParser node
-
processIdentifier
public void processIdentifier(IdentifierTree javacTree, com.github.javaparser.ast.expr.NameExpr javaParserNode) Description copied from class:JointJavacJavaParserVisitor
Process anIdentifierTree
representing an expression that evaluates to the value of a variable.- Specified by:
processIdentifier
in classJointJavacJavaParserVisitor
- Parameters:
javacTree
- tree to processjavaParserNode
- corresponding JavaParser node
-
processIdentifier
public void processIdentifier(IdentifierTree javacTree, com.github.javaparser.ast.expr.SimpleName javaParserNode) Description copied from class:JointJavacJavaParserVisitor
Process anIdentifierTree
representing a name without dots.- Specified by:
processIdentifier
in classJointJavacJavaParserVisitor
- Parameters:
javacTree
- tree to processjavaParserNode
- corresponding JavaParser node
-
processIdentifier
public void processIdentifier(IdentifierTree javacTree, com.github.javaparser.ast.expr.SuperExpr javaParserNode) Description copied from class:JointJavacJavaParserVisitor
Process anIdentifierTree
representing asuper
expression like thesuper
insuper.myMethod()
orMyClass.super.myMethod()
.- Specified by:
processIdentifier
in classJointJavacJavaParserVisitor
- Parameters:
javacTree
- tree to processjavaParserNode
- corresponding JavaParser node
-
processIdentifier
public void processIdentifier(IdentifierTree javacTree, com.github.javaparser.ast.expr.ThisExpr javaParserNode) Description copied from class:JointJavacJavaParserVisitor
Process anIdentifierTree
representing athis
expression like thethis
inMyClass = this
,this.myMethod()
, orMyClass.this.myMethod()
.- Specified by:
processIdentifier
in classJointJavacJavaParserVisitor
- Parameters:
javacTree
- tree to processjavaParserNode
- corresponding JavaParser node
-
processIf
Description copied from class:JointJavacJavaParserVisitor
Process anIfTree
.- Specified by:
processIf
in classJointJavacJavaParserVisitor
- Parameters:
javacTree
- tree to processjavaParserNode
- corresponding JavaParser node
-
processImport
public void processImport(ImportTree javacTree, com.github.javaparser.ast.ImportDeclaration javaParserNode) Description copied from class:JointJavacJavaParserVisitor
Process anImportTree
.Wildcards are stored differently between the two. In a statement like
import a.*;
, the name is stored as aMemberSelectTree
witha
and*
. In JavaParser this is just stored asa
but with a method that returns whether it has a wildcard.- Specified by:
processImport
in classJointJavacJavaParserVisitor
- Parameters:
javacTree
- tree to processjavaParserNode
- corresponding JavaParser node
-
processInstanceOf
public void processInstanceOf(InstanceOfTree javacTree, com.github.javaparser.ast.expr.InstanceOfExpr javaParserNode) Description copied from class:JointJavacJavaParserVisitor
Process anInstanceOfTree
.- Specified by:
processInstanceOf
in classJointJavacJavaParserVisitor
- Parameters:
javacTree
- tree to processjavaParserNode
- corresponding JavaParser node
-
processIntersectionType
public void processIntersectionType(IntersectionTypeTree javacTree, com.github.javaparser.ast.type.IntersectionType javaParserNode) Description copied from class:JointJavacJavaParserVisitor
Process anIntersectionType
.- Specified by:
processIntersectionType
in classJointJavacJavaParserVisitor
- Parameters:
javacTree
- tree to processjavaParserNode
- corresponding JavaParser node
-
processLabeledStatement
public void processLabeledStatement(LabeledStatementTree javacTree, com.github.javaparser.ast.stmt.LabeledStmt javaParserNode) Description copied from class:JointJavacJavaParserVisitor
Process aLabeledStatement
.- Specified by:
processLabeledStatement
in classJointJavacJavaParserVisitor
- Parameters:
javacTree
- tree to processjavaParserNode
- corresponding JavaParser node
-
processLambdaExpression
public void processLambdaExpression(LambdaExpressionTree javacTree, com.github.javaparser.ast.expr.LambdaExpr javaParserNode) Description copied from class:JointJavacJavaParserVisitor
Process aLambdaExpressionTree
.- Specified by:
processLambdaExpression
in classJointJavacJavaParserVisitor
- Parameters:
javacTree
- tree to processjavaParserNode
- corresponding JavaParser node
-
processLiteral
public void processLiteral(LiteralTree javacTree, com.github.javaparser.ast.expr.BinaryExpr javaParserNode) Description copied from class:JointJavacJavaParserVisitor
Process aLiteralTree
for a String literal defined using concatenation.For an expression like
"a" + "b"
, javac stores a single String literal"ab"
but JavaParser stores it as an operation with two operands.- Specified by:
processLiteral
in classJointJavacJavaParserVisitor
- Parameters:
javacTree
- tree to processjavaParserNode
- corresponding JavaParser node
-
processLiteral
public void processLiteral(LiteralTree javacTree, com.github.javaparser.ast.expr.UnaryExpr javaParserNode) Description copied from class:JointJavacJavaParserVisitor
Process aLiteralTree
for a literal expression prefixed with+
or-
like+5
or-2
.- Specified by:
processLiteral
in classJointJavacJavaParserVisitor
- Parameters:
javacTree
- tree to processjavaParserNode
- corresponding JavaParser node
-
processLiteral
public void processLiteral(LiteralTree javacTree, com.github.javaparser.ast.expr.LiteralExpr javaParserNode) Description copied from class:JointJavacJavaParserVisitor
Process aLiteralTree
.- Specified by:
processLiteral
in classJointJavacJavaParserVisitor
- Parameters:
javacTree
- tree to processjavaParserNode
- corresponding JavaParser node
-
processMemberReference
public void processMemberReference(MemberReferenceTree javacTree, com.github.javaparser.ast.expr.MethodReferenceExpr javaParserNode) Description copied from class:JointJavacJavaParserVisitor
Process aMemberReferenceTree
.- Specified by:
processMemberReference
in classJointJavacJavaParserVisitor
- Parameters:
javacTree
- tree to processjavaParserNode
- corresponding JavaParser node
-
processMemberSelect
public void processMemberSelect(MemberSelectTree javacTree, com.github.javaparser.ast.expr.ClassExpr javaParserNode) Description copied from class:JointJavacJavaParserVisitor
Process aMemberSelectTree
for a class expression likeMyClass.class
.- Specified by:
processMemberSelect
in classJointJavacJavaParserVisitor
- Parameters:
javacTree
- tree to processjavaParserNode
- corresponding JavaParser node
-
processMemberSelect
public void processMemberSelect(MemberSelectTree javacTree, com.github.javaparser.ast.type.ClassOrInterfaceType javaParserNode) Description copied from class:JointJavacJavaParserVisitor
Process aMemberSelectTree
for a type with a name containing dots, likemypackage.MyClass
.- Specified by:
processMemberSelect
in classJointJavacJavaParserVisitor
- Parameters:
javacTree
- tree to processjavaParserNode
- corresponding JavaParser node
-
processMemberSelect
public void processMemberSelect(MemberSelectTree javacTree, com.github.javaparser.ast.expr.FieldAccessExpr javaParserNode) Description copied from class:JointJavacJavaParserVisitor
Process aMemberSelectTree
for a field access expression likemyObj.myField
.- Specified by:
processMemberSelect
in classJointJavacJavaParserVisitor
- Parameters:
javacTree
- tree to processjavaParserNode
- corresponding JavaParser node
-
processMemberSelect
public void processMemberSelect(MemberSelectTree javacTree, com.github.javaparser.ast.expr.Name javaParserNode) Description copied from class:JointJavacJavaParserVisitor
Process aMemberSelectTree
for a name that contains dots.- Specified by:
processMemberSelect
in classJointJavacJavaParserVisitor
- Parameters:
javacTree
- tree to processjavaParserNode
- corresponding JavaParser node
-
processMemberSelect
public void processMemberSelect(MemberSelectTree javacTree, com.github.javaparser.ast.expr.ThisExpr javaParserNode) Description copied from class:JointJavacJavaParserVisitor
Process aMemberSelectTree
for a this expression with a class likeMyClass.this
.- Specified by:
processMemberSelect
in classJointJavacJavaParserVisitor
- Parameters:
javacTree
- tree to processjavaParserNode
- corresponding JavaParser node
-
processMemberSelect
public void processMemberSelect(MemberSelectTree javacTree, com.github.javaparser.ast.expr.SuperExpr javaParserNode) Description copied from class:JointJavacJavaParserVisitor
Process aMemberSelectTree
for a super expression with a class likesuper.MyClass
.- Specified by:
processMemberSelect
in classJointJavacJavaParserVisitor
- Parameters:
javacTree
- tree to processjavaParserNode
- corresponding JavaParser node
-
processMethod
public void processMethod(MethodTree javacTree, com.github.javaparser.ast.body.MethodDeclaration javaParserNode) Description copied from class:JointJavacJavaParserVisitor
Process aMethodTree
representing a regular method declaration.- Specified by:
processMethod
in classJointJavacJavaParserVisitor
- Parameters:
javacTree
- tree to processjavaParserNode
- corresponding JavaParser node
-
processMethod
public void processMethod(MethodTree javacTree, com.github.javaparser.ast.body.ConstructorDeclaration javaParserNode) Description copied from class:JointJavacJavaParserVisitor
Process aMethodTree
representing a constructor declaration.- Specified by:
processMethod
in classJointJavacJavaParserVisitor
- Parameters:
javacTree
- tree to processjavaParserNode
- corresponding JavaParser node
-
processMethod
public void processMethod(MethodTree javacTree, com.github.javaparser.ast.body.CompactConstructorDeclaration javaParserNode) Description copied from class:JointJavacJavaParserVisitor
Process aMethodTree
representing a compact constructor declaration.- Specified by:
processMethod
in classJointJavacJavaParserVisitor
- Parameters:
javacTree
- tree to processjavaParserNode
- corresponding JavaParser node
-
processMethod
public void processMethod(MethodTree javacTree, com.github.javaparser.ast.body.AnnotationMemberDeclaration javaParserNode) Description copied from class:JointJavacJavaParserVisitor
Process aMethodTree
representing a value field for an annotation.- Specified by:
processMethod
in classJointJavacJavaParserVisitor
- Parameters:
javacTree
- tree to processjavaParserNode
- corresponding JavaParser node
-
processMethodInvocation
public void processMethodInvocation(MethodInvocationTree javacTree, com.github.javaparser.ast.stmt.ExplicitConstructorInvocationStmt javaParserNode) Description copied from class:JointJavacJavaParserVisitor
Process aMethodInvocationTree
representing a constructor invocation.- Specified by:
processMethodInvocation
in classJointJavacJavaParserVisitor
- Parameters:
javacTree
- tree to processjavaParserNode
- corresponding JavaParser node
-
processMethodInvocation
public void processMethodInvocation(MethodInvocationTree javacTree, com.github.javaparser.ast.expr.MethodCallExpr javaParserNode) Description copied from class:JointJavacJavaParserVisitor
Process aMethodInvocationTree
representing a regular method invocation.- Specified by:
processMethodInvocation
in classJointJavacJavaParserVisitor
- Parameters:
javacTree
- tree to processjavaParserNode
- corresponding JavaParser node
-
processModule
public void processModule(ModuleTree javacTree, com.github.javaparser.ast.modules.ModuleDeclaration javaParserNode) Description copied from class:JointJavacJavaParserVisitor
Process aModuleTree
.- Specified by:
processModule
in classJointJavacJavaParserVisitor
- Parameters:
javacTree
- tree to processjavaParserNode
- corresponding JavaParser node
-
processNewClass
public void processNewClass(NewClassTree javacTree, com.github.javaparser.ast.expr.ObjectCreationExpr javaParserNode) Description copied from class:JointJavacJavaParserVisitor
Process aNewClassTree
.- Specified by:
processNewClass
in classJointJavacJavaParserVisitor
- Parameters:
javacTree
- tree to processjavaParserNode
- corresponding JavaParser node
-
processOpens
public void processOpens(OpensTree javacTree, com.github.javaparser.ast.modules.ModuleOpensDirective javaParserNode) Description copied from class:JointJavacJavaParserVisitor
Process anOpensTree
.- Specified by:
processOpens
in classJointJavacJavaParserVisitor
- Parameters:
javacTree
- tree to processjavaParserNode
- corresponding JavaParser node
-
processOther
Description copied from class:JointJavacJavaParserVisitor
Process aTree
that isn't an instance of any specific tree class.- Specified by:
processOther
in classJointJavacJavaParserVisitor
- Parameters:
javacTree
- tree to processjavaParserNode
- corresponding JavaParser node
-
processPackage
public void processPackage(PackageTree javacTree, com.github.javaparser.ast.PackageDeclaration javaParserNode) Description copied from class:JointJavacJavaParserVisitor
Process aPackageTree
.- Specified by:
processPackage
in classJointJavacJavaParserVisitor
- Parameters:
javacTree
- tree to processjavaParserNode
- corresponding JavaParser node
-
processParameterizedType
public void processParameterizedType(ParameterizedTypeTree javacTree, com.github.javaparser.ast.type.ClassOrInterfaceType javaParserNode) Description copied from class:JointJavacJavaParserVisitor
Process aParameterizedTypeTree
.- Specified by:
processParameterizedType
in classJointJavacJavaParserVisitor
- Parameters:
javacTree
- tree to processjavaParserNode
- corresponding JavaParser node
-
processParenthesized
public void processParenthesized(ParenthesizedTree javacTree, com.github.javaparser.ast.expr.EnclosedExpr javaParserNode) Description copied from class:JointJavacJavaParserVisitor
Process aParenthesizedTree
.- Specified by:
processParenthesized
in classJointJavacJavaParserVisitor
- Parameters:
javacTree
- tree to processjavaParserNode
- corresponding JavaParser node
-
processPrimitiveType
public void processPrimitiveType(PrimitiveTypeTree javacTree, com.github.javaparser.ast.type.PrimitiveType javaParserNode) Description copied from class:JointJavacJavaParserVisitor
Process aPrimitiveTypeTree
.- Specified by:
processPrimitiveType
in classJointJavacJavaParserVisitor
- Parameters:
javacTree
- tree to processjavaParserNode
- corresponding JavaParser node
-
processPrimitiveType
public void processPrimitiveType(PrimitiveTypeTree javacTree, com.github.javaparser.ast.type.VoidType javaParserNode) Description copied from class:JointJavacJavaParserVisitor
Process aPrimitiveTypeTree
representing a void type.- Specified by:
processPrimitiveType
in classJointJavacJavaParserVisitor
- Parameters:
javacTree
- tree to processjavaParserNode
- corresponding JavaParser node
-
processProvides
public void processProvides(ProvidesTree javacTree, com.github.javaparser.ast.modules.ModuleProvidesDirective javaParserNode) Description copied from class:JointJavacJavaParserVisitor
Process aProvidesTree
.- Specified by:
processProvides
in classJointJavacJavaParserVisitor
- Parameters:
javacTree
- tree to processjavaParserNode
- corresponding JavaParser node
-
processRequires
public void processRequires(RequiresTree javacTree, com.github.javaparser.ast.modules.ModuleRequiresDirective javaParserNode) Description copied from class:JointJavacJavaParserVisitor
Process aRequiresTree
.- Specified by:
processRequires
in classJointJavacJavaParserVisitor
- Parameters:
javacTree
- tree to processjavaParserNode
- corresponding JavaParser node
-
processReturn
public void processReturn(ReturnTree javacTree, com.github.javaparser.ast.stmt.ReturnStmt javaParserNode) Description copied from class:JointJavacJavaParserVisitor
Process aRetrunTree
.- Specified by:
processReturn
in classJointJavacJavaParserVisitor
- Parameters:
javacTree
- tree to processjavaParserNode
- corresponding JavaParser node
-
processSwitch
public void processSwitch(SwitchTree javacTree, com.github.javaparser.ast.stmt.SwitchStmt javaParserNode) Description copied from class:JointJavacJavaParserVisitor
Process aSwitchTree
.- Specified by:
processSwitch
in classJointJavacJavaParserVisitor
- Parameters:
javacTree
- tree to processjavaParserNode
- corresponding JavaParser node
-
processSwitchExpression
public void processSwitchExpression(Tree javacTree, com.github.javaparser.ast.expr.SwitchExpr javaParserNode) Description copied from class:JointJavacJavaParserVisitor
Process aSwitchExpressionTree
.- Specified by:
processSwitchExpression
in classJointJavacJavaParserVisitor
- Parameters:
javacTree
- tree to processjavaParserNode
- corresponding JavaParser node
-
processSynchronized
public void processSynchronized(SynchronizedTree javacTree, com.github.javaparser.ast.stmt.SynchronizedStmt javaParserNode) Description copied from class:JointJavacJavaParserVisitor
Process aSynchronizedTree
.- Specified by:
processSynchronized
in classJointJavacJavaParserVisitor
- Parameters:
javacTree
- tree to processjavaParserNode
- corresponding JavaParser node
-
processThrow
public void processThrow(ThrowTree javacTree, com.github.javaparser.ast.stmt.ThrowStmt javaParserNode) Description copied from class:JointJavacJavaParserVisitor
Process aThrowTree
.- Specified by:
processThrow
in classJointJavacJavaParserVisitor
- Parameters:
javacTree
- tree to processjavaParserNode
- corresponding JavaParser node
-
processTry
Description copied from class:JointJavacJavaParserVisitor
Process aTryTree
.- Specified by:
processTry
in classJointJavacJavaParserVisitor
- Parameters:
javacTree
- tree to processjavaParserNode
- corresponding JavaParser node
-
processTypeCast
public void processTypeCast(TypeCastTree javacTree, com.github.javaparser.ast.expr.CastExpr javaParserNode) Description copied from class:JointJavacJavaParserVisitor
Process aTypeCastTree
.- Specified by:
processTypeCast
in classJointJavacJavaParserVisitor
- Parameters:
javacTree
- tree to processjavaParserNode
- corresponding JavaParser node
-
processTypeParameter
public void processTypeParameter(TypeParameterTree javacTree, com.github.javaparser.ast.type.TypeParameter javaParserNode) Description copied from class:JointJavacJavaParserVisitor
Process aTypeParameterTree
.- Specified by:
processTypeParameter
in classJointJavacJavaParserVisitor
- Parameters:
javacTree
- tree to processjavaParserNode
- corresponding JavaParser node
-
processUnary
public void processUnary(UnaryTree javacTree, com.github.javaparser.ast.expr.UnaryExpr javaParserNode) Description copied from class:JointJavacJavaParserVisitor
Process aUnaryTree
.- Specified by:
processUnary
in classJointJavacJavaParserVisitor
- Parameters:
javacTree
- tree to processjavaParserNode
- corresponding JavaParser node
-
processUnionType
public void processUnionType(UnionTypeTree javacTree, com.github.javaparser.ast.type.UnionType javaParserNode) Description copied from class:JointJavacJavaParserVisitor
Process aUnionTypeTree
.- Specified by:
processUnionType
in classJointJavacJavaParserVisitor
- Parameters:
javacTree
- tree to processjavaParserNode
- corresponding JavaParser node
-
processUses
public void processUses(UsesTree javacTree, com.github.javaparser.ast.modules.ModuleUsesDirective javaParserNode) Description copied from class:JointJavacJavaParserVisitor
Process aUsesTree
.- Specified by:
processUses
in classJointJavacJavaParserVisitor
- Parameters:
javacTree
- tree to processjavaParserNode
- corresponding JavaParser node
-
processVariable
public void processVariable(VariableTree javacTree, com.github.javaparser.ast.body.EnumConstantDeclaration javaParserNode) Description copied from class:JointJavacJavaParserVisitor
Process aVariableTree
representing an enum constant declaration. In an enum likeenum MyEnum { MY_CONSTANT }
, javac expandsMY_CONSTANT
as a constant variable.- Specified by:
processVariable
in classJointJavacJavaParserVisitor
- Parameters:
javacTree
- tree to processjavaParserNode
- corresponding JavaParser node
-
processVariable
public void processVariable(VariableTree javacTree, com.github.javaparser.ast.body.Parameter javaParserNode) Description copied from class:JointJavacJavaParserVisitor
Process aVariableTree
representing a parameter to a method or constructor.- Specified by:
processVariable
in classJointJavacJavaParserVisitor
- Parameters:
javacTree
- tree to processjavaParserNode
- corresponding JavaParser node
-
processVariable
public void processVariable(VariableTree javacTree, com.github.javaparser.ast.body.ReceiverParameter javaParserNode) Description copied from class:JointJavacJavaParserVisitor
Process aVariableTree
representing the receiver parameter of a method.- Specified by:
processVariable
in classJointJavacJavaParserVisitor
- Parameters:
javacTree
- tree to processjavaParserNode
- corresponding JavaParser node
-
processVariable
public void processVariable(VariableTree javacTree, com.github.javaparser.ast.body.VariableDeclarator javaParserNode) Description copied from class:JointJavacJavaParserVisitor
Process aVariableTree
representing a regular variable declaration.- Specified by:
processVariable
in classJointJavacJavaParserVisitor
- Parameters:
javacTree
- tree to processjavaParserNode
- corresponding JavaParser node
-
processWhileLoop
public void processWhileLoop(WhileLoopTree javacTree, com.github.javaparser.ast.stmt.WhileStmt javaParserNode) Description copied from class:JointJavacJavaParserVisitor
Process aWhileLoopTree
.- Specified by:
processWhileLoop
in classJointJavacJavaParserVisitor
- Parameters:
javacTree
- tree to processjavaParserNode
- corresponding JavaParser node
-
processWildcard
public void processWildcard(WildcardTree javacTree, com.github.javaparser.ast.type.WildcardType javaParserNode) Description copied from class:JointJavacJavaParserVisitor
Process aWhileLoopTree
.- Specified by:
processWildcard
in classJointJavacJavaParserVisitor
- Parameters:
javacTree
- tree to processjavaParserNode
- corresponding JavaParser node
-
processYield
Description copied from class:JointJavacJavaParserVisitor
Process aYieldTree
.- Specified by:
processYield
in classJointJavacJavaParserVisitor
- Parameters:
javacTree
- tree to processjavaParserNode
- corresponding Javaparser node
-
processCompoundAssignment
public void processCompoundAssignment(CompoundAssignmentTree javacTree, com.github.javaparser.ast.expr.AssignExpr javaParserNode) Description copied from class:JointJavacJavaParserVisitor
Process aCompoundAssignmentTree
.- Specified by:
processCompoundAssignment
in classJointJavacJavaParserVisitor
- Parameters:
javacTree
- tree to processjavaParserNode
- corresponding JavaParser node
-