lombok.ast
Interface StrictListAccessor<T extends Node,P extends Node>
- All Superinterfaces:
- Iterable<T>
public interface StrictListAccessor<T extends Node,P extends Node>
- extends Iterable<T>
up
P up()
owner
Node owner()
clear
void clear()
isEmpty
boolean isEmpty()
size
int size()
first
T first()
last
T last()
contains
boolean contains(Node source)
migrateAllFrom
P migrateAllFrom(StrictListAccessor<? extends T,?> otherList)
addToStart
P addToStart(T... node)
addToEnd
P addToEnd(T... node)
addBefore
P addBefore(Node ref,
T... node)
addAfter
P addAfter(Node ref,
T... node)
replace
void replace(Node source,
T replacement)
throws NoSuchElementException
- Throws:
NoSuchElementException
remove
void remove(Node source)
throws NoSuchElementException
- Throws:
NoSuchElementException
asRawAccessor
RawListAccessor<T,P> asRawAccessor()
Copyright © 2010-2011 The Project Lombok Authors, licensed under the MIT licence.