org.openide.src
Interface ConstructorElement.Impl

All Superinterfaces:
Element.Impl, MemberElement.Impl, Serializable
All Known Subinterfaces:
MethodElement.Impl
Enclosing class:
ConstructorElement

public static interface ConstructorElement.Impl
extends MemberElement.Impl

Implementation of constructors.

See Also:
ConstructorElement

Field Summary
static long serialVersionUID
           
 
Method Summary
 String getBody()
          Get the body.
 Identifier[] getExceptions()
          Get the thrown exceptions.
 JavaDoc.Method getJavaDoc()
          Get the JavaDoc.
 MethodParameter[] getParameters()
          Get the method parameters.
 void setBody(String s)
          Set the body.
 void setExceptions(Identifier[] exceptions)
          Set the thrown exceptions.
 void setParameters(MethodParameter[] params)
          Set the method parameters.
 
Methods inherited from interface org.openide.src.MemberElement.Impl
getModifiers, getName, setModifiers, setName
 
Methods inherited from interface org.openide.src.Element.Impl
addPropertyChangeListener, attachedToElement, getCookie, markCurrent, readResolve, removePropertyChangeListener
 

Field Detail

serialVersionUID

public static final long serialVersionUID
Method Detail

getParameters

public MethodParameter[] getParameters()
Get the method parameters.
Returns:
the parameters

setParameters

public void setParameters(MethodParameter[] params)
                   throws SourceException
Set the method parameters.
Parameters:
params - the new parameters
Throws:
SourceException - if impossible

getExceptions

public Identifier[] getExceptions()
Get the thrown exceptions.
Returns:
the exceptions, by name

setExceptions

public void setExceptions(Identifier[] exceptions)
                   throws SourceException
Set the thrown exceptions.
Parameters:
exceptions - the new exceptions to be thrown, by name
Throws:
SourceException - if impossible

setBody

public void setBody(String s)
             throws SourceException
Set the body.
Parameters:
s - the new body (may be null for methods)
Throws:
SourceException - if impossible
See Also:
ConstructorElement.getBody()

getBody

public String getBody()
Get the body.
Returns:
the body (may be null for methods)
See Also:
ConstructorElement.getBody()

getJavaDoc

public JavaDoc.Method getJavaDoc()
Get the JavaDoc.
Returns:
the JavaDoc


Built on December 12 2001.  |  Portions Copyright 1997-2001 Sun Microsystems, Inc. All rights reserved.