jaroslav@273: /** jaroslav@273: * Back 2 Browser Bytecode Translator jaroslav@273: * Copyright (C) 2012 Jaroslav Tulach jaroslav@273: * jaroslav@273: * This program is free software: you can redistribute it and/or modify jaroslav@273: * it under the terms of the GNU General Public License as published by jaroslav@273: * the Free Software Foundation, version 2 of the License. jaroslav@273: * jaroslav@273: * This program is distributed in the hope that it will be useful, jaroslav@273: * but WITHOUT ANY WARRANTY; without even the implied warranty of jaroslav@273: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the jaroslav@273: * GNU General Public License for more details. jaroslav@273: * jaroslav@273: * You should have received a copy of the GNU General Public License jaroslav@273: * along with this program. Look for COPYING file in the top folder. jaroslav@273: * If not, see http://opensource.org/licenses/GPL-2.0. jaroslav@273: */ jaroslav@273: package org.apidesign.vm4brwsr; jaroslav@273: jaroslav@273: import java.lang.annotation.ElementType; jaroslav@273: import java.lang.annotation.Retention; jaroslav@273: import java.lang.annotation.RetentionPolicy; jaroslav@273: import java.lang.annotation.Target; jaroslav@273: jaroslav@273: /** Can be applied on a method that yields a return value. jaroslav@273: * Together with {@link VMCompare#create} it can be used to write jaroslav@273: * methods which are executed in real as well as JavaScript VMs and jaroslav@273: * their results are compared. jaroslav@273: * jaroslav@273: * @author Jaroslav Tulach jaroslav@273: */ jaroslav@273: @Retention(RetentionPolicy.RUNTIME) jaroslav@273: @Target(ElementType.METHOD) jaroslav@273: public @interface Compare { jaroslav@273: jaroslav@273: }