View Javadoc

1   //
2   // Generated stub from file:/Volumes/Little-G/Development/Workspace/mojo/plugins/retrotranslator-maven-plugin/tmp/retrotranslator-maven-plugin/target/checkout/src/main/groovy/org/codehaus/mojo/retrotranslator/RetrotranslateMojoSupport.groovy
3   //
4   
5   package org.codehaus.mojo.retrotranslator;
6   
7   import java.lang.*;
8   import java.io.*;
9   import java.net.*;
10  import java.util.*;
11  import groovy.lang.*;
12  import groovy.util.*;
13  import org.codehaus.groovy.maven.mojo.GroovyMojo;
14  import net.sf.retrotranslator.transformer.Retrotranslator;
15  import org.apache.commons.lang.SystemUtils;
16  
17  /**
18   * Support for retrotranlsation mojos.
19   *
20   * @version $Id: RetrotranslateMojoSupport.groovy 6798 2008-04-18 16:40:35Z user57 $
21   */
22  abstract public class RetrotranslateMojoSupport
23      extends GroovyMojo
24  {
25      /**
26       * Project classpath.
27       *
28       * @parameter expression="${project.compileClasspathElements}"
29       * @required
30       * @readonly
31       */
32      private List classpathElements = null;
33      public List getClasspathElements() {
34          throw new InternalError("Stubbed method");
35      }
36      public void setClasspathElements(List value) {
37          throw new InternalError("Stubbed method");
38      }
39  
40      /**
41       * The classpath for the verification including rt.jar, jce.jar, jsse.jar (from JRE 1.4).
42       * The retrotranslator-runtime-n.n.n.jar, and backport-util-concurrent-n.n.jar
43       * are included by default, they are not required to be defined here.
44       *
45       * @parameter
46       */
47      private List verifyClasspath = null;
48      public List getVerifyClasspath() {
49          throw new InternalError("Stubbed method");
50      }
51      public void setVerifyClasspath(List value) {
52          throw new InternalError("Stubbed method");
53      }
54  
55      /**
56       * Asks the translator to strip signature (generics) information.
57       *
58       * @parameter expression="${stripsign}" default-value="false"
59       */
60      private boolean stripsign = false;
61      public boolean getStripsign() {
62          throw new InternalError("Stubbed method");
63      }
64      public boolean isStripsign() {
65          throw new InternalError("Stubbed method");
66      }
67      public void setStripsign(boolean value) {
68          throw new InternalError("Stubbed method");
69      }
70  
71      /**
72       * Asks the translator for verbose output.
73       *
74       * @parameter expression="${verbose}" default-value="false"
75       */
76      private boolean verbose = false;
77      public boolean getVerbose() {
78          throw new InternalError("Stubbed method");
79      }
80      public boolean isVerbose() {
81          throw new InternalError("Stubbed method");
82      }
83      public void setVerbose(boolean value) {
84          throw new InternalError("Stubbed method");
85      }
86  
87      /**
88       * Asks the translator to examine translated bytecode for references
89       * to classes, methods, or fields that cannot be found in the provided classpath.
90       *
91       * @parameter expression="${verify}" default-value="false"
92       */
93      private boolean verify = false;
94      public boolean getVerify() {
95          throw new InternalError("Stubbed method");
96      }
97      public boolean isVerify() {
98          throw new InternalError("Stubbed method");
99      }
100     public void setVerify(boolean value) {
101         throw new InternalError("Stubbed method");
102     }
103 
104     /**
105      * Asks the translator to only transform classes compiled
106      * with a target greater than the current one.
107      *
108      * @parameter expression="${lazy}" default-value="false"
109      */
110     private boolean lazy = false;
111     public boolean getLazy() {
112         throw new InternalError("Stubbed method");
113     }
114     public boolean isLazy() {
115         throw new InternalError("Stubbed method");
116     }
117     public void setLazy(boolean value) {
118         throw new InternalError("Stubbed method");
119     }
120 
121     /**
122      * Fails build when verification has failed.
123      *
124      * @parameter expression="${failonwarning}" default-value="true"
125      */
126     private boolean failonwarning = false;
127     public boolean getFailonwarning() {
128         throw new InternalError("Stubbed method");
129     }
130     public boolean isFailonwarning() {
131         throw new InternalError("Stubbed method");
132     }
133     public void setFailonwarning(boolean value) {
134         throw new InternalError("Stubbed method");
135     }
136 
137     /**
138      * Whether to use alternative implementations of Java 1.4
139      * classes and methods for better Java 5 compatibility.
140      *
141      * @parameter expression="${advanced}" default-value="false"
142      */
143     private boolean advanced = false;
144     public boolean getAdvanced() {
145         throw new InternalError("Stubbed method");
146     }
147     public boolean isAdvanced() {
148         throw new InternalError("Stubbed method");
149     }
150     public void setAdvanced(boolean value) {
151         throw new InternalError("Stubbed method");
152     }
153 
154     /**
155      * The package name for a private copy of retrotranslator-runtime-n.n.n.jar
156      * and backport-util-concurrent-n.n.jar to be put with translated classes.
157      *
158      * @parameter expression="${embed}"
159      */
160     private java.lang.String embed = null;
161     public java.lang.String getEmbed() {
162         throw new InternalError("Stubbed method");
163     }
164     public void setEmbed(java.lang.String value) {
165         throw new InternalError("Stubbed method");
166     }
167 
168     /**
169      * Informs the translator about user-defined backport packages.
170      * Package names should be separated by semicolons.
171      *
172      * @parameter expression="${backport}"
173      */
174     private java.lang.String backport = null;
175     public java.lang.String getBackport() {
176         throw new InternalError("Stubbed method");
177     }
178     public void setBackport(java.lang.String value) {
179         throw new InternalError("Stubbed method");
180     }
181 
182     /**
183      * To make Java 6 classes compatible with Java 5 set this option to 1.5
184      * and supply user-defined backport packages.
185      *
186      * @parameter expression="${target}" default-value="1.4"
187      */
188     private java.lang.String target = null;
189     public java.lang.String getTarget() {
190         throw new InternalError("Stubbed method");
191     }
192     public void setTarget(java.lang.String value) {
193         throw new InternalError("Stubbed method");
194     }
195 
196     /**
197      * Asks the translator to modify classes for JVM 1.4 compatibility
198      * but keep use of Java 5 API.
199      *
200      * @parameter expression="${retainapi}" default-value="false"
201      */
202     private boolean retainapi = false;
203     public boolean getRetainapi() {
204         throw new InternalError("Stubbed method");
205     }
206     public boolean isRetainapi() {
207         throw new InternalError("Stubbed method");
208     }
209     public void setRetainapi(boolean value) {
210         throw new InternalError("Stubbed method");
211     }
212 
213     /**
214      * Asks the translator to keep Java 5 specific access modifiers.
215      *
216      * @parameter expression="${retainflags}" default-value="false"
217      */
218     private boolean retainflags = false;
219     public boolean getRetainflags() {
220         throw new InternalError("Stubbed method");
221     }
222     public boolean isRetainflags() {
223         throw new InternalError("Stubbed method");
224     }
225     public void setRetainflags(boolean value) {
226         throw new InternalError("Stubbed method");
227     }
228 
229     /**
230      * The wildcard pattern specifying files that should be translated (either bytecode
231      * or UTF-8 text), e.g. "*.class*.tld". There are three special characters: "*?".
232      *
233      * @parameter expression="${srcmask}" default-value="*.class"
234      */
235     private java.lang.String srcmask = null;
236     public java.lang.String getSrcmask() {
237         throw new InternalError("Stubbed method");
238     }
239     public void setSrcmask(java.lang.String value) {
240         throw new InternalError("Stubbed method");
241     }
242 
243     public void execute() {
244         throw new InternalError("Stubbed method");
245     }
246 
247     protected abstract void configureRetrotranslator(Retrotranslator trans);
248 
249     public groovy.lang.MetaClass getMetaClass() {
250         throw new InternalError("Stubbed method");
251     }
252 
253     public void setMetaClass(groovy.lang.MetaClass metaClass) {
254         throw new InternalError("Stubbed method");
255     }
256 
257     public java.lang.Object invokeMethod(java.lang.String name, java.lang.Object args) {
258         throw new InternalError("Stubbed method");
259     }
260 
261     public java.lang.Object getProperty(java.lang.String name) {
262         throw new InternalError("Stubbed method");
263     }
264 
265     public void setProperty(java.lang.String name, java.lang.Object value) {
266         throw new InternalError("Stubbed method");
267     }
268 }