下面列出了org.objectweb.asm.Opcodes# MULTIANEWARRAY 实例代码,或者点击链接到github查看源代码,也可以在右侧发表评论。
public MultiANewArrayFrame(List<Frame> dims) {
super(Opcodes.MULTIANEWARRAY);
this.dims = dims;
for (Frame dim : this.dims) {
dim.children.add(this);
}
}
public MultiANewArrayInsnNode() {
super(Opcodes.MULTIANEWARRAY);
}
public MultiArray(String desc, int dims) {
super(Opcodes.MULTIANEWARRAY);
this.desc = desc;
this.dims = dims;
}
/**
* Constructs a new {@link MultiANewArrayInsnNode}.
*
* @param descriptor
* an array type descriptor (see {@link org.objectweb.asm.Type}).
* @param numDimensions
* the number of dimensions of the array to allocate.
*/
public MultiANewArrayInsnNode(final String descriptor, final int numDimensions) {
super(Opcodes.MULTIANEWARRAY);
this.desc = descriptor;
this.dims = numDimensions;
}
/**
* Constructs a new {@link MultiANewArrayInsnNode}.
*
* @param descriptor an array type descriptor (see {@link org.objectweb.asm.Type}).
* @param numDimensions the number of dimensions of the array to allocate.
*/
public MultiANewArrayInsnNode(final String descriptor, final int numDimensions) {
super(Opcodes.MULTIANEWARRAY);
this.desc = descriptor;
this.dims = numDimensions;
}
/**
* Constructs a new {@link MultiANewArrayInsnNode}.
*
* @param desc
* an array type descriptor (see {@link org.objectweb.asm.Type}).
* @param dims
* number of dimensions of the array to allocate.
*/
public MultiANewArrayInsnNode(final String desc, final int dims) {
super(Opcodes.MULTIANEWARRAY);
this.desc = desc;
this.dims = dims;
}
/**
* Constructs a new {@link MultiANewArrayInsnNode}.
*
* @param descriptor an array type descriptor (see {@link org.objectweb.asm.Type}).
* @param numDimensions the number of dimensions of the array to allocate.
*/
public MultiANewArrayInsnNode(final String descriptor, final int numDimensions) {
super(Opcodes.MULTIANEWARRAY);
this.desc = descriptor;
this.dims = numDimensions;
}
/**
* Constructs a new {@link MultiANewArrayInsnNode}.
*
* @param descriptor an array type descriptor (see {@link org.objectweb.asm.Type}).
* @param numDimensions the number of dimensions of the array to allocate.
*/
public MultiANewArrayInsnNode(final String descriptor, final int numDimensions) {
super(Opcodes.MULTIANEWARRAY);
this.desc = descriptor;
this.dims = numDimensions;
}