Spoon is a metaprogramming library to analyze and transform Java source code. :spoon: is made with :heart:, :beers: and :sparkles:. It parses source files to build a well-designed AST with powerful analysis and transformation API.
/**
*
*
* @deprecated Included for backwards compatibility with JUnit 4.4. Will be
* removed in the next major release. Please use
* {@link BlockJUnit4ClassRunner} in place of {@link JUnit4ClassRunner}.
*/
@java.lang.Deprecated
public class MethodValidator {
instead of:
/**
*
*
* @deprecated Included for backwards compatibility with JUnit 4.4. Will be
* removed in the next major release. Please use
* {@link org.junit.runners.BlockJUnit4ClassRunner} in place of {@link JUnit4ClassRunner}.
*/
@java.lang.Deprecated
public class MethodValidator {
[...]
See: https://ci.inria.fr/sos/job/JUnit/1081/console We got a class like this:
instead of: