View Javadoc

1   //
2   // Generated stub from file:/Users/garvin/NetBeansProjects/findbugs-maven-plugin/src/main/groovy/org/codehaus/mojo/findbugs/FindBugsMojo.groovy
3   //
4   
5   package org.codehaus.mojo.findbugs;
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.apache.maven.artifact.DependencyResolutionRequiredException;
14  import org.apache.maven.artifact.repository.DefaultArtifactRepository;
15  import org.apache.maven.artifact.resolver.ArtifactNotFoundException;
16  import org.apache.maven.artifact.resolver.ArtifactResolutionException;
17  import org.apache.maven.artifact.resolver.ArtifactResolver;
18  import org.apache.maven.doxia.sink.Sink;
19  import org.apache.maven.doxia.siterenderer.Renderer;
20  import org.apache.maven.plugin.MojoExecutionException;
21  import org.apache.maven.plugin.logging.Log;
22  import org.apache.maven.project.MavenProject;
23  import org.apache.maven.reporting.AbstractMavenReport;
24  import org.codehaus.plexus.resource.ResourceManager;
25  import org.codehaus.plexus.resource.loader.FileResourceLoader;
26  import org.codehaus.plexus.util.FileUtils;
27  import edu.umd.cs.findbugs.BugReporter;
28  import edu.umd.cs.findbugs.ClassScreener;
29  import edu.umd.cs.findbugs.DetectorFactory;
30  import edu.umd.cs.findbugs.DetectorFactoryCollection;
31  import edu.umd.cs.findbugs.Project;
32  import edu.umd.cs.findbugs.TextUIBugReporter;
33  import edu.umd.cs.findbugs.XMLBugReporter;
34  import edu.umd.cs.findbugs.config.UserPreferences;
35  import edu.umd.cs.findbugs.filter.FilterException;
36  
37  /**
38   * Generates a FindBugs Report when the site plugin is run.
39   * The HTML report is generated for site commands only.
40   * The optional report formats are generated for both the site commands.
41   *
42   * @goal findbugs
43   * @description Generates a FindBugs Report when the site plugin is run.
44   * @execute phase="compile"
45   * @requiresDependencyResolution compile
46   * @requiresProject
47   * @author <a href="mailto:gleclaire@codehaus.org">Garvin LeClaire</a>
48   * @version $Id: FindBugsMojo.groovy 7376 2008-08-06 10:45:01Z gleclaire $
49   */
50  public class FindBugsMojo
51      extends AbstractMavenReport
52  {
53      /**
54       * The name of the Plug-In.
55       */
56      static final private java.lang.String PLUGIN_NAME = null;
57      static final public java.lang.String getPLUGIN_NAME() {
58          throw new InternalError("Stubbed method");
59      }
60  
61      /**
62       * The name of the property resource bundle (Filesystem).
63       */
64      static final private java.lang.String BUNDLE_NAME = null;
65      static final public java.lang.String getBUNDLE_NAME() {
66          throw new InternalError("Stubbed method");
67      }
68  
69      /**
70       * The key to get the name of the Plug-In from the bundle.
71       */
72      static final private java.lang.String NAME_KEY = null;
73      static final public java.lang.String getNAME_KEY() {
74          throw new InternalError("Stubbed method");
75      }
76  
77      /**
78       * The key to get the description of the Plug-In from the bundle.
79       */
80      static final private java.lang.String DESCRIPTION_KEY = null;
81      static final public java.lang.String getDESCRIPTION_KEY() {
82          throw new InternalError("Stubbed method");
83      }
84  
85      /**
86       * The key to get the source directory message of the Plug-In from the bundle.
87       */
88      static final private java.lang.String SOURCE_ROOT_KEY = null;
89      static final public java.lang.String getSOURCE_ROOT_KEY() {
90          throw new InternalError("Stubbed method");
91      }
92  
93      /**
94       * The key to get the java source message of the Plug-In from the bundle.
95       */
96      static final private java.lang.String JAVA_SOURCES_KEY = null;
97      static final public java.lang.String getJAVA_SOURCES_KEY() {
98          throw new InternalError("Stubbed method");
99      }
100 
101     /**
102      * The regex pattern to search for java class files.
103      */
104     static final private java.lang.String JAVA_REGEX_PATTERN = null;
105     static final public java.lang.String getJAVA_REGEX_PATTERN() {
106         throw new InternalError("Stubbed method");
107     }
108 
109     /**
110      * The key to get the jxr-plugin artifactId from the bundle.
111      */
112     static final private java.lang.String JXR_ARTIFACT_ID_KEY = null;
113     static final public java.lang.String getJXR_ARTIFACT_ID_KEY() {
114         throw new InternalError("Stubbed method");
115     }
116 
117     /**
118      * The name of the coreplugin.
119      */
120     static final private java.lang.String FINDBUGS_COREPLUGIN = null;
121     static final public java.lang.String getFINDBUGS_COREPLUGIN() {
122         throw new InternalError("Stubbed method");
123     }
124 
125     /**
126      * Location where generated html will be created.
127      *
128      * @parameter default-value="${project.reporting.outputDirectory}"
129      * @required
130      */
131     private java.lang.String outputDirectory = null;
132     public void setOutputDirectory(java.lang.String value) {
133         throw new InternalError("Stubbed method");
134     }
135 
136     /**
137      * Turn on and off xml output of the Findbugs report.
138      *
139      * @parameter default-value="false"
140      * @since 1.0.0
141      */
142     private boolean xmlOutput = false;
143     public boolean getXmlOutput() {
144         throw new InternalError("Stubbed method");
145     }
146     public boolean isXmlOutput() {
147         throw new InternalError("Stubbed method");
148     }
149     public void setXmlOutput(boolean value) {
150         throw new InternalError("Stubbed method");
151     }
152 
153     /**
154      * Specifies the directory where the xml output will be generated.
155      *
156      * @parameter default-value="${project.build.directory}"
157      * @required
158      * @since 1.0.0
159      */
160     private File xmlOutputDirectory = null;
161     public File getXmlOutputDirectory() {
162         throw new InternalError("Stubbed method");
163     }
164     public void setXmlOutputDirectory(File value) {
165         throw new InternalError("Stubbed method");
166     }
167 
168     /**
169      * Turn on and off findbugs native xml output of the Findbugs report.
170      *
171      * @parameter default-value="false"
172      * @since 1.2.0
173      */
174     private boolean findbugsXmlOutput = false;
175     public boolean getFindbugsXmlOutput() {
176         throw new InternalError("Stubbed method");
177     }
178     public boolean isFindbugsXmlOutput() {
179         throw new InternalError("Stubbed method");
180     }
181     public void setFindbugsXmlOutput(boolean value) {
182         throw new InternalError("Stubbed method");
183     }
184 
185     /**
186      * Specifies the directory where the findbugs native xml output will be generated.
187      *
188      * @parameter default-value="${project.build.directory}"
189      * @required
190      * @since 1.2.0
191      */
192     private File findbugsXmlOutputDirectory = null;
193     public File getFindbugsXmlOutputDirectory() {
194         throw new InternalError("Stubbed method");
195     }
196     public void setFindbugsXmlOutputDirectory(File value) {
197         throw new InternalError("Stubbed method");
198     }
199 
200     /**
201      * Turn on and off xml output of the Findbugs report.
202      *
203      * @parameter default-value="false"
204      * @since 1.2.0
205      */
206     private boolean findbugsXmlWithMessages = false;
207     public boolean getFindbugsXmlWithMessages() {
208         throw new InternalError("Stubbed method");
209     }
210     public boolean isFindbugsXmlWithMessages() {
211         throw new InternalError("Stubbed method");
212     }
213     public void setFindbugsXmlWithMessages(boolean value) {
214         throw new InternalError("Stubbed method");
215     }
216 
217     /**
218      * Doxia Site Renderer.
219      *
220      * @parameter expression="${component.org.apache.maven.doxia.siterenderer.Renderer}"
221      * @required
222      * @readonly
223      */
224     private Renderer siteRenderer = null;
225     public void setSiteRenderer(Renderer value) {
226         throw new InternalError("Stubbed method");
227     }
228 
229     /**
230      * Directory containing the class files for FindBugs to analyze.
231      *
232      * @parameter default-value="${project.build.outputDirectory}"
233      * @required
234      */
235     private File classFilesDirectory = null;
236     public File getClassFilesDirectory() {
237         throw new InternalError("Stubbed method");
238     }
239     public void setClassFilesDirectory(File value) {
240         throw new InternalError("Stubbed method");
241     }
242 
243     /**
244      * List of artifacts this plugin depends on. Used for resolving the Findbugs coreplugin.
245      *
246      * @parameter expression="${plugin.artifacts}"
247      * @required
248      * @readonly
249      */
250     private ArrayList pluginArtifacts = null;
251     public ArrayList getPluginArtifacts() {
252         throw new InternalError("Stubbed method");
253     }
254     public void setPluginArtifacts(ArrayList value) {
255         throw new InternalError("Stubbed method");
256     }
257 
258     /**
259      * The local repository, needed to download the coreplugin jar.
260      *
261      * @parameter expression="${localRepository}"
262      * @required
263      * @readonly
264      */
265     private DefaultArtifactRepository localRepository = null;
266     public DefaultArtifactRepository getLocalRepository() {
267         throw new InternalError("Stubbed method");
268     }
269     public void setLocalRepository(DefaultArtifactRepository value) {
270         throw new InternalError("Stubbed method");
271     }
272 
273     /**
274      * Remote repositories which will be searched for the coreplugin jar.
275      *
276      * @parameter expression="${project.remoteArtifactRepositories}"
277      * @required
278      * @readonly
279      */
280     private List remoteArtifactRepositories = null;
281     public List getRemoteArtifactRepositories() {
282         throw new InternalError("Stubbed method");
283     }
284     public void setRemoteArtifactRepositories(List value) {
285         throw new InternalError("Stubbed method");
286     }
287 
288     /**
289      * Maven Project
290      *
291      * @parameter expression="${project}"
292      * @required
293      * @readonly
294      */
295     private MavenProject project = null;
296     public void setProject(MavenProject value) {
297         throw new InternalError("Stubbed method");
298     }
299 
300     /**
301      * Encoding used for xml files. Default value is UTF-8.
302      *
303      * @parameter default-value="UTF-8"
304      * @readonly
305      */
306     private java.lang.String xmlEncoding = null;
307     public java.lang.String getXmlEncoding() {
308         throw new InternalError("Stubbed method");
309     }
310     public void setXmlEncoding(java.lang.String value) {
311         throw new InternalError("Stubbed method");
312     }
313 
314     /**
315      * Threshold of minimum bug severity to report. Valid values are High, Default, Low, Ignore, and Exp (for experimental).
316      *
317      * @parameter
318      */
319     private java.lang.String threshold = null;
320     public java.lang.String getThreshold() {
321         throw new InternalError("Stubbed method");
322     }
323     public void setThreshold(java.lang.String value) {
324         throw new InternalError("Stubbed method");
325     }
326 
327     /**
328      * Artifact resolver, needed to download the coreplugin jar.
329      *
330      * @component role="org.apache.maven.artifact.resolver.ArtifactResolver"
331      * @required
332      * @readonly
333      */
334     private ArtifactResolver artifactResolver = null;
335     public ArtifactResolver getArtifactResolver() {
336         throw new InternalError("Stubbed method");
337     }
338     public void setArtifactResolver(ArtifactResolver value) {
339         throw new InternalError("Stubbed method");
340     }
341 
342     /**
343      * File name of the include filter. Only bugs in matching the filters are reported.
344      *
345      * @parameter
346      * @since 1.0-beta-1
347      */
348     private java.lang.String includeFilterFile = null;
349     public java.lang.String getIncludeFilterFile() {
350         throw new InternalError("Stubbed method");
351     }
352     public void setIncludeFilterFile(java.lang.String value) {
353         throw new InternalError("Stubbed method");
354     }
355 
356     /**
357      * File name of the exclude filter. Bugs matching the filters are not reported.
358      *
359      * @parameter
360      * @since 1.0-beta-1
361      */
362     private java.lang.String excludeFilterFile = null;
363     public java.lang.String getExcludeFilterFile() {
364         throw new InternalError("Stubbed method");
365     }
366     public void setExcludeFilterFile(java.lang.String value) {
367         throw new InternalError("Stubbed method");
368     }
369 
370     /**
371      * Effort of the bug finders. Valid values are Min, Default and Max.
372      *
373      * @parameter
374      * @since 1.0-beta-1
375      */
376     private java.lang.String effort = null;
377     public java.lang.String getEffort() {
378         throw new InternalError("Stubbed method");
379     }
380     public void setEffort(java.lang.String value) {
381         throw new InternalError("Stubbed method");
382     }
383 
384     /**
385      * turn on Findbugs debugging
386      *
387      * @parameter default-value="false"
388      */
389     private Boolean debug = null;
390     public Boolean getDebug() {
391         throw new InternalError("Stubbed method");
392     }
393     public void setDebug(Boolean value) {
394         throw new InternalError("Stubbed method");
395     }
396 
397     /**
398      * Relaxed reporting mode. For many detectors, this option suppresses the heuristics used to avoid reporting false
399      * positives.
400      *
401      * @parameter default-value="false"
402      * @since 1.1
403      */
404     private Boolean relaxed = null;
405     public Boolean getRelaxed() {
406         throw new InternalError("Stubbed method");
407     }
408     public void setRelaxed(Boolean value) {
409         throw new InternalError("Stubbed method");
410     }
411 
412     /**
413      * The visitor list to run. This is a comma-delimited list.
414      *
415      * @parameter
416      * @since 1.0-beta-1
417      */
418     private java.lang.String visitors = null;
419     public java.lang.String getVisitors() {
420         throw new InternalError("Stubbed method");
421     }
422     public void setVisitors(java.lang.String value) {
423         throw new InternalError("Stubbed method");
424     }
425 
426     /**
427      * The visitor list to omit. This is a comma-delimited list.
428      *
429      * @parameter
430      * @since 1.0-beta-1
431      */
432     private java.lang.String omitVisitors = null;
433     public java.lang.String getOmitVisitors() {
434         throw new InternalError("Stubbed method");
435     }
436     public void setOmitVisitors(java.lang.String value) {
437         throw new InternalError("Stubbed method");
438     }
439 
440     /**
441      * The plugin list to include in the report. This is a comma-delimited list.
442      *
443      * @parameter
444      * @since 1.0-beta-1
445      */
446     private java.lang.String pluginList = null;
447     public java.lang.String getPluginList() {
448         throw new InternalError("Stubbed method");
449     }
450     public void setPluginList(java.lang.String value) {
451         throw new InternalError("Stubbed method");
452     }
453 
454     /**
455      * The Base FindBugs reporter Class for reports.
456      *
457      * @parameter
458      * @readonly
459      */
460     private BugReporter bugReporter = null;
461     public BugReporter getBugReporter() {
462         throw new InternalError("Stubbed method");
463     }
464     public void setBugReporter(BugReporter value) {
465         throw new InternalError("Stubbed method");
466     }
467 
468     /**
469      * Restrict analysis to find bugs to given comma-separated list of classes and packages.
470      *
471      * @parameter
472      * @since 1.1
473      */
474     private java.lang.String onlyAnalyze = null;
475     public java.lang.String getOnlyAnalyze() {
476         throw new InternalError("Stubbed method");
477     }
478     public void setOnlyAnalyze(java.lang.String value) {
479         throw new InternalError("Stubbed method");
480     }
481 
482     /**
483      * The Base FindBugs reporter Class for reports.
484      *
485      * @parameter
486      * @readonly
487      */
488     private ClassScreener classScreener = null;
489     public ClassScreener getClassScreener() {
490         throw new InternalError("Stubbed method");
491     }
492     public void setClassScreener(ClassScreener value) {
493         throw new InternalError("Stubbed method");
494     }
495 
496     /**
497      * The Flag letting us know if classes have been loaded already.
498      *
499      * @parameter
500      * @readonly
501      */
502     static private boolean pluginLoaded = false;
503     static public boolean getPluginLoaded() {
504         throw new InternalError("Stubbed method");
505     }
506     static public boolean isPluginLoaded() {
507         throw new InternalError("Stubbed method");
508     }
509     static public void setPluginLoaded(boolean value) {
510         throw new InternalError("Stubbed method");
511     }
512 
513     /**
514      * Skip entire check.
515      *
516      * @parameter expression="${findbugs.skip}" default-value="false"
517      * @since 1.1
518      */
519     private boolean skip = false;
520     public boolean getSkip() {
521         throw new InternalError("Stubbed method");
522     }
523     public boolean isSkip() {
524         throw new InternalError("Stubbed method");
525     }
526     public void setSkip(boolean value) {
527         throw new InternalError("Stubbed method");
528     }
529 
530     /**
531      * @component
532      * @required
533      * @readonly
534      * @since 2.0
535      */
536     private ResourceManager resourceManager = null;
537     public ResourceManager getResourceManager() {
538         throw new InternalError("Stubbed method");
539     }
540     public void setResourceManager(ResourceManager value) {
541         throw new InternalError("Stubbed method");
542     }
543 
544     /**
545      * Checks whether prerequisites for generating this report are given.
546      *
547      * @return true if report can be generated, otherwise false
548      * @see org.apache.maven.reporting.MavenReport#canGenerateReport()
549      */
550     public boolean canGenerateReport() {
551         throw new InternalError("Stubbed method");
552     }
553 
554     /**
555      * Returns the plugins description for the "generated reports" overview page.
556      *
557      * @param locale
558 the locale the report should be generated for
559      * @return description of the report
560      * @see org.apache.maven.reporting.MavenReport#getDescription(java.util.Locale)
561      */
562     public java.lang.String getDescription(Locale locale) {
563         throw new InternalError("Stubbed method");
564     }
565 
566     /**
567      * Returns the plugins name for the "generated reports" overview page and the menu.
568      *
569      * @param locale
570 the locale the report should be generated for
571      * @return name of the report
572      * @see org.apache.maven.reporting.MavenReport#getName(java.util.Locale)
573      */
574     public java.lang.String getName(Locale locale) {
575         throw new InternalError("Stubbed method");
576     }
577 
578     /**
579      * Returns report output file name, without the extension.
580      * 
581      * Called by AbstractMavenReport.execute() for creating the sink.
582      *
583      * @return name of the generated page
584      * @see org.apache.maven.reporting.MavenReport#getOutputName()
585      */
586     public java.lang.String getOutputName() {
587         throw new InternalError("Stubbed method");
588     }
589 
590     /**
591      * Adds the dependend libraries of the project to the findbugs aux classpath.
592      *
593      * @param findBugsProject
594 The find bugs project to add the aux classpath entries.
595      */
596     protected void addClasspathEntriesToFindBugsProject(Project findBugsProject) {
597         throw new InternalError("Stubbed method");
598     }
599 
600     /**
601      * Adds the specified filters of the project to the findbugs.
602      *
603      * @param findBugs
604 The find bugs to add the filters.
605      */
606     protected void addFiltersToFindBugs(FindBugs2Proxy findBugs) {
607         throw new InternalError("Stubbed method");
608     }
609 
610     /**
611      * Adds the specified plugins to findbugs. The coreplugin is always added first.
612      *
613      * @param locale
614 The locale to print out the messages. Used here to get the nameof the coreplugin from the properties.
615      */
616     protected void addClassScreenerToFindBugs(FindBugs2Proxy findBugs) {
617         throw new InternalError("Stubbed method");
618     }
619 
620     /**
621      * Adds the specified plugins to findbugs. The coreplugin is always added first.
622      *
623      * @param locale
624 The locale to print out the messages. Used here to get the nameof the coreplugin from the properties.
625      */
626     protected void addPluginsToFindBugs(Locale locale) {
627         throw new InternalError("Stubbed method");
628     }
629 
630     /**
631      * Adds the specified visitors to findbugs.
632      *
633      * @param preferences
634 The find bugs UserPreferences.
635      */
636     protected void addVisitorsToFindBugs(UserPreferences preferences) {
637         throw new InternalError("Stubbed method");
638     }
639 
640     /**
641      * Lists absolute paths of java source files for debugging purposes.
642      *
643      * @param locale
644 The locale to print out the messages.
645      * @param sourceFiles
646 List of source files.
647      */
648     protected void debugJavaSources(Locale locale, List sourceFiles) {
649         throw new InternalError("Stubbed method");
650     }
651 
652     /**
653      * Executes the generation of the report.
654      * 
655      * Callback from Maven Site Plugin or from AbstractMavenReport.execute() => generate().
656      *
657      * @param locale
658 the locale the report should be generated for
659      * @see org.apache.maven.reporting.AbstractMavenReport #executeReport(java.util.Locale)
660      */
661     protected void executeReport(Locale locale) {
662         throw new InternalError("Stubbed method");
663     }
664 
665     /**
666      * Retrieve the coreplugin module name
667      *
668      * @param locale
669 The locale to print out the messages.
670      * @return corePluginName The coreplugin module name.
671      */
672     protected java.lang.String getCorePlugin(Locale locale) {
673         throw new InternalError("Stubbed method");
674     }
675 
676     /**
677      * Get the File reference for the Findbugs core plugin.
678      *
679      * @param locale
680 The locale of the messages.
681      * @return The File reference to the coreplugin JAR
682      */
683     protected File getCorePluginPath(Locale locale) {
684         throw new InternalError("Stubbed method");
685     }
686 
687     /**
688      * Returns the effort parameter to use.
689      *
690      * @return A valid effort parameter.
691      */
692     protected EffortParameter getEffortParameter() {
693         throw new InternalError("Stubbed method");
694     }
695 
696     /**
697      * Collects the java sources from the source roots.
698      *
699      * @param pSourceDirectory
700 The source directory to search for java sources.
701      * @param locale
702 The locale to print out the messages.
703      * @return A list containing the java sources or an empty list if no java sources are found.
704      */
705     protected List getJavaSources(Locale locale, File pSourceDirectory) {
706         throw new InternalError("Stubbed method");
707     }
708 
709     /**
710      * Returns the report output directory.
711      * 
712      * Called by AbstractMavenReport.execute() for creating the sink.
713      *
714      * @return full path to the directory where the files in the site get copied to
715      * @see org.apache.maven.reporting.AbstractMavenReport#getOutputDirectory()
716      */
717     protected java.lang.String getOutputDirectory() {
718         throw new InternalError("Stubbed method");
719     }
720 
721     /**
722      * Returns the threshold parameter to use.
723      *
724      * @return A valid threshold parameter.
725      */
726     protected ThresholdParameter getThresholdParameter() {
727         throw new InternalError("Stubbed method");
728     }
729 
730     /**
731      * Initialise FindBugs.
732      *
733      * @param locale
734 The locale.
735      * @param sourceFiles
736 The source files FindBugs should analyse.
737      * @return An initialised FindBugs object.
738      */
739     protected FindBugs2Proxy initialiseFindBugs(Locale locale, List sourceFiles) {
740         throw new InternalError("Stubbed method");
741     }
742 
743     /**
744      * Initialises a reporter.
745      *
746      * @param sink
747 The sink to write the report to.
748      * @param bundle
749 The bundle to get messages from.
750      * @param log
751 The logger to write logs to.
752      * @param effortParameter
753 The effort to use.
754      * @return An initialised reporter.
755      */
756     protected Reporter initialiseReporter(Sink sink, ResourceBundle bundle, Log log, EffortParameter effortParameter) {
757         throw new InternalError("Stubbed method");
758     }
759 
760     /**
761      * Determines if the JXR-Plugin is included in the report section of the POM.
762      *
763      * @param bundle
764 The bundle to load the artifactIf of the jxr plugin.
765      * @return True if the JXR-Plugin is included in the POM, false otherwise.
766      */
767     protected boolean isJXRPluginEnabled(ResourceBundle bundle) {
768         throw new InternalError("Stubbed method");
769     }
770 
771     /**
772      * Sets the Debug Level
773      *
774      * @param findBugs
775 The find bugs to add debug level information.
776      */
777     protected void setFindBugsDebug(FindBugs2Proxy findBugs) {
778         throw new InternalError("Stubbed method");
779     }
780 
781     /**
782      * Returns the resource bundle for a specific locale.
783      *
784      * @param locale
785 The locale to get the bundle for.
786      * @return A resource Bundle.
787      */
788     protected static ResourceBundle getBundle(Locale locale) {
789         throw new InternalError("Stubbed method");
790     }
791 
792     protected java.lang.Object fail(java.lang.Object msg) {
793         throw new InternalError("Stubbed method");
794     }
795 
796     protected java.lang.Object fail(java.lang.Object msg, Throwable cause) {
797         throw new InternalError("Stubbed method");
798     }
799 
800     protected MavenProject getProject() {
801         throw new InternalError("Stubbed method");
802     }
803 
804     protected Renderer getSiteRenderer() {
805         throw new InternalError("Stubbed method");
806     }
807 
808     public groovy.lang.MetaClass getMetaClass() {
809         throw new InternalError("Stubbed method");
810     }
811 
812     public void setMetaClass(groovy.lang.MetaClass metaClass) {
813         throw new InternalError("Stubbed method");
814     }
815 
816     public java.lang.Object invokeMethod(java.lang.String name, java.lang.Object args) {
817         throw new InternalError("Stubbed method");
818     }
819 
820     public java.lang.Object getProperty(java.lang.String name) {
821         throw new InternalError("Stubbed method");
822     }
823 
824     public void setProperty(java.lang.String name, java.lang.Object value) {
825         throw new InternalError("Stubbed method");
826     }
827 }