- All Implemented Interfaces:
ClassContent,JAnnotatable,JCommentable,JDocCommentable,JGenericDef,JMethodDef,Writable
- Direct Known Subclasses:
AnnotationJMethodDef
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMethodJMethodDef(AbstractJClassDef clazz, int mods, JType returnType, String name) -
Method Summary
Modifier and TypeMethodDescription(package private) intgetName()(package private) JTypevoidwrite(SourceFileWriter writer) Methods inherited from class org.jboss.jdeparser.AbstractJMethodDef
_default, _default, _throws, _throws, _throws, body, clazz, param, param, param, param, param, param, params, returnsDoc, varargParam, varargParam, varargParam, varargParam, varargParam, varargParam, writeBody, writePostfixMethods inherited from class org.jboss.jdeparser.AbstractJGeneric
typeParam, typeParams, typeParamsToArgs, writeTypeParamsMethods inherited from class org.jboss.jdeparser.BasicJAnnotatable
annotate, annotate, annotate, writeAnnotationsMethods inherited from class org.jboss.jdeparser.AbstractJDocCommentable
deprecated, docComment, writeDocCommentsMethods inherited from class org.jboss.jdeparser.BasicJCommentable
blockComment, lineComment, writeCommentsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jboss.jdeparser.JAnnotatable
annotate, annotate, annotateMethods inherited from interface org.jboss.jdeparser.JCommentable
blockComment, lineCommentMethods inherited from interface org.jboss.jdeparser.JDocCommentable
deprecated, docCommentMethods inherited from interface org.jboss.jdeparser.JGenericDef
typeParam, typeParams
-
Field Details
-
returnType
-
name
-
-
Constructor Details
-
MethodJMethodDef
MethodJMethodDef(AbstractJClassDef clazz, int mods, JType returnType, String name)
-
-
Method Details
-
getReturnType
JType getReturnType() -
write
- Specified by:
writein interfaceWritable- Overrides:
writein classAbstractJMethodDef- Throws:
IOException
-
getName
-
getModifiers
int getModifiers()- Overrides:
getModifiersin classAbstractJMethodDef
-