Top Description Fields Constructors Methods
com.github.javaparser.printer.lexicalpreservation.changes

public Class ListReplacementChange

extends Object
implements Change
Class Inheritance
All Implemented Interfaces
com.github.javaparser.printer.lexicalpreservation.changes.Change
Imports
com.github.javaparser.ast.Node, .NodeList, com.github.javaparser.ast.observer.ObservableProperty, java.util.Optional

The replacement of an element in a list.

Field Summary

Modifier and TypeField and Description
private final int
private final Node
private final ObservableProperty

Constructor Summary

AccessConstructor and Description
public
ListReplacementChange(ObservableProperty observableProperty, int index, Node newValue)

Method Summary

Modifier and TypeMethod and Description
public Object
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

indexback to summary
private final int index
newValueback to summary
private final Node newValue
observablePropertyback to summary
private final ObservableProperty observableProperty

Constructor Detail

ListReplacementChangeback to summary
public ListReplacementChange(ObservableProperty observableProperty, int index, Node newValue)

Method Detail

getValueback to summary
public Object getValue(ObservableProperty property, Node node)

Implements com.github.javaparser.printer.lexicalpreservation.changes.Change.getValue.

Annotations
@Override