Examples of aastore()


Examples of anvil.codec.Code.aastore()

    for(int i=0; iter.hasNext(); ) {
      Dependency dep = (Dependency)iter.next();
      code.dup();
      code.iconst(i++);
      code.astring(dep.getPathinfo());
      code.aastore();
      code.dup();
      code.iconst(i++);
      code.astring(dep.getDescriptor());
      code.aastore();
    }
View Full Code Here

Examples of anvil.codec.Code.aastore()

      code.astring(dep.getPathinfo());
      code.aastore();
      code.dup();
      code.iconst(i++);
      code.astring(dep.getDescriptor());
      code.aastore();
    }
    code.putstatic(field);

  }
View Full Code Here

Examples of net.sf.cglib.core.CodeEmitter.aastore()

/* 109 */     for (int i = 0; i < names.length; i++) {
/* 110 */       e.dup();
/* 111 */       e.push(i);
/* 112 */       Type type = (Type)this.fields.get(names[i]);
/* 113 */       EmitUtils.load_class(e, type);
/* 114 */       e.aastore();
/*     */     }
/* 116 */     e.putstatic(getClassType(), "CGLIB$FIELD_TYPES", Constants.TYPE_CLASS_ARRAY);
/*     */   }
/*     */
/*     */   private void getNames() {
View Full Code Here

Examples of org.aspectj.org.eclipse.jdt.internal.compiler.codegen.CodeStream.aastore()

            // $VALUES[i] = <enum-constant-i>
            if (fieldDecl.getKind() == AbstractVariableDeclaration.ENUM_CONSTANT) {
              codeStream.dup();
              codeStream.generateInlinedValue(fieldDecl.binding.id);
              codeStream.getstatic(fieldDecl.binding);
              codeStream.aastore();
            }
          }
        }
      }
      codeStream.putstatic(declaringType.enumValuesSyntheticfield);
View Full Code Here

Examples of org.aspectj.org.eclipse.jdt.internal.compiler.codegen.CodeStream.aastore()

      index += AstUtil.slotsNeeded(type);
      if (type.isBaseType()) {
        codeStream.invokestatic(AjTypeConstants.getConversionMethodToObject(classScope, type));
      }

      codeStream.aastore();
    }

    // call run
    ReferenceBinding closureType = (ReferenceBinding) binding.parameters[nargs - 1];
    MethodBinding runMethod = closureType.getMethods("run".toCharArray())[0];
View Full Code Here

Examples of org.eclipse.jdt.internal.compiler.codegen.CodeStream.aastore()

            // $VALUES[i] = <enum-constant-i>
            if (fieldDecl.getKind() == AbstractVariableDeclaration.ENUM_CONSTANT) {
              codeStream.dup();
              codeStream.generateInlinedValue(fieldDecl.binding.id);
              codeStream.fieldAccess(Opcodes.OPC_getstatic, fieldDecl.binding, null /* default declaringClass */);
              codeStream.aastore();
            }
          }
        }
      }
      codeStream.fieldAccess(Opcodes.OPC_putstatic, declaringType.enumValuesSyntheticfield, null /* default declaringClass */);
 
View Full Code Here

Examples of org.jboss.classfilewriter.code.CodeAttribute.aastore()

                            throw new RuntimeException("Unknown primitive type descriptor: " + typeChar);
                    }
                } else {
                    ca.aload(loadPosition);
                }
                ca.aastore();
                loadPosition++;
            }
            ca.invokeinterface(InvocationHandler.class.getName(), "invoke",
                    "(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;");
View Full Code Here

Examples of org.jboss.classfilewriter.code.CodeAttribute.aastore()

                } else {
                    ca.iload(index);
                    Boxing.boxIfNessesary(ca, DescriptorUtils.makeDescriptor(type));
                }
                index++;
                ca.aastore();
            }
        }
        // Generate the call to a invoke* method ot the superclass
        String invoke = "invoke";
        String ret = "Ljava/lang/Object;";
View Full Code Here

Examples of org.jboss.classfilewriter.code.CodeAttribute.aastore()

            init.anewarray(String.class.getName());
            for (i = 0; i < len; i++) {
                init.dup();
                init.iconst(i);
                init.ldc(CDRStream.abbrevFor(paramTypes[i]));
                init.aastore();
            }

            // Push second argument for StubStrategy constructor:
            // array with exception repository ids
            len = exceptions.length;
View Full Code Here

Examples of org.jboss.classfilewriter.code.CodeAttribute.aastore()

                        init.dup();
                        init.iconst(j);
                        init.ldc(
                                ExceptionAnalysis.getExceptionAnalysis(exceptions[i])
                                        .getExceptionRepositoryId());
                        init.aastore();
                        j++;
                    }
                }
            } catch (RMIIIOPViolationException e) {
                throw new RuntimeException("Cannot obtain "
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.