/* BSD 2-Clause License - see OPAL/LICENSE for details. */ package org.opalj package br package instructions /** * Store into reference array. * * @author Michael Eichberg */ case object AASTORE extends ArrayStoreInstruction with InstructionMetaInformation { final val opcode = 83 final val mnemonic = "aastore" final val elementTypeComputationalType: ComputationalType = ComputationalTypeReference final val jvmExceptions: List[ClassType] = { List(ClassType.ArrayIndexOutOfBoundsException, ClassType.NullPointerException, ClassType.ArrayStoreException) } final def nextInstructions( currentPC: PC, regularSuccessorsOnly: Boolean )( implicit code: Code, classHierarchy: ClassHierarchy = ClassHierarchy.PreInitializedClassHierarchy ): List[PC] = { if (regularSuccessorsOnly) List(indexOfNextInstruction(currentPC)) else Instruction.nextInstructionOrExceptionHandlers(this, currentPC, jvmExceptions) } }