|
Generated by JDiff |
||||||||
PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES |
This file contains all the changes in documentation in the packageorg.springframework.util
as colored differences. Deletions are shownlike this, and additions are shown like this.
If no deletions or additions are shown in an entry, the HTML tags will be what has changed. The new HTML tags are shown in the differences. If no documentation existed, and then some was added in a later version, this change is noted in the appropriate class pages of differences, but the change is not shown on this page. Only changes in existing text are shown here. Similarly, documentation which was inherited from another class or interface is not shown here.
Note that an HTML error in the new documentation may cause the display of other documentation changes to be presented incorrectly. For instance, failure to close a <code> tag will cause all subsequent paragraphs to be displayed differently.
Given a method, which may come from an interface, and a target class used in the current reflective invocation, find the corresponding target method if there is one. E.g. the method may beClass ClassUtils, String getPackageName(Class<?>)IFoo.bar()
and the target class may beDefaultFoo
. In this case, the method may beDefaultFoo.bar()
. This enables attributes on that method to be found.NOTE: In contrast to org.springframework.aop.support.AopUtils.getMostSpecificMethod, this method does not resolve Java 5 bridge methods automatically. Call org.springframework.core.BridgeMethodResolver.findBridgedMethod if bridge method resolution is desirable (e.g. for obtaining metadata from the original method definition).
NOTE:Since Spring 3.1.1, if java security settings disallow reflective access (e.g. calls to {@code Class#getDeclaredMethods} etc, this implementation will fall back to returning the originally provided method. @param method the method to be invoked, which may come from an interface @param targetClass the target class for the current invocation. May be
null
or may not even implement the method. @return the specific target method, or the original method if thetargetClass
doesn't implement it or isnull
Determine the name of the package of the given class:, e.g. "java.lang" for the {@code java.lang.String} class. @param clazz the class @return the package name, or the empty String if the class is defined in the default package
Determine whether the given method is a CGLIB 'renamed' method, following the pattern "CGLIB$methodName$0". @param renamedMethod the method to check @seenetorg.sfspringframework.cglib.proxy.Enhancer#rename