ariba.util.fieldtype
Class SimpleMethodSpecification
java.lang.Object
ariba.util.fieldtype.MethodSpecification
ariba.util.fieldtype.SimpleMethodSpecification
public class SimpleMethodSpecification
- extends MethodSpecification
Method Summary |
void |
add(java.lang.reflect.Method method)
|
void |
addAll(java.util.Collection collection)
|
void |
addAllIfAbsent(java.util.Collection collection)
|
void |
addIfAbsent(java.lang.reflect.Method method)
|
java.util.List |
getMethods()
|
boolean |
isSatisfiedBy(java.lang.reflect.Method method)
|
static boolean |
secondSatisfiesFirst(java.lang.reflect.Method first,
java.lang.reflect.Method second)
Returns true if second satisfies the specification of first and
false otherwise. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleMethodSpecification
public SimpleMethodSpecification()
secondSatisfiesFirst
public static boolean secondSatisfiesFirst(java.lang.reflect.Method first,
java.lang.reflect.Method second)
- Returns true if second satisfies the specification of first and
false otherwise.
By "satisfy", we mean that the name and parameter types of first
and second are the same and that the declaring class of
second is a non-strict subclass of first.
- Parameters:
first
- the first Method, may not be nullsecond
- the second Method, may not be null
isSatisfiedBy
public boolean isSatisfiedBy(java.lang.reflect.Method method)
- Specified by:
isSatisfiedBy
in class MethodSpecification
getMethods
public java.util.List getMethods()
add
public void add(java.lang.reflect.Method method)
addIfAbsent
public void addIfAbsent(java.lang.reflect.Method method)
addAll
public void addAll(java.util.Collection collection)
addAllIfAbsent
public void addAllIfAbsent(java.util.Collection collection)
AribaWeb User Interface Development Framework
Copyright © 2000-2014 Ariba, Inc. All Rights Reserved.