testsgen.wttools
Class MethodImpl
java.lang.Object
|
+--testsgen.wttools.MethodImpl
- All Implemented Interfaces:
- java.lang.Comparable, MethodIfc
- public class MethodImpl
- extends java.lang.Object
- implements MethodIfc
MethodImpl.java contains implementation of MethodIfc
interface.
Allow access to structures describing mathod like element found in parsed
source code.
As methods I mean: functions
, procedures
,
and constructors
. Of course when we speak about java language
we can only think about functions
and constructors
.
Created: Tue Dec 04 15:35:23 2001
- Version:
- $Revision: 1.9 $
- Author:
- Artur Hefczyc
Field Summary |
protected java.lang.String[] |
exceps
|
protected int |
modifiers
|
protected java.lang.String |
name
|
protected java.lang.String[] |
params
|
protected java.lang.String |
return_type
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
name
protected java.lang.String name
return_type
protected java.lang.String return_type
params
protected java.lang.String[] params
exceps
protected java.lang.String[] exceps
modifiers
protected int modifiers
MethodImpl
public MethodImpl()
MethodImpl
public MethodImpl(java.lang.reflect.Method met)
MethodImpl
public MethodImpl(java.lang.reflect.Constructor met)
setModifiersInfo
public void setModifiersInfo(int mod)
- Specified by:
setModifiersInfo
in interface MethodIfc
getModifiersInfo
public int getModifiersInfo()
- Specified by:
getModifiersInfo
in interface MethodIfc
setExceptionThrows
public void setExceptionThrows(java.lang.String[] exc)
- Specified by:
setExceptionThrows
in interface MethodIfc
getExceptionThrows
public java.lang.String[] getExceptionThrows()
- Specified by:
getExceptionThrows
in interface MethodIfc
compareTo
public int compareTo(java.lang.Object obj)
- Specified by:
compareTo
in interface java.lang.Comparable
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
setName
public void setName(java.lang.String name)
- Specified by:
setName
in interface MethodIfc
getName
public java.lang.String getName()
- Specified by:
getName
in interface MethodIfc
setReturnTypeName
public void setReturnTypeName(java.lang.String type_name)
- Specified by:
setReturnTypeName
in interface MethodIfc
getReturnTypeName
public java.lang.String getReturnTypeName()
- Specified by:
getReturnTypeName
in interface MethodIfc
setParamNames
public void setParamNames(java.lang.String[] names)
- Specified by:
setParamNames
in interface MethodIfc
getParamNames
public java.lang.String[] getParamNames()
- Specified by:
getParamNames
in interface MethodIfc
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
toXML
public void toXML(java.io.OutputStream out)
- Specified by:
toXML
in interface MethodIfc
toXML
public java.lang.String toXML()
- Specified by:
toXML
in interface MethodIfc
Copyright © GNU, wttools developers Team.