Interface NewReferenceArrayInstruction
- All Superinterfaces:
- ClassFileElement,- CodeElement,- Instruction
Models a 
anewarray instruction in the code
 array of a Code attribute.  Delivered as a CodeElement
 when traversing the elements of a CodeModel.
 A new reference array instruction is composite:
NewReferenceArrayInstruction(ClassEntry componentType)
- See Java Virtual Machine Specification:
- 
6.5.anewarray anewarray
- Since:
- 24
- See Also:
- 
Method SummaryModifier and TypeMethodDescriptionReturns the component type of the array.static NewReferenceArrayInstructionof(ClassEntry componentType) Returns a new reference array instruction.Methods declared in interface java.lang.classfile.Instructionopcode, sizeInBytes
- 
Method Details- 
componentTypeClassEntry componentType()Returns the component type of the array.- Returns:
- the component type of the array
 
- 
ofReturns a new reference array instruction.- Parameters:
- componentType- the component type of the array
- Returns:
- a new reference array instruction
 
 
-