- java.lang.Object
-
- com.thoughtworks.qdox.parser.structs.LocatedDef
-
- com.thoughtworks.qdox.parser.structs.MethodDef
-
public class MethodDef extends LocatedDef
-
-
Constructor Summary
Constructors Constructor Description MethodDef()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getBody()
int
getDimensions()
Set<TypeDef>
getExceptions()
Set<String>
getModifiers()
String
getName()
TypeDef
getReturnType()
List<TypeVariableDef>
getTypeParams()
boolean
isConstructor()
void
setBody(String body)
void
setConstructor(boolean constructor)
void
setDimensions(int dimensions)
void
setExceptions(Set<TypeDef> exceptions)
void
setModifiers(Set<String> modifiers)
void
setName(String name)
void
setReturnType(TypeDef returnType)
void
setTypeParams(List<TypeVariableDef> typeParams)
String
toString()
-
Methods inherited from class com.thoughtworks.qdox.parser.structs.LocatedDef
getColumnNumber, getLineNumber, setColumnNumber, setLineNumber
-
-
-
-
Method Detail
-
setName
public void setName(String name)
-
getName
public String getName()
-
setReturnType
public void setReturnType(TypeDef returnType)
-
getReturnType
public TypeDef getReturnType()
-
setConstructor
public void setConstructor(boolean constructor)
-
isConstructor
public boolean isConstructor()
-
setBody
public void setBody(String body)
-
getBody
public String getBody()
-
setDimensions
public void setDimensions(int dimensions)
-
getDimensions
public int getDimensions()
-
setTypeParams
public void setTypeParams(List<TypeVariableDef> typeParams)
-
getTypeParams
public List<TypeVariableDef> getTypeParams()
-
-