net.kldp.jcodegen.base
Interface MethodSupport
- All Superinterfaces:
- ParamSupport
- All Known Implementing Classes:
- MethodSupportImpl
public interface MethodSupport
- extends ParamSupport
addException
void addException(java.lang.String exceptionName)
- Adds Exception type in throws declaration .
Equals addException(exceptionName , "")
- Parameters:
exceptionType
- Exception type to add
addException
void addException(java.lang.Class exceptionType)
addException
void addException(java.lang.Class exceptionType,
java.lang.String comment)
addException
void addException(java.lang.String exceptionName,
java.lang.String comment)
addException
void addException(TypeName exceptionType,
java.lang.String comment)
getReturnType
TypeName getReturnType()
setReturnType
void setReturnType(TypeName typeName)
setReturnComment
void setReturnComment(java.lang.String comment)
appendMethodHeader
void appendMethodHeader(int indent,
Output target,
Formatter formatter,
Visibility visibility,
java.util.Collection<Modifier> modifiers)
getComment
MethodJavaDocComment getComment()