net.sourceforge.jpotpourri.codegen.method
Class AbstractAbstractGenMethod

java.lang.Object
  extended by net.sourceforge.jpotpourri.codegen.method.AbstractGenMethod
      extended by net.sourceforge.jpotpourri.codegen.method.AbstractAbstractGenMethod
All Implemented Interfaces:
IAnnotationable, IJavaCode

public abstract class AbstractAbstractGenMethod
extends AbstractGenMethod

Author:
christoph_pickl@users.sourceforge.net

Constructor Summary
AbstractAbstractGenMethod(GenVisibility visibility, java.lang.String methodName, java.lang.String returnType, java.util.List<GenArgument> arguments)
           
 
Method Summary
 void addAnnotation(java.lang.String textAfterAt)
           
protected  java.lang.String getBody()
           
 java.lang.String toCode()
           
 
Methods inherited from class net.sourceforge.jpotpourri.codegen.method.AbstractGenMethod
getReturnType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractAbstractGenMethod

public AbstractAbstractGenMethod(GenVisibility visibility,
                                 java.lang.String methodName,
                                 java.lang.String returnType,
                                 java.util.List<GenArgument> arguments)
Method Detail

getBody

protected final java.lang.String getBody()
Returns:
no need of manual indentation ("\t"); will be done automatically

toCode

public final java.lang.String toCode()
Specified by:
toCode in interface IJavaCode

addAnnotation

public final void addAnnotation(java.lang.String textAfterAt)
Specified by:
addAnnotation in interface IAnnotationable


Copyright © 2008. All Rights Reserved.