public static final class BasicMethodConstraints.MethodDesc extends Object implements Serializable
| Constructor and Description | 
|---|
| MethodDesc(InvocationConstraints constraints)Creates a default descriptor that matches all methods. | 
| MethodDesc(String name,
          Class[] types,
          InvocationConstraints constraints)Creates a descriptor that only matches methods with exactly the specified name and
 parameter types. | 
| MethodDesc(String name,
          InvocationConstraints constraints)Creates a descriptor that matches all methods with names that equal the specified name or
 that match the specified pattern, regardless of their parameter types. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(Object obj)Two instances of this class are equal if they have the same name, the same parameter
 types, and the same constraints. | 
| InvocationConstraints | getConstraints()Returns the constraints as a non- nullvalue. | 
| String | getName()Returns the name of the method, with a prefix or suffix '*' if the name is a pattern, or
  nullif this descriptor matches all methods. | 
| Class[] | getParameterTypes()Returns the parameter types, or  nullif this descriptor matches all
 parameter types or all methods. | 
| int | hashCode()Returns a hash code value for this object. | 
| String | toString()Returns a string representation of this object. | 
public MethodDesc(String name, Class[] types, InvocationConstraints constraints)
null, which is treated the same as
 an empty instance. The array passed to the constructor is neither modified nor retained;
 subsequent changes to that array have no effect on the instance created.name - the name of the methodtypes - the formal parameter types of the method, in declared orderconstraints - the constraints, or nullNullPointerException - if name or types is
                                  null or any element of types
                                  is nullIllegalArgumentException - if name is not a syntactically valid method
                                  namepublic MethodDesc(String name, InvocationConstraints constraints)
null, which is treated
 the same as an empty instance.name - the name of the method, with a prefix or suffix '*' permitted for
                    pattern matchingconstraints - the constraints, or nullNullPointerException - if name is nullIllegalArgumentException - if name does not match any syntactically
                                  valid method namepublic MethodDesc(InvocationConstraints constraints)
null, which is treated the same as an empty instance.constraints - the constraints, or nullpublic String getName()
null if this descriptor matches all methods.null if this descriptor matches all methodspublic Class[] getParameterTypes()
null if this descriptor matches all
 parameter types or all methods. Returns a new non-null array every time it
 is called.null if this descriptor matches all
 parameter types or all methodspublic InvocationConstraints getConstraints()
null value.null valuepublic int hashCode()
public boolean equals(Object obj)
Copyright © GigaSpaces.