Index
All Classes and Interfaces|All Packages|Serialized Form
A
- AbstractAST - Class in org.variantsync.boosting.parsing
-
AbstractAST is an abstract class representing an Abstract Syntax Tree (AST) with a root node and a set of AST nodes.
- AbstractAST(File, String...) - Constructor for class org.variantsync.boosting.parsing.AbstractAST
-
Constructs an AbstractAST with filtering based on file types.
- AbstractAST(String...) - Constructor for class org.variantsync.boosting.parsing.AbstractAST
-
Constructs an AbstractAST with no filtering based on file types.
- AbstractAST(ASTNode, CustomHashSet<ASTNode>, String...) - Constructor for class org.variantsync.boosting.parsing.AbstractAST
-
Constructs an AbstractAST with a specified root node, set of AST nodes, and optional filtering based on file types.
- addChild(ASTNode) - Method in class org.variantsync.boosting.datastructure.ASTNode
- allFeatures - Variable in class org.variantsync.boosting.product.VariantInitTask.InitResult
-
A set of all features associated with the initialization.
- Association - Class in org.variantsync.boosting.datastructure
-
Represents an association between modules and AST nodes.
- Association(CustomHashSet<Module>, CustomHashSet<Module>, CustomHashSet<Module>, CustomHashSet<Module>, CustomHashSet<ASTNode>) - Constructor for class org.variantsync.boosting.datastructure.Association
-
Constructs a new Association with the specified sets of modules and AST nodes.
- ASTNode - Class in org.variantsync.boosting.datastructure
-
Represents a node in an Abstract Syntax Tree (AST).
- ASTNode(ASTNode, String, Position, ASTNode.NODE_TYPE, Formula) - Constructor for class org.variantsync.boosting.datastructure.ASTNode
-
Constructs a new ASTNode with the specified parameters.
- ASTNode.NODE_TYPE - Enum Class in org.variantsync.boosting.datastructure
-
A node-type specifies the type of node (e.g., root, file, kind of declaration, etc.).
- astNodes - Variable in class org.variantsync.boosting.parsing.AbstractAST
C
- C - Enum constant in enum class org.variantsync.boosting.parsing.ESupportedLanguages
- call() - Method in class org.variantsync.boosting.product.ProductLoadTask
-
Loads the product from the file and returns a LoadResult object.
- call() - Method in class org.variantsync.boosting.product.VariantInitTask
-
Parses the sources and creates an InitResult with the created product.
- CAST - Class in org.variantsync.boosting.parsing
-
Represents a Syntax Tree (CAST) for C source code files.
- CAST() - Constructor for class org.variantsync.boosting.parsing.CAST
-
Constructs a new CAST object with default file types ".c" and ".h".
- CAST(File) - Constructor for class org.variantsync.boosting.parsing.CAST
-
Constructs a new CAST object with the specified root file and default file types ".c" and ".h".
- CAST(ASTNode, CustomHashSet<ASTNode>) - Constructor for class org.variantsync.boosting.parsing.CAST
-
Constructs a new CAST object with the specified root node and AST nodes, and default file types ".c" and ".h".
- CLASS_OR_INTERFACE_DECLARATION - Enum constant in enum class org.variantsync.boosting.datastructure.ASTNode.NODE_TYPE
- collectAstNodes() - Method in class org.variantsync.boosting.parsing.AbstractAST
-
Collects all nodes (except the root node) of the Abstract Syntax Tree (AST) in one set to simplify their access.
- columnNumber() - Method in class org.variantsync.boosting.position.FilePosition
-
Returns the column number associated with the FilePosition object.
- columnNumber() - Method in class org.variantsync.boosting.position.LinePosition
-
Returns the column number of the line.
- columnNumber() - Method in class org.variantsync.boosting.position.Position
-
Returns the column number of the Position object.
- columnNumber() - Method in class org.variantsync.boosting.position.ProductPosition
-
Retrieves the column number associated with the Position of this ProductPosition.
- columnNumber() - Method in class org.variantsync.boosting.position.RootPosition
-
Returns the column number associated with the root position.
- columnNumber() - Method in class org.variantsync.boosting.position.UnspecifiedPosition
-
Gets the column number associated with this UnspecifiedPosition.
- compareTo(Feature) - Method in class org.variantsync.boosting.datastructure.Feature
-
Compares this Feature object with the specified Feature object for order.
- computeMappings() - Method in class org.variantsync.boosting.TraceBoosting
-
Computes mappings for the given target language and returns a MainTree object containing the mappings.
- CONSTRUCTOR_DECLARATION - Enum constant in enum class org.variantsync.boosting.datastructure.ASTNode.NODE_TYPE
- CustomHashSet<E> - Class in org.variantsync.boosting.datastructure
-
A customized generic implementation of a hash set with additional functionality like building powersets or uniting two sets of elements.
- CustomHashSet() - Constructor for class org.variantsync.boosting.datastructure.CustomHashSet
-
Constructs a new EccoSet with no elements.
- CustomHashSet(Collection<E>) - Constructor for class org.variantsync.boosting.datastructure.CustomHashSet
-
Constructs a new EccoSet with the elements from the specified collection.
D
- DEFAULT - Enum constant in enum class org.variantsync.boosting.datastructure.ASTNode.NODE_TYPE
- defaultAction(Node, ASTNode) - Method in class org.variantsync.boosting.parsing.JavaVisitor
- Demo - Class in Unnamed Package
- Demo() - Constructor for class Demo
- DO_STATEMENT - Enum constant in enum class org.variantsync.boosting.datastructure.ASTNode.NODE_TYPE
E
- ELSE_STATEMENT - Enum constant in enum class org.variantsync.boosting.datastructure.ASTNode.NODE_TYPE
- ENUM_CONSTANT_DECLARATION - Enum constant in enum class org.variantsync.boosting.datastructure.ASTNode.NODE_TYPE
- ENUM_DECLARATION - Enum constant in enum class org.variantsync.boosting.datastructure.ASTNode.NODE_TYPE
- equals(Object) - Method in class org.variantsync.boosting.datastructure.Association
- equals(Object) - Method in class org.variantsync.boosting.datastructure.CustomHashSet
- equals(Object) - Method in class org.variantsync.boosting.datastructure.Feature
-
Compares this Feature object with the specified object for equality.
- equals(Object) - Method in class org.variantsync.boosting.datastructure.Module
-
Compares this Module with the specified object for equality.
- equals(Object) - Method in class org.variantsync.boosting.position.FilePosition
-
Compares this FilePosition object with the specified object for equality.
- equals(Object) - Method in class org.variantsync.boosting.position.LinePosition
-
Compares this LinePosition object to the specified object for equality.
- equals(Object) - Method in class org.variantsync.boosting.position.Position
-
Checks if the Position object is equal to another object.
- equals(Object) - Method in class org.variantsync.boosting.position.ProductPosition
-
Checks if this ProductPosition is equal to another object.
- equals(Object) - Method in class org.variantsync.boosting.position.RootPosition
-
Checks if the given object is equal to this RootPosition instance.
- equals(Object) - Method in class org.variantsync.boosting.position.UnspecifiedPosition
-
Checks if this UnspecifiedPosition is equal to another object.
- equals(Object) - Method in class org.variantsync.boosting.product.Variant
- ESupportedLanguages - Enum Class in org.variantsync.boosting.parsing
-
Enum representing supported programming languages.
- extractAssociationsComparisonBased(MainTree) - Method in class org.variantsync.boosting.TraceBoosting
-
Extracts associations from a given main tree by merging each product AST into the main tree and collecting corresponding main tree nodes in the product for backtracking later on.
F
- f - Static variable in class org.variantsync.boosting.TraceBoosting
- Feature - Class in org.variantsync.boosting.datastructure
-
Represents a feature with a name.
- Feature(String) - Constructor for class org.variantsync.boosting.datastructure.Feature
-
Constructs a new Feature object with the given name.
- FILE - Enum constant in enum class org.variantsync.boosting.datastructure.ASTNode.NODE_TYPE
- filePath() - Method in class org.variantsync.boosting.position.FilePosition
-
Returns the file path as a Path object.
- filePath() - Method in class org.variantsync.boosting.position.LinePosition
-
Returns the file path of the file that contains the line.
- filePath() - Method in class org.variantsync.boosting.position.Position
-
Returns the file path of the Position object.
- filePath() - Method in class org.variantsync.boosting.position.ProductPosition
-
Retrieves the file path associated with the Position of this ProductPosition.
- filePath() - Method in class org.variantsync.boosting.position.RootPosition
-
Returns the file path associated with the root position.
- filePath() - Method in class org.variantsync.boosting.position.UnspecifiedPosition
-
Gets the file path associated with this UnspecifiedPosition.
- FilePosition - Class in org.variantsync.boosting.position
-
Represents the location of a file.
- FilePosition(String) - Constructor for class org.variantsync.boosting.position.FilePosition
-
Constructs a new FilePosition object with the specified file path.
- fileTypes - Variable in class org.variantsync.boosting.parsing.AbstractAST
- FOLDER - Enum constant in enum class org.variantsync.boosting.datastructure.ASTNode.NODE_TYPE
- FOR_STATEMENT - Enum constant in enum class org.variantsync.boosting.datastructure.ASTNode.NODE_TYPE
- FOREACH_STATEMENT - Enum constant in enum class org.variantsync.boosting.datastructure.ASTNode.NODE_TYPE
- forgetAST() - Method in class org.variantsync.boosting.product.Variant
-
Clears the variant's Abstract Syntax Tree (AST) by setting it to null.
- fromSerializedPosition(String[]) - Static method in class org.variantsync.boosting.position.Position
-
Creates a Position object from a serialized string.
G
- getAll() - Method in class org.variantsync.boosting.datastructure.Association
-
Returns the set off all modules.
- getAllFeatures() - Method in class org.variantsync.boosting.TraceBoosting
- getAstNodes() - Method in class org.variantsync.boosting.datastructure.Association
-
Returns the set of AST nodes contained in this EccoSet.
- getAstNodes() - Method in class org.variantsync.boosting.parsing.AbstractAST
-
Returns a set of all AST nodes in the tree.
- getAstNodesMainTree() - Method in class org.variantsync.boosting.product.Variant
-
Returns the set of AST nodes in the main tree.
- getChildren() - Method in class org.variantsync.boosting.datastructure.ASTNode
-
Returns a set of this node's child nodes.
- getCode() - Method in class org.variantsync.boosting.datastructure.ASTNode
- getConfiguration() - Method in class org.variantsync.boosting.product.VariantPassport
-
Returns the path to the product configuration.
- getFeatures() - Method in class org.variantsync.boosting.product.Variant
-
Retrieves the set of features associated with the variant.
- getFormulaFactory() - Static method in class org.variantsync.boosting.TraceBoosting
-
Returns the FormulaFactory instance that is currently in use.
- getInputFile() - Method in class org.variantsync.boosting.TraceBoosting
-
Gets the input file name.
- getInputFolder() - Method in class org.variantsync.boosting.TraceBoosting
-
Gets the input folder path.
- getLiterals() - Method in class org.variantsync.boosting.datastructure.Module
-
Returns the set of literals contained in this Module.
- getMapping() - Method in class org.variantsync.boosting.datastructure.Association
-
Returns the feature mapping formula associated with this object.
- getMapping() - Method in class org.variantsync.boosting.datastructure.ASTNode
-
Returns the best mapping as a formula
- getMapping(ProductPosition) - Method in class org.variantsync.boosting.datastructure.MainTree
-
Retrieves the mapping formula associated with a given product position.
- getMappingFromPosition(Position) - Method in class org.variantsync.boosting.product.Variant
-
Returns the mapping of the node at the given position in the variant's AST or, if it has already been merged into the main tree, the mapping of the corresponding node in the main tree.
- getMappings() - Method in class org.variantsync.boosting.datastructure.ASTNode
-
Returns set set of all possible mappings (if the mapping is a DNF formula, each clause is a possible mapping on its own) for this node.
- getMax() - Method in class org.variantsync.boosting.datastructure.Association
-
Returns the set of max module.
- getMin() - Method in class org.variantsync.boosting.datastructure.Association
-
Returns the set of min modules.
- getName() - Method in class org.variantsync.boosting.datastructure.Feature
-
Returns the name of the feature.
- getName() - Method in class org.variantsync.boosting.product.Variant
-
Returns the name of the object.
- getName() - Method in class org.variantsync.boosting.product.VariantPassport
-
Returns the name of the product.
- getNodeFromPosition(Position) - Method in class org.variantsync.boosting.product.Variant
-
Returns the ASTNode at the given position in the variant AST or, if it has already been merged into the main tree, returns the corresponding node in the main tree.
- getNot() - Method in class org.variantsync.boosting.datastructure.Association
-
Returns the set of not modules.
- getParent() - Method in class org.variantsync.boosting.datastructure.ASTNode
- getPaths() - Method in class org.variantsync.boosting.TraceBoosting
-
Returns an array of strings containing the paths for the input folder, input file, results folder, and results file.
- getProductAst() - Method in class org.variantsync.boosting.product.Variant
-
Returns the Abstract Syntax Tree (AST) representing the variant.
- getProductEquivalent() - Method in class org.variantsync.boosting.datastructure.ASTNode
-
Gets the equivalent node of this node.
- getProductPositions(ASTNode) - Method in class org.variantsync.boosting.datastructure.MainTree
-
Retrieves the set of ProductPositions associated with the given ASTNode.
- getResultsFile() - Method in class org.variantsync.boosting.TraceBoosting
-
Gets the results file name.
- getResultsFolder() - Method in class org.variantsync.boosting.TraceBoosting
-
Gets the results folder path.
- getRoot() - Method in class org.variantsync.boosting.parsing.AbstractAST
-
Returns the root node of the Abstract Syntax Tree (AST).
- getSmallestMaxModules() - Method in class org.variantsync.boosting.datastructure.Association
-
Returns a list of the smallest max modules.
- getSmallestMinModules() - Method in class org.variantsync.boosting.datastructure.Association
-
Returns a list of the smallest min modules.
- getSourcesRoot() - Method in class org.variantsync.boosting.product.VariantPassport
-
Returns the root path for the product sources.
- getStartPosition() - Method in class org.variantsync.boosting.datastructure.ASTNode
-
Return the position (file, line) where the content of this node starts.
- getTree() - Method in class org.variantsync.boosting.datastructure.MainTree
-
Retrieves the AbstractAST tree associated with this MainTree.
- getType() - Method in class org.variantsync.boosting.datastructure.ASTNode
-
Gets the type of this node
- getVariants() - Method in class org.variantsync.boosting.TraceBoosting
H
- hashCode() - Method in class org.variantsync.boosting.datastructure.Association
- hashCode() - Method in class org.variantsync.boosting.datastructure.Feature
-
Returns a hash code value for the Feature object.
- hashCode() - Method in class org.variantsync.boosting.datastructure.Module
-
Returns a hash code value for the Module.
- hashCode() - Method in class org.variantsync.boosting.position.FilePosition
-
Returns the hash code value for the FilePosition object.
- hashCode() - Method in class org.variantsync.boosting.position.LinePosition
-
Returns a hash code value for the LinePosition object.
- hashCode() - Method in class org.variantsync.boosting.position.Position
-
Returns the hash code of the Position object.
- hashCode() - Method in class org.variantsync.boosting.position.ProductPosition
-
Generates a hash code for this ProductPosition.
- hashCode() - Method in class org.variantsync.boosting.position.RootPosition
-
Returns the hash code value for the root position.
- hashCode() - Method in class org.variantsync.boosting.position.UnspecifiedPosition
-
Generates a hash code for this UnspecifiedPosition.
- hashCode() - Method in class org.variantsync.boosting.product.Variant
- hasNext() - Method in class org.variantsync.boosting.product.ProductLoader
-
Checks if there are more products to load.
I
- id - Variable in class org.variantsync.boosting.product.ProductLoadTask.LoadResult
- id - Variable in class org.variantsync.boosting.product.VariantInitTask.InitResult
-
The ID of the initialization.
- IF_STATEMENT - Enum constant in enum class org.variantsync.boosting.datastructure.ASTNode.NODE_TYPE
- initialize() - Method in class org.variantsync.boosting.TraceBoosting
-
Initializes the products by creating them from variants and configuration files.
- InitResult(int, CustomHashSet<Feature>, Variant) - Constructor for class org.variantsync.boosting.product.VariantInitTask.InitResult
-
Constructs a new InitResult with the specified ID, set of all features, and product.
- INSTANCE - Static variable in class org.variantsync.boosting.position.RootPosition
- INSTANCE - Static variable in class org.variantsync.boosting.position.UnspecifiedPosition
- intersect(CustomHashSet<E>) - Method in class org.variantsync.boosting.datastructure.CustomHashSet
-
Returns a new set that is an intersection between this set and the given set
- intersectElement(E) - Method in class org.variantsync.boosting.datastructure.CustomHashSet
-
Returns a new set that is an intersection between this set and the given set
- isBasic() - Method in class org.variantsync.boosting.datastructure.Association
-
Returns whether the association tracks base code.
- isSimilar(ASTNode) - Method in class org.variantsync.boosting.datastructure.ASTNode
-
Checks whether the given ASTNode is similar to this one.
J
- JAVA - Enum constant in enum class org.variantsync.boosting.parsing.ESupportedLanguages
- JavaAST - Class in org.variantsync.boosting.parsing
-
Represents an Abstract Syntax Tree (AST) for Java files.
- JavaAST() - Constructor for class org.variantsync.boosting.parsing.JavaAST
- JavaAST(File) - Constructor for class org.variantsync.boosting.parsing.JavaAST
- JavaAST(ASTNode, CustomHashSet<ASTNode>) - Constructor for class org.variantsync.boosting.parsing.JavaAST
- JavaVisitor - Class in org.variantsync.boosting.parsing
-
This class represents a Java visitor that is used to visit ASTNodes in a Java file.
- JavaVisitor(String) - Constructor for class org.variantsync.boosting.parsing.JavaVisitor
-
Constructs a new JavaVisitor object with the specified visited file.
L
- LINE - Enum constant in enum class org.variantsync.boosting.datastructure.ASTNode.NODE_TYPE
- LineAST - Class in org.variantsync.boosting.parsing
-
Represents a node in the Abstract Syntax Tree (AST) that represents a line of code in a file.
- LineAST(File, String...) - Constructor for class org.variantsync.boosting.parsing.LineAST
-
Constructs a LineAST object with the specified root file and file types.
- LineAST(String...) - Constructor for class org.variantsync.boosting.parsing.LineAST
-
Constructs a LineAST object with the specified file types.
- LineAST(ASTNode, CustomHashSet<ASTNode>, String...) - Constructor for class org.variantsync.boosting.parsing.LineAST
-
Constructs a LineAST object with the specified root node, AST nodes, and file types.
- lineNumber() - Method in class org.variantsync.boosting.position.FilePosition
-
Returns the line number associated with the FilePosition object.
- lineNumber() - Method in class org.variantsync.boosting.position.LinePosition
-
Returns the line number of the line.
- lineNumber() - Method in class org.variantsync.boosting.position.Position
-
Returns the line number of the Position object.
- lineNumber() - Method in class org.variantsync.boosting.position.ProductPosition
-
Retrieves the line number associated with the Position of this ProductPosition.
- lineNumber() - Method in class org.variantsync.boosting.position.RootPosition
-
Returns the line number associated with the root position.
- lineNumber() - Method in class org.variantsync.boosting.position.UnspecifiedPosition
-
Gets the line number associated with this UnspecifiedPosition.
- LinePosition - Class in org.variantsync.boosting.position
-
Represents a position in a file with line and column numbers.
- LinePosition(String, int, int) - Constructor for class org.variantsync.boosting.position.LinePosition
-
Constructs a LinePosition object with the specified file position, line number, and column number.
- LINES - Enum constant in enum class org.variantsync.boosting.parsing.ESupportedLanguages
- loadMainTree(String) - Static method in class org.variantsync.boosting.TraceBoosting
-
Loads the main tree from the specified folder.
- LoadResult(int, Variant) - Constructor for class org.variantsync.boosting.product.ProductLoadTask.LoadResult
M
- main(String[]) - Static method in class Demo
- MainTree - Class in org.variantsync.boosting.datastructure
-
The MainTree represents the AST resulting from merging several product ASTs.
- MainTree(AbstractAST) - Constructor for class org.variantsync.boosting.datastructure.MainTree
-
Initializes a MainTree object with the given AbstractAST tree.
- mapping_calculation - Variable in class org.variantsync.boosting.TraceBoosting
- METHOD_DECLARATION - Enum constant in enum class org.variantsync.boosting.datastructure.ASTNode.NODE_TYPE
- Module - Class in org.variantsync.boosting.datastructure
-
A Module holds sets of likely and unlikely features and is mapped through an
Association
ontoASTNode
s. - Module(CustomHashSet<Literal>) - Constructor for class org.variantsync.boosting.datastructure.Module
-
Constructs a new Module with the given set of literals.
- MODULE_DECLARATION - Enum constant in enum class org.variantsync.boosting.datastructure.ASTNode.NODE_TYPE
N
- next() - Method in class org.variantsync.boosting.product.ProductLoader
-
Loads the next product using a thread from the thread pool.
O
- org.variantsync.boosting - package org.variantsync.boosting
- org.variantsync.boosting.datastructure - package org.variantsync.boosting.datastructure
- org.variantsync.boosting.parsing - package org.variantsync.boosting.parsing
- org.variantsync.boosting.position - package org.variantsync.boosting.position
- org.variantsync.boosting.product - package org.variantsync.boosting.product
- overwrite(E) - Method in class org.variantsync.boosting.datastructure.CustomHashSet
-
Replaces an equivalent element in the set with a new version of it
P
- parsePosition(Position) - Method in class org.variantsync.boosting.parsing.JavaVisitor
-
Parses a javaparser Position object into our custom Position object.
- position - Variable in class org.variantsync.boosting.position.ProductPosition
- Position - Class in org.variantsync.boosting.position
-
Represents a position in a file, line, or root.
- Position() - Constructor for class org.variantsync.boosting.position.Position
- powerSet() - Method in class org.variantsync.boosting.datastructure.CustomHashSet
-
Returns the power set of this set.
- ProductLoader - Class in org.variantsync.boosting.product
-
A class that implements an Iterator for loading products using multiple threads.
- ProductLoader(List<ProductLoadTask>, int) - Constructor for class org.variantsync.boosting.product.ProductLoader
-
Constructs a ProductLoader with the specified list of load tasks and number of threads.
- ProductLoadTask - Class in org.variantsync.boosting.product
-
A Callable task that loads a product from a given file path.
- ProductLoadTask(Path) - Constructor for class org.variantsync.boosting.product.ProductLoadTask
-
Constructs a ProductLoadTask with the given product file path.
- ProductLoadTask.LoadResult - Class in org.variantsync.boosting.product
-
Represents the result of loading a product, containing the product ID and product object.
- ProductPosition - Class in org.variantsync.boosting.position
-
Represents a mapping between a Product and a Position.
- ProductPosition(Variant, Position) - Constructor for class org.variantsync.boosting.position.ProductPosition
-
Constructs a new ProductPosition object with the given Product and Position.
- ProductSaveTask - Class in org.variantsync.boosting.product
-
A class representing a task to save a product to a file.
- ProductSaveTask(Variant, String, int) - Constructor for class org.variantsync.boosting.product.ProductSaveTask
-
Constructor for ProductSaveTask.
R
- removeNodes(CustomHashSet<ASTNode>) - Method in class org.variantsync.boosting.datastructure.Association
-
Removes the specified nodes from the current set of AST nodes.
- resetProcessedCount() - Static method in class org.variantsync.boosting.product.ProductLoadTask
-
Resets the processed count to zero.
- resetProcessedCount() - Static method in class org.variantsync.boosting.product.ProductSaveTask
-
Reset the processed count to zero.
- root - Variable in class org.variantsync.boosting.parsing.AbstractAST
- ROOT - Enum constant in enum class org.variantsync.boosting.datastructure.ASTNode.NODE_TYPE
- RootPosition - Class in org.variantsync.boosting.position
-
Represents the root position in a tree.
- run() - Method in class org.variantsync.boosting.product.ProductSaveTask
-
Saves the product to a file.
S
- saveMainTree(MainTree, String) - Static method in class org.variantsync.boosting.TraceBoosting
-
Saves the main tree object to a file in the specified folder.
- serializedPosition() - Method in class org.variantsync.boosting.position.FilePosition
-
Returns a serialized representation of the FilePosition object.
- serializedPosition() - Method in class org.variantsync.boosting.position.LinePosition
-
Returns a serialized representation of the LinePosition object.
- serializedPosition() - Method in class org.variantsync.boosting.position.Position
-
Serializes the Position object into an array of strings.
- serializedPosition() - Method in class org.variantsync.boosting.position.RootPosition
-
Returns the serialized representation of the root position.
- serializedPosition() - Method in class org.variantsync.boosting.position.UnspecifiedPosition
-
Serializes the position into an array of strings.
- setAll(CustomHashSet<Module>) - Method in class org.variantsync.boosting.datastructure.Association
-
Sets the all modules.
- setAstNodesMainTree(CustomHashSet<ASTNode>) - Method in class org.variantsync.boosting.product.Variant
-
Sets the AST nodes for the main tree.
- setBasic(Boolean) - Method in class org.variantsync.boosting.datastructure.Association
-
Define this association as tracking base code.
- setInputFile(String) - Method in class org.variantsync.boosting.TraceBoosting
-
Sets the input file name.
- setInputFolder(String) - Method in class org.variantsync.boosting.TraceBoosting
-
Sets the input folder path.
- setMapping(Formula) - Method in class org.variantsync.boosting.datastructure.Association
-
Sets the feature mapping for the association.
- setMapping(Formula) - Method in class org.variantsync.boosting.datastructure.ASTNode
-
Sets a specific mapping for this node
- setMax(CustomHashSet<Module>) - Method in class org.variantsync.boosting.datastructure.Association
-
Sets the max modules.
- setMin(CustomHashSet<Module>) - Method in class org.variantsync.boosting.datastructure.Association
-
Sets the min modules.
- setNot(CustomHashSet<Module>) - Method in class org.variantsync.boosting.datastructure.Association
-
Sets the not modules.
- setNumThreads(int) - Method in class org.variantsync.boosting.TraceBoosting
- setParent(ASTNode) - Method in class org.variantsync.boosting.datastructure.ASTNode
-
Sets the parent of this ASTNode in the AST.
- setPaths(String, String, String, String) - Method in class org.variantsync.boosting.TraceBoosting
-
Sets the paths for input and results folders and files.
- setProductEquivalent(ASTNode) - Method in class org.variantsync.boosting.datastructure.ASTNode
-
Sets the equivalent node of this node.
- setResultsFile(String) - Method in class org.variantsync.boosting.TraceBoosting
-
Sets the results file name.
- setResultsFolder(String) - Method in class org.variantsync.boosting.TraceBoosting
-
Sets the results folder path.
- size() - Method in class org.variantsync.boosting.datastructure.Module
-
Returns the number of literals in this Module.
- SWITCH_ENTRY - Enum constant in enum class org.variantsync.boosting.datastructure.ASTNode.NODE_TYPE
- SWITCH_STMT - Enum constant in enum class org.variantsync.boosting.datastructure.ASTNode.NODE_TYPE
T
- THEN_STATEMENT - Enum constant in enum class org.variantsync.boosting.datastructure.ASTNode.NODE_TYPE
- TraceBoosting - Class in org.variantsync.boosting
-
The
TraceBoosting
class encapsulates the algorithm for enhancing retroactive comparison-based feature tracing with proactively collected feature traces. - TraceBoosting(List<VariantPassport>, Path, ESupportedLanguages) - Constructor for class org.variantsync.boosting.TraceBoosting
U
- unite(CustomHashSet<E>) - Method in class org.variantsync.boosting.datastructure.CustomHashSet
-
Returns a new set that is the union of this set and the given set
- unite(Variant) - Method in class org.variantsync.boosting.datastructure.MainTree
-
Merges the Abstract Syntax Tree (AST) of the given product into the of this main AST (main tree) and returns the set of all nodes in the resulting main tree corresponding to the nodes of this AST.
- uniteElement(E) - Method in class org.variantsync.boosting.datastructure.CustomHashSet
-
Returns a new set that is the union of this set and the given set
- UnspecifiedPosition - Class in org.variantsync.boosting.position
-
Represents an unspecified position.
V
- valueOf(String) - Static method in enum class org.variantsync.boosting.datastructure.ASTNode.NODE_TYPE
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.variantsync.boosting.parsing.ESupportedLanguages
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.variantsync.boosting.datastructure.ASTNode.NODE_TYPE
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.variantsync.boosting.parsing.ESupportedLanguages
-
Returns an array containing the constants of this enum class, in the order they are declared.
- variant - Variable in class org.variantsync.boosting.position.ProductPosition
- variant - Variable in class org.variantsync.boosting.product.ProductLoadTask.LoadResult
- variant - Variable in class org.variantsync.boosting.product.VariantInitTask.InitResult
-
The product associated with the initialization.
- Variant - Class in org.variantsync.boosting.product
-
The class Variant represents a software variant with features and an abstract syntax tree (AST).
- Variant(String, CustomHashSet<ASTNode>, AbstractAST, CustomHashSet<Feature>) - Constructor for class org.variantsync.boosting.product.Variant
-
Constructs a new Variant object with the given parameters.
- Variant(Variant) - Constructor for class org.variantsync.boosting.product.Variant
-
Creates a new Variant object by copying the contents of another Variant object.
- VariantInitTask - Class in org.variantsync.boosting.product
-
A Callable task for initializing a product with the given parameters.
- VariantInitTask(int, VariantPassport, ESupportedLanguages) - Constructor for class org.variantsync.boosting.product.VariantInitTask
-
Initializes a ProductInitializationTask with the given product number, product passport, and target language.
- VariantInitTask.InitResult - Class in org.variantsync.boosting.product
-
Represents the result of initializing a product.
- VariantPassport - Class in org.variantsync.boosting.product
-
The ProductPassport collects the information about the product name, sources root, and configuration path.
- VariantPassport(String, Path, Path) - Constructor for class org.variantsync.boosting.product.VariantPassport
-
Constructs a new ProductPassport with the given name, sources root, and configuration path.
- visit(ClassOrInterfaceDeclaration, ASTNode) - Method in class org.variantsync.boosting.parsing.JavaVisitor
- visit(ConstructorDeclaration, ASTNode) - Method in class org.variantsync.boosting.parsing.JavaVisitor
- visit(EnumConstantDeclaration, ASTNode) - Method in class org.variantsync.boosting.parsing.JavaVisitor
- visit(EnumDeclaration, ASTNode) - Method in class org.variantsync.boosting.parsing.JavaVisitor
- visit(MethodDeclaration, ASTNode) - Method in class org.variantsync.boosting.parsing.JavaVisitor
- visit(CompilationUnit, ASTNode) - Method in class org.variantsync.boosting.parsing.JavaVisitor
- visit(ModuleDeclaration, ASTNode) - Method in class org.variantsync.boosting.parsing.JavaVisitor
- visit(NodeList, ASTNode) - Method in class org.variantsync.boosting.parsing.JavaVisitor
- visit(BlockStmt, ASTNode) - Method in class org.variantsync.boosting.parsing.JavaVisitor
- visit(DoStmt, ASTNode) - Method in class org.variantsync.boosting.parsing.JavaVisitor
- visit(ForEachStmt, ASTNode) - Method in class org.variantsync.boosting.parsing.JavaVisitor
- visit(ForStmt, ASTNode) - Method in class org.variantsync.boosting.parsing.JavaVisitor
- visit(IfStmt, ASTNode) - Method in class org.variantsync.boosting.parsing.JavaVisitor
- visit(SwitchEntry, ASTNode) - Method in class org.variantsync.boosting.parsing.JavaVisitor
- visit(SwitchStmt, ASTNode) - Method in class org.variantsync.boosting.parsing.JavaVisitor
- visitFileContent(ASTNode, File) - Method in class org.variantsync.boosting.parsing.AbstractAST
-
This method is responsible for visiting the content of a file represented by the given ASTNode and File object.
- visitFileContent(ASTNode, File) - Method in class org.variantsync.boosting.parsing.JavaAST
- visitFileContent(ASTNode, File) - Method in class org.variantsync.boosting.parsing.LineAST
-
This method is used to visit the content of a file and create an AST node for each line in the file.
W
- without(CustomHashSet<E>) - Method in class org.variantsync.boosting.datastructure.CustomHashSet
-
Returns a new set that contains all elements in this set after removing the elements in the given set
- withoutElement(E) - Method in class org.variantsync.boosting.datastructure.CustomHashSet
-
Returns a new set that contains all elements in this set after removing the elements in the given set
All Classes and Interfaces|All Packages|Serialized Form