de.bodden.tamiflex.playout.transformation.constructor.ConstructorToGenericStringTransformation.java Source code

Java tutorial

Introduction

Here is the source code for de.bodden.tamiflex.playout.transformation.constructor.ConstructorToGenericStringTransformation.java

Source

/*******************************************************************************
 * Copyright (c) 2010 Eric Bodden.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 * 
 * Contributors:
 *     Eric Bodden - initial implementation
 ******************************************************************************/
package de.bodden.tamiflex.playout.transformation.constructor;

import static de.bodden.tamiflex.playout.rt.Kind.ConstructorToGenericString;

import org.objectweb.asm.commons.Method;

import de.bodden.tamiflex.playout.rt.Kind;

public class ConstructorToGenericStringTransformation extends AbstractConstructorTransformation {

    public ConstructorToGenericStringTransformation() {
        super(new Method("toGenericString", "()Ljava/lang/String;"));
    }

    @Override
    protected Kind methodKind() {
        return ConstructorToGenericString;
    }

}