Uses of Enum Class
org.variantsync.diffdetective.variation.diff.Time
Packages that use Time
Package
Description
-
Uses of Time in org.variantsync.diffdetective.diff.git
Methods in org.variantsync.diffdetective.diff.git with parameters of type TimeModifier and TypeMethodDescriptionPatchDiff.getFileExtension(Time time) Returns the extension of the file this patch is modifying.GitPatch.getFileName(Time time) Returns the name of the patched file at the given time.GitPatch.SimpleGitPatch.getFileName(Time time) PatchDiff.getFileName(Time time) -
Uses of Time in org.variantsync.diffdetective.diff.text
Methods in org.variantsync.diffdetective.diff.text with parameters of type TimeModifier and TypeMethodDescriptionintReturns the line number at the given time.static LineRangeDiffLineNumber.rangeAtTime(DiffLineNumber from, DiffLineNumber to, Time time) Returns the range between two line numbers at a given time.DiffLineNumber.withLineNumberAtTime(int lineNumber, Time time) -
Uses of Time in org.variantsync.diffdetective.examplesearch
Methods in org.variantsync.diffdetective.examplesearch with parameters of type TimeModifier and TypeMethodDescriptionprivate static booleanExampleCriterions.isNestedAt(DiffNode<?> n, Time t) -
Uses of Time in org.variantsync.diffdetective.gumtree
Constructors in org.variantsync.diffdetective.gumtree with parameters of type Time -
Uses of Time in org.variantsync.diffdetective.variation
Methods in org.variantsync.diffdetective.variation with parameters of type TimeModifier and TypeMethodDescriptionprivate List<DiffLinesLabel.Line> DiffLinesLabel.mapWithoutTimeDependentState(List<DiffLinesLabel.Line> lines, Time time) static StringExtract the state of the diffed text before or afterdiff.DiffLinesLabel.withoutTimeDependentState(Time time) Returns a deep copy where the line numbers attimeare set toDiffLineNumber.InvalidLineNumber.default LabelLabel.withoutTimeDependentState(Time time) Returns a deep copy where the state that is only valid attimeis set to its default value.DiffLinesLabel.withTimeDependentStateFrom(Label otherLabel, Time time) Returns a deep copy where the line numbers attimeare copied fromotherLabel.default LabelLabel.withTimeDependentStateFrom(Label other, Time time) Returns a deep copy where the state that is only valid attimeis copied fromother.private static List<DiffLinesLabel.Line> DiffLinesLabel.zipWithTimeDependentStateFrom(List<DiffLinesLabel.Line> linesA, List<DiffLinesLabel.Line> linesB, Time time) -
Uses of Time in org.variantsync.diffdetective.variation.diff
Fields in org.variantsync.diffdetective.variation.diff declared as TimeModifier and TypeFieldDescriptionprivate TimeProjection.timeprivate final TimeProjectionSource.timeThe field for thetimerecord component.Methods in org.variantsync.diffdetective.variation.diff that return TimeModifier and TypeMethodDescriptionProjection.getTime()Time.other()Returns the complement of this time.ProjectionSource.time()Returns the value of thetimerecord component.static TimeReturns the enum constant of this class with the specified name.static Time[]Time.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.variantsync.diffdetective.variation.diff with parameters of type TimeModifier and TypeMethodDescriptionvoidThe same asDiffNode.insertChild(org.variantsync.diffdetective.variation.diff.DiffNode<L>, int, org.variantsync.diffdetective.variation.diff.Time)but puts the node at the end of the children list instead of inserting it at a specific index.voidDiffNode.addChildren(Collection<DiffNode<L>> children, Time time) Adds all given nodes at the timetimeas children usingDiffNode.addChild(org.variantsync.diffdetective.variation.diff.DiffNode<L>, org.variantsync.diffdetective.variation.diff.Time).private DiffNode.TimeDependentState<L> voidRemoves this subtree from its parents at the timetime.booleanDiffType.existsAtTime(Time time) Returns true iff artifacts with this diff type exist at the given time.intDiffNode.getChangeAmount(Time time) Gets the amount of nodes on the path from the root to this node which only exist at the timetime.DiffNode.getChildOrder(Time time) Returns the order of the children attime.intGets the length of the path from the root to this node at the timetime.org.prop4j.NodeDiffNode.getFeatureMapping(Time time) Returns the full feature mapping formula of this node.Gets the firstifnode in the path from the root to this node at the timetime.DiffNode.getLinesAtTime(Time time) Returns the range of line numbers of this node's corresponding source code before or after the edit.Returns the parent of this node before or after the edit.org.prop4j.NodeDiffNode.getPresenceCondition(Time time) Returns the presence condition of this node before or after the edit.intDiffNode.indexOfChild(DiffNode<L> child, Time time) Returns the index of the given child in the list of children of this node.voidDiffNode.insertChild(DiffNode<L> child, int index, Time time) Insertchildas child at the timetimeat the positionindex.booleanReturns true iff this node is the parent of the given node at the given time.Creates the projection of this variation diff at the given time.DiffNode.projection(Time time) Returns a view of thisDiffNodeas a variation node at the timetime.voidDiffNode.removeChild(DiffNode<L> child, Time time) Removes the given node from this node's children before or after the edit.DiffNode.removeChildren(Time time) Removes all children before or after the edit.voidReplaces a child of this node with another node.voidDiffNode.setLinesAtTime(LineRange lineRange, Time time) Returns the range of line numbers of this node's corresponding source code before or after the edit.Splits anunmodifiednode into a removed and an added node.voidDiffNode.stealChildrenOf(Time time, DiffNode<L> other) Removes all children from the given node and adds them as children to this node at the given time.static DiffTypeDiffType.thatExistsOnlyAt(Time time) Returns the diff type for which corresponding artifacts exist only at the given time.Method parameters in org.variantsync.diffdetective.variation.diff with type arguments of type TimeModifier and TypeMethodDescriptionstatic voidInvoke the given function for each time value (i.e., each value in this enum).<T extends Throwable>
voidDiffType.forAllTimesOfExistence(org.apache.commons.lang3.function.FailableConsumer<Time, T> t) Runs the given procedure for any time at which elements with this diff type exist.DiffType.thatExistsOnlyAtAll(Set<Time> t) Returns the diff type for which corresponding artifacts exist at all times in the given set.Constructors in org.variantsync.diffdetective.variation.diff with parameters of type TimeModifierConstructorDescription(package private)Projection(DiffNode<L> backingNode, Time time) Creates a new projection of aDiffNode.ProjectionSource(VariationDiff<L> origin, Time time) Creates an instance of aProjectionSourcerecord class. -
Uses of Time in org.variantsync.diffdetective.variation.diff.bad
Fields in org.variantsync.diffdetective.variation.diff.bad with type parameters of type TimeMethods in org.variantsync.diffdetective.variation.diff.bad with parameters of type TimeModifier and TypeMethodDescription(package private) VariationTreeNode<L> Returns the VariationTreeNode that represents the given DiffNode d at the given time t in the produced bad diff.(package private) voidRemember that the given DiffNode d was translated to the given VariationTreeNode v at time t. -
Uses of Time in org.variantsync.diffdetective.variation.diff.graph
Fields in org.variantsync.diffdetective.variation.diff.graph declared as TimeModifier and TypeFieldDescriptionprivate final TimeFormalDiffGraph.Edge.timeThe field for thetimerecord component.Methods in org.variantsync.diffdetective.variation.diff.graph that return TimeModifier and TypeMethodDescriptionFormalDiffGraph.Edge.time()Returns the value of thetimerecord component.Constructors in org.variantsync.diffdetective.variation.diff.graph with parameters of type Time -
Uses of Time in org.variantsync.diffdetective.variation.diff.parse
Methods in org.variantsync.diffdetective.variation.diff.parse with parameters of type TimeModifier and TypeMethodDescriptionprivate voidVariationDiffParser.popIfChain(Time time, DiffLineNumber elseLineNumber, LogicalLine line) Pop the stack until an IF node is popped. -
Uses of Time in org.variantsync.diffdetective.variation.diff.view
Methods in org.variantsync.diffdetective.variation.diff.view that return types with arguments of type TimeModifier and TypeMethodDescriptionstatic <L extends Label>
BiPredicate<Time, Projection<L>> DiffView.computeWhenNodesAreRelevant(VariationDiff<L> d, Relevance rho) Translates a relevance predicate for nodes on variation trees to a relevance predicate on nodes in a variation diff.Method parameters in org.variantsync.diffdetective.variation.diff.view with type arguments of type TimeModifier and TypeMethodDescriptionstatic <L extends Label>
VariationDiff<DiffLinesLabel> DiffView.naive(VariationDiff<L> d, Relevance rho, BiPredicate<Time, Projection<L>> inView) This method is not intended to be used directly and exists for optimization purposes only.static <L extends Label>
VariationDiff<L> DiffView.optimized(VariationDiff<L> d, Relevance rho, BiPredicate<Time, Projection<L>> inView) This method is not intended to be used directly and exists for optimization purposes only.