git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@385 50f2f4bb-b051-0410-bef5-90022cba6387
This commit is contained in:
Chris Beams
2008-12-12 18:22:29 +00:00
parent 4ee9ceaf01
commit 268002601c
4 changed files with 46 additions and 35 deletions
@@ -43,6 +43,6 @@ public interface DynamicIntroductionAdvice extends Advice {
* @param intf the interface to check
* @return whether the advice implements the specified interface
*/
boolean implementsInterface(Class intf);
boolean implementsInterface(Class<?> intf);
}
@@ -57,7 +57,7 @@ public interface MethodMatcher {
* the candidate class must be taken to be the method's declaring class)
* @return whether or not this method matches statically
*/
boolean matches(Method method, Class targetClass);
boolean matches(Method method, Class<?> targetClass);
/**
* Is this MethodMatcher dynamic, that is, must a final call be made on the
@@ -86,7 +86,7 @@ public interface MethodMatcher {
* @return whether there's a runtime match
* @see MethodMatcher#matches(Method, Class)
*/
boolean matches(Method method, Class targetClass, Object[] args);
boolean matches(Method method, Class<?> targetClass, Object[] args);
/**
@@ -34,7 +34,7 @@ public abstract class DynamicMethodMatcher implements MethodMatcher {
* Can override to add preconditions for dynamic matching. This implementation
* always returns true.
*/
public boolean matches(Method method, Class targetClass) {
public boolean matches(Method method, Class<?> targetClass) {
return true;
}