Package co.paralleluniverse.fibers.instrument.MethodDatabase

Examples of co.paralleluniverse.fibers.instrument.MethodDatabase.ClassEntry


    @Override
    public void visit(int version, int access, String name, String signature, String superName, String[] interfaces) {
        this.className = name;
        this.classEntry = db.getClassEntry(className);
        if (classEntry == null)
            this.classEntry = new ClassEntry(superName);
        classEntry.setInterfaces(interfaces);

        forceInstrumentation |= classEntry.requiresInstrumentation();

        // need atleast 1.5 for annotations to work
View Full Code Here


    @Override
    public void visit(int version, int access, String name, String signature, String superName, String[] interfaces) {
        this.className = name;
        this.isInterface = (access & Opcodes.ACC_INTERFACE) != 0;
        this.classEntry = new ClassEntry(superName);
        classEntry.setInterfaces(interfaces);
    }
View Full Code Here

                }
            }
        } else {
            // if we don't have any suspendable methods, but our superclass is instrumented, we mark this class as instrumented, too.
            if (!alreadyInstrumented && classEntry.getSuperName() != null) {
                ClassEntry superClass = db.getClassEntry(classEntry.getSuperName());
                if (superClass != null && superClass.isInstrumented()) {
                    super.visitAnnotation(ALREADY_INSTRUMENTED_DESC, true);
                    classEntry.setInstrumented(true);
                }
            }
        }
View Full Code Here

    }

    @Override
    public void visit(int version, int access, String name, String signature, String superName, String[] interfaces) {
        this.className = name;
        this.classEntry = new ClassEntry(superName);
        classEntry.setInterfaces(interfaces);
    }
View Full Code Here

TOP

Related Classes of co.paralleluniverse.fibers.instrument.MethodDatabase.ClassEntry

Copyright © 2018 www.massapicom. 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.