ariba.util.fieldtype
Class SimpleMethodSpecification
java.lang.Object
ariba.util.fieldtype.MethodSpecification
ariba.util.fieldtype.SimpleMethodSpecification
public class SimpleMethodSpecification
- extends MethodSpecification
SimpleMethodSpecification
public SimpleMethodSpecification()
secondSatisfiesFirst
public static boolean secondSatisfiesFirst(Method first,
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(Method method)
- Specified by:
isSatisfiedBy in class MethodSpecification
getMethods
public List getMethods()
add
public void add(Method method)
addIfAbsent
public void addIfAbsent(Method method)
addAll
public void addAll(Collection collection)
addAllIfAbsent
public void addAllIfAbsent(Collection collection)
AribaWeb User Interface Development Framework
Copyright © 2000-2009 Ariba, Inc. All Rights Reserved.