list.set(i, new CstString(pieces.get(i)));
cst = Zeroes.zeroFor(field.getRef().getType()); list.set(i, cst);
cst = Zeroes.zeroFor(field.getRef().getType()); list.set(i, cst);
list.set(i, new CstString(pieces.get(i)));
list.set(i, new CstString(pieces.get(i)));
cst = Zeroes.zeroFor(field.getRef().getType()); list.set(i, cst);
cst = Zeroes.zeroFor(field.getRef().getType()); list.set(i, cst);
cst = Zeroes.zeroFor(field.getRef().getType()); list.set(i, cst);
cst = Zeroes.zeroFor(field.getRef().getType()); list.set(i, cst);
cst = Zeroes.zeroFor(field.getRef().getType()); list.set(i, cst);
cst = Zeroes.zeroFor(field.getRef().getType()); list.set(i, cst);
/** * Creates an instance of a {@code CstCallSite}. * * @param bootstrapHandle {@code non-null;} the bootstrap method handle to invoke * @param nat {@code non-null;} the name and type to be resolved by the bootstrap method handle * @param optionalArguments {@code null-ok;} optional arguments to provide to the bootstrap * method * @return a new {@code CstCallSite} instance */ public static CstCallSite make(CstMethodHandle bootstrapHandle, CstNat nat, BootstrapMethodArgumentsList optionalArguments) { if (bootstrapHandle == null) { throw new NullPointerException("bootstrapMethodHandle == null"); } else if (nat == null) { throw new NullPointerException("nat == null"); } List list = new List(3 + optionalArguments.size()); list.set(0, bootstrapHandle); list.set(1, nat.getName()); list.set(2, new CstProtoRef(Prototype.fromDescriptor(nat.getDescriptor().getString()))); if (optionalArguments != null) { for (int i = 0; i < optionalArguments.size(); ++i) { list.set(i + 3, optionalArguments.get(i)); } } list.setImmutable(); return new CstCallSite(list); }
/** * Converts a {@link TypeList} to a {@link CstArray}. * * @param types {@code non-null;} the type list * @return {@code non-null;} the corresponding array constant */ private static CstArray makeCstArray(TypeList types) { int size = types.size(); CstArray.List list = new CstArray.List(size); for (int i = 0; i < size; i++) { list.set(i, CstType.intern(types.getType(i))); } list.setImmutable(); return new CstArray(list); } }
/** * Converts a {@link TypeList} to a {@link CstArray}. * * @param types {@code non-null;} the type list * @return {@code non-null;} the corresponding array constant */ private static CstArray makeCstArray(TypeList types) { int size = types.size(); CstArray.List list = new CstArray.List(size); for (int i = 0; i < size; i++) { list.set(i, CstType.intern(types.getType(i))); } list.setImmutable(); return new CstArray(list); } }
/** * Converts a {@link TypeList} to a {@link CstArray}. * * @param types {@code non-null;} the type list * @return {@code non-null;} the corresponding array constant */ private static CstArray makeCstArray(TypeList types) { int size = types.size(); CstArray.List list = new CstArray.List(size); for (int i = 0; i < size; i++) { list.set(i, CstType.intern(types.getType(i))); } list.setImmutable(); return new CstArray(list); } }
/** * Converts a {@link TypeList} to a {@link CstArray}. * * @param types {@code non-null;} the type list * @return {@code non-null;} the corresponding array constant */ private static CstArray makeCstArray(TypeList types) { int size = types.size(); CstArray.List list = new CstArray.List(size); for (int i = 0; i < size; i++) { list.set(i, CstType.intern(types.getType(i))); } list.setImmutable(); return new CstArray(list); } }
/** * Converts a {@link TypeList} to a {@link CstArray}. * * @param types {@code non-null;} the type list * @return {@code non-null;} the corresponding array constant */ private static CstArray makeCstArray(TypeList types) { int size = types.size(); CstArray.List list = new CstArray.List(size); for (int i = 0; i < size; i++) { list.set(i, CstType.intern(types.getType(i))); } list.setImmutable(); return new CstArray(list); } }
/** * Converts a {@link TypeList} to a {@link CstArray}. * * @param types {@code non-null;} the type list * @return {@code non-null;} the corresponding array constant */ private static CstArray makeCstArray(TypeList types) { int size = types.size(); CstArray.List list = new CstArray.List(size); for (int i = 0; i < size; i++) { list.set(i, CstType.intern(types.getType(i))); } list.setImmutable(); return new CstArray(list); } }
/** * Converts a {@link TypeList} to a {@link CstArray}. * * @param types {@code non-null;} the type list * @return {@code non-null;} the corresponding array constant */ private static CstArray makeCstArray(TypeList types) { int size = types.size(); CstArray.List list = new CstArray.List(size); for (int i = 0; i < size; i++) { list.set(i, CstType.intern(types.getType(i))); } list.setImmutable(); return new CstArray(list); } }
/** * Converts a {@link TypeList} to a {@link CstArray}. * * @param types {@code non-null;} the type list * @return {@code non-null;} the corresponding array constant */ private static CstArray makeCstArray(TypeList types) { int size = types.size(); CstArray.List list = new CstArray.List(size); for (int i = 0; i < size; i++) { list.set(i, CstType.intern(types.getType(i))); } list.setImmutable(); return new CstArray(list); } }