org.codehaus.aspectwerkz.metadata
Class MethodMetaData

java.lang.Object
  extended byorg.codehaus.aspectwerkz.metadata.MethodMetaData
All Implemented Interfaces:
MemberMetaData, MetaData, java.io.Serializable

public class MethodMetaData
extends java.lang.Object
implements MemberMetaData

Holds meta-data for a method.

Author:
Jonas Bonér
See Also:
Serialized Form

Constructor Summary
MethodMetaData()
           
 
Method Summary
 boolean equals(java.lang.Object o)
          The overridden equals method.
 java.lang.String[] getExceptionTypes()
          Returns the exception types.
 int getModifiers()
          Returns the modifiers.
 java.lang.String getName()
          Returns the name.
 java.lang.String[] getParameterTypes()
          Returns the parameter types.
 java.lang.String getReturnType()
          Returns the return type.
 int hashCode()
          The overridden equals method.
 void setExceptionTypes(java.lang.String[] exceptionTypes)
          Sets the exception types
 void setModifiers(int modifiers)
          Sets the modifiers.
 void setName(java.lang.String name)
          Sets the name.
 void setParameterTypes(java.lang.String[] parameterTypes)
          Sets the parameter types.
 void setReturnType(java.lang.String returnType)
          Sets the return type.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodMetaData

public MethodMetaData()
Method Detail

getName

public java.lang.String getName()
Returns the name.

Returns:
the name

setName

public void setName(java.lang.String name)
Sets the name.

Parameters:
name - the name

getModifiers

public int getModifiers()
Returns the modifiers.

Returns:
the modifiers

setModifiers

public void setModifiers(int modifiers)
Sets the modifiers.

Parameters:
modifiers - the modifiers

getReturnType

public java.lang.String getReturnType()
Returns the return type.

Returns:
the return type

setReturnType

public void setReturnType(java.lang.String returnType)
Sets the return type.

Parameters:
returnType - the return type

getParameterTypes

public java.lang.String[] getParameterTypes()
Returns the parameter types.

Returns:
the parameter types

setParameterTypes

public void setParameterTypes(java.lang.String[] parameterTypes)
Sets the parameter types.

Parameters:
parameterTypes - the parameter types

getExceptionTypes

public java.lang.String[] getExceptionTypes()
Returns the exception types.

Returns:
the exception types

setExceptionTypes

public void setExceptionTypes(java.lang.String[] exceptionTypes)
Sets the exception types

Parameters:
exceptionTypes - the exception types

equals

public boolean equals(java.lang.Object o)
The overridden equals method.

Parameters:
o - the other object
Returns:
boolean

hashCode

public int hashCode()
The overridden equals method.

Returns:
the hash code


Copyright (c) 2002-2004 The AspectWerkz Team. All Rights Reserved.