polish
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user