Package org.jruby.ir.listeners
Class InstructionsListenerDecorator
java.lang.Object
org.jruby.ir.listeners.InstructionsListenerDecorator
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate class -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionInstructionsListenerDecorator(BasicBlock basicBlock, List<Instr> instrs, InstructionsListener listener) -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanbooleanaddAll(int index, Collection<? extends Instr> c) booleanaddAll(Collection<? extends Instr> c) voidclear()booleanbooleancontainsAll(Collection<?> c) get(int index) intbooleanisEmpty()iterator()intlistIterator(int index) remove(int index) booleanbooleanremoveAll(Collection<?> c) booleanretainAll(Collection<?> c) intsize()subList(int fromIndex, int toIndex) Object[]toArray()<T> T[]toArray(T[] a) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.List
equals, hashCode, replaceAll, sort, spliterator
-
Field Details
-
basicBlock
-
instrs
-
listener
-
-
Constructor Details
-
InstructionsListenerDecorator
public InstructionsListenerDecorator(BasicBlock basicBlock, List<Instr> instrs, InstructionsListener listener)
-
-
Method Details
-
size
public int size() -
isEmpty
public boolean isEmpty() -
contains
-
iterator
-
toArray
-
toArray
public <T> T[] toArray(T[] a) -
add
-
remove
-
containsAll
- Specified by:
containsAllin interfaceCollection<Instr>- Specified by:
containsAllin interfaceList<Instr>
-
addAll
-
addAll
-
removeAll
-
retainAll
-
clear
public void clear() -
get
-
set
-
add
-
remove
-
indexOf
-
lastIndexOf
- Specified by:
lastIndexOfin interfaceList<Instr>
-
listIterator
- Specified by:
listIteratorin interfaceList<Instr>
-
listIterator
- Specified by:
listIteratorin interfaceList<Instr>
-
subList
-