| java.lang.Object org.exolab.javasource.Java5HacksHelper
Java5HacksHelper | final public class Java5HacksHelper (Code) | | Makes an effort to identify where Override annotations belong. We are limited
in what we look at and we do not use reflection to identify if a class truly
extends the appropriate class. We only check the class of the arguments. This
class may not be generically useful, but is useful with the code generated by
Castor.
Our one public method,
Java5HacksHelper.addOverrideAnnotations(JMethodSignature) ,
should only be called when you already know that you are generating Java-5
style code.
author: Werner Guttman version: $Revision: 5951 $ $Date: 2006-04-25 16:09:10 -0600 (Tue, 25 Apr 2006) $ since: 1.0.4 |
Method Summary | |
public static void | addOverrideAnnotations(JMethodSignature jms) Given the method signature, add the Override annotation if this class is
one that we know requires this annotation. |
addOverrideAnnotations | public static void addOverrideAnnotations(JMethodSignature jms)(Code) | | Given the method signature, add the Override annotation if this class is
one that we know requires this annotation.
Parameters: jms - The method signature to inspect. |
|
|