Example usage for com.google.gwt.dev.asm ClassAdapter subclass-usage

List of usage examples for com.google.gwt.dev.asm ClassAdapter subclass-usage

Introduction

In this page you can find the example usage for com.google.gwt.dev.asm ClassAdapter subclass-usage.

Usage

From source file com.googlecode.gwt.test.internal.rewrite.ForceClassVersion15.java

/**
 * Performs any rewriting necessary to ensure that class files are 1.5 compatible.
 */
class ForceClassVersion15 extends ClassAdapter {

    public ForceClassVersion15(ClassVisitor v) {

From source file com.googlecode.gwt.test.internal.rewrite.RewriteRefsToJsoClasses.java

/**
 * Rewrites references to modified JSO subtypes.
 * 
 * <ol>
 * <li>Changes the owner type for instructions that reference items in a JSO class to the
 * implementation class.</li>

From source file com.googlecode.gwt.test.internal.rewrite.RewriteSingleJsoImplDispatches.java

/**
 * Effects the renaming of {@code @SingleJsoImpl} methods from their original name to their mangled
 * name. Let us call the original method an "unmangled method" and the new method a "mangled
 * method". There are three steps in this process:
 * <ol>
 * <li>Within {@code @SingleJsoImpl} interfaces rename all unmangled methods to become mangled

From source file com.googlecode.gwt.test.internal.rewrite.UseMirroredClasses.java

/**
 * A general Class Visitor which will take any of the method calls in it's list and replace them
 * with static calls to another method (the "mirrored" method) in another class (the "mirrored"
 * class). This method should take the original object as it's first argument, followed by the rest
 * of the arguments to the method. The "mirrored" class will not be rewritten, allowing the
 * "mirrored" method to do whatever modifications are necessary before calling the original method

From source file com.googlecode.gwt.test.internal.rewrite.WriteJsoImpl.java

/**
 * Writes the implementation classes for JSO and its subtypes.
 * 
 * Changes made by the base class:
 * <ol>
 * <li>The new type has the same name as the old type with a '$' appended.</li>