net.sourceforge.jpotpourri.codegen.method
Class AbstractGenConstructor
java.lang.Object
net.sourceforge.jpotpourri.codegen.method.AbstractGenConstructor
- All Implemented Interfaces:
- IAnnotationable, IJavaCode
- Direct Known Subclasses:
- NullGenConstructor, PublicEmptyGenConstructor
public abstract class AbstractGenConstructor
- extends java.lang.Object
- Author:
- christoph_pickl@users.sourceforge.net
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractGenConstructor
public AbstractGenConstructor(GenVisibility visibility,
java.lang.String className,
java.util.List<GenArgument> arguments)
AbstractGenConstructor
public AbstractGenConstructor(GenVisibility visibility,
java.lang.String className,
GenArgument... arguments)
newManConstructor
public static AbstractGenConstructor newManConstructor(AbstractGenClass genClass,
java.lang.String manClassName)
getBody
protected abstract 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.