Package org.variantsync.boosting.parsing
Class JavaAST
java.lang.Object
org.variantsync.boosting.parsing.AbstractAST
org.variantsync.boosting.parsing.JavaAST
- All Implemented Interfaces:
Serializable
Represents an Abstract Syntax Tree (AST) for Java files.
This class extends the AbstractAST class and provides specific functionality
for Java files.
- See Also:
-
Field Summary
Fields inherited from class org.variantsync.boosting.parsing.AbstractAST
astNodes, fileTypes, root
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
visitFileContent
(ASTNode fileNode, File fileToVisit) This method is responsible for visiting the content of a file represented by the given ASTNode and File object.Methods inherited from class org.variantsync.boosting.parsing.AbstractAST
collectAstNodes, getAstNodes, getRoot
-
Constructor Details
-
JavaAST
public JavaAST() -
JavaAST
-
JavaAST
-
-
Method Details
-
visitFileContent
Description copied from class:AbstractAST
This method is responsible for visiting the content of a file represented by the given ASTNode and File object.- Specified by:
visitFileContent
in classAbstractAST
- Parameters:
fileNode
- The ASTNode representing the content of the file to be visited.fileToVisit
- The File object representing the file to be visited.
-