Examples of makeTypeBinding()


Examples of org.aspectj.ajdt.internal.compiler.lookup.EclipseFactory.makeTypeBinding()

                  "invoke".toCharArray(),
                  world.makeTypeBinding(UnresolvedType.OBJECT),
                  new TypeBinding[]{world.makeTypeBinding(UnresolvedType.OBJECT),world.makeTypeBinding(UnresolvedType.forSignature("[Ljava/lang/Object;"))},
                  new ReferenceBinding[0],
                  (ReferenceBinding)world.makeTypeBinding(UnresolvedType.JAVA_LANG_REFLECT_METHOD)));
          codeStream.checkcast(world.makeTypeBinding(typeX));
          codeStream.astore_2();
          codeStream.aload_2();
          exc.placeEnd();
          codeStream.areturn();
          exc.place();
View Full Code Here

Examples of org.aspectj.ajdt.internal.compiler.lookup.EclipseFactory.makeTypeBinding()

    final EclipseFactory world = EclipseFactory.fromScopeLookupEnvironment(this.scope);
    generateMethod(classFile, AjcMemberMaker.perTypeWithinCreateAspectInstance(world.fromBinding(binding)),
    new BodyGenerator() {
      public void generate(CodeStream codeStream) {
       
        codeStream.new_(world.makeTypeBinding(typeX));
        codeStream.dup();
        codeStream.invokespecial(new MethodBinding(0, "<init>".toCharArray(),
            BaseTypes.VoidBinding, new TypeBinding[0],
            new ReferenceBinding[0], binding));
        codeStream.astore_1();
View Full Code Here

Examples of org.aspectj.ajdt.internal.compiler.lookup.EclipseFactory.makeTypeBinding()

                // body starts here (see end of each line for what it is doing!)
        FieldBinding fb = world.makeFieldBinding(AjcMemberMaker.perSingletonField(typeX));
        codeStream.getstatic(fb);                                                              // GETSTATIC
        Label isNonNull = new Label(codeStream);
        codeStream.ifnonnull(isNonNull);                                                       // IFNONNULL
        codeStream.new_(world.makeTypeBinding(AjcMemberMaker.NO_ASPECT_BOUND_EXCEPTION));      // NEW
        codeStream.dup();                                                                      // DUP
        codeStream.ldc(typeX.getNameAsIdentifier());                                           // LDC
        codeStream.getstatic(initFailureField);                                                // GETSTATIC
        codeStream.invokespecial(world.makeMethodBindingForCall(
                  AjcMemberMaker.noAspectBoundExceptionInitWithCause()));            // INVOKESPECIAL
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.