org.codehaus.groovy.maven.runtime.support.stubgen.model
Class MethodDef
java.lang.Object
org.codehaus.groovy.maven.runtime.support.stubgen.model.Element
org.codehaus.groovy.maven.runtime.support.stubgen.model.NamedElement
org.codehaus.groovy.maven.runtime.support.stubgen.model.Entity
org.codehaus.groovy.maven.runtime.support.stubgen.model.MethodDef
- All Implemented Interfaces:
- java.io.Serializable, JavaDocAware, ModifiersAware, NameAware, ParametersAware, ThrowsAware
- Direct Known Subclasses:
- ConstructorDef
public class MethodDef
- extends Entity
- implements ParametersAware, ThrowsAware
???
- Version:
- $Id: MethodDef.java 11837 2008-04-19 17:05:05Z user57 $
- Author:
- Jason Dillon
- See Also:
- Serialized Form
Nested Class Summary |
static class |
MethodDef.Type
Psuedo-enum for method type. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MethodDef
public MethodDef()
MethodDef
protected MethodDef(MethodDef.Type type)
getType
public MethodDef.Type getType()
isConstructor
public boolean isConstructor()
getParent
public ClassDef getParent()
setParent
public void setParent(ClassDef parent)
getReturns
public TypeDef getReturns()
setReturns
public void setReturns(TypeDef returns)
addParameter
public void addParameter(ParameterDef param)
- Specified by:
addParameter
in interface ParametersAware
getParameters
public java.util.Set getParameters()
- Specified by:
getParameters
in interface ParametersAware
addThrows
public void addThrows(TypeDef type)
getThrows
public java.util.Set getThrows()
- Specified by:
getThrows
in interface ThrowsAware
getSuperParameters
public java.util.Set getSuperParameters()
setSuperParameters
public void setSuperParameters(java.util.Set superParameters)
signature
public java.lang.String signature()
Copyright © 2006-2009 Codehaus. All Rights Reserved.