Copyright 2002 by aragost

com.aragost.araspect
Class MethodContainer

java.lang.Object
  |
  +--com.aragost.araspect.MethodContainer

public class MethodContainer
extends java.lang.Object


Constructor Summary
MethodContainer()
           
 
Method Summary
protected  void add(java.lang.Class clazz, java.lang.reflect.Method method)
           
 void add(java.lang.reflect.Method method)
          Add a Method to the receiver.
 boolean containsName(java.lang.String name)
          Check if the receiver contains any method with the specified name.
 java.util.Collection getMethodsFor(java.lang.Class clazz)
          Return a Collection with all methods declared in a certain Class
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodContainer

public MethodContainer()
Method Detail

add

public void add(java.lang.reflect.Method method)
Add a Method to the receiver.

Parameters:
method - The method to add

getMethodsFor

public java.util.Collection getMethodsFor(java.lang.Class clazz)
Return a Collection with all methods declared in a certain Class

Parameters:
clazz - The Class that all methods are returned for
Returns:
Collection of Methods

containsName

public boolean containsName(java.lang.String name)
Check if the receiver contains any method with the specified name.


add

protected void add(java.lang.Class clazz,
                   java.lang.reflect.Method method)

Copyright 2002 by aragost