FileDocCategorySizeDatePackage
ClassStubber.javaAPI DocAndroid 1.5 API2750Wed May 06 22:41:10 BST 2009com.android.mkstubs.stubber

ClassStubber

public class ClassStubber extends org.objectweb.asm.ClassAdapter
A class visitor that generates stubs for all methods of the visited class. Everything else is passed as-is.

Fields Summary
Constructors Summary
public ClassStubber(org.objectweb.asm.ClassVisitor cv)

        super(cv);
    
Methods Summary
public voidvisit(int version, int access, java.lang.String name, java.lang.String signature, java.lang.String superName, java.lang.String[] interfaces)

        super.visit(version, access, name, signature, superName, interfaces);
    
public org.objectweb.asm.AnnotationVisitorvisitAnnotation(java.lang.String desc, boolean visible)

        return super.visitAnnotation(desc, visible);
    
public voidvisitAttribute(org.objectweb.asm.Attribute attr)

        super.visitAttribute(attr);
    
public voidvisitEnd()

        super.visitEnd();
    
public org.objectweb.asm.FieldVisitorvisitField(int access, java.lang.String name, java.lang.String desc, java.lang.String signature, java.lang.Object value)

        return super.visitField(access, name, desc, signature, value);
    
public voidvisitInnerClass(java.lang.String name, java.lang.String outerName, java.lang.String innerName, int access)

        super.visitInnerClass(name, outerName, innerName, access);
    
public org.objectweb.asm.MethodVisitorvisitMethod(int access, java.lang.String name, java.lang.String desc, java.lang.String signature, java.lang.String[] exceptions)

        MethodVisitor mw = super.visitMethod(access, name, desc, signature, exceptions);
        return new MethodStubber(mw, access, name, desc, signature, exceptions);
    
public voidvisitOuterClass(java.lang.String owner, java.lang.String name, java.lang.String desc)

        super.visitOuterClass(owner, name, desc);
    
public voidvisitSource(java.lang.String source, java.lang.String debug)

        super.visitSource(source, debug);