net.sf.staccatocommons.dynamic.internal
Class MethodDescriptor

java.lang.Object
  extended by net.sf.staccatocommons.dynamic.internal.MethodDescriptor

public final class MethodDescriptor
extends Object

A message and its receptor class

Author:
flbulgarelli

Constructor Summary
MethodDescriptor(Class<?> receptor, String name, Class<?>[] argTypes)
          Creates a new MethodDescriptor
 
Method Summary
 String createNotUnderstoodMessage()
          Answers a String that signals that a message was not understood
 boolean equals(Object obj)
           
 Class<?>[] getArgTypes()
           
 String getSelector()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodDescriptor

public MethodDescriptor(Class<?> receptor,
                        String name,
                        Class<?>[] argTypes)
Creates a new MethodDescriptor

Method Detail

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

getSelector

public String getSelector()
Returns:
the selector

getArgTypes

public Class<?>[] getArgTypes()
Returns:
the argTypes

createNotUnderstoodMessage

public String createNotUnderstoodMessage()
Answers a String that signals that a message was not understood



Copyright © 2010-2011 Staccato-Commons. All Rights Reserved.