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

public Class ListAdditionChange

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

The Addition of an element to a list.

Field Summary

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

Constructor Summary

AccessConstructor and Description
public
ListAdditionChange(ObservableProperty observableProperty, int index, Node nodeAdded)

Method Summary

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

Field Detail

indexback to summary
private final int index
nodeAddedback to summary
private final Node nodeAdded
observablePropertyback to summary
private final ObservableProperty observableProperty

Constructor Detail

ListAdditionChangeback to summary
public ListAdditionChange(ObservableProperty observableProperty, int index, Node nodeAdded)

Method Detail

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

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

Annotations
@Override