Annotation Interface TypeMigration
Indicates that a Refaster rule or group of Refaster rules is intended to migrate away from the
indicated type.
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionString[]The signatures of public methods and constructors that are not (yet) migrated by the annotated Refaster rule(s).
-
Element Details
-
of
Class<?> ofThe type migrated away from.- Returns:
- The type generally used in the
BeforeTemplatemethods of annotated Refaster rule(s).
-
unmigratedMethods
String[] unmigratedMethodsThe signatures of public methods and constructors that are not (yet) migrated by the annotated Refaster rule(s).- Returns:
- A possibly empty enumeration of method and constructor signatures, formatted according
to
Signatures.prettyMethodSignature(com.sun.tools.javac.code.Symbol.ClassSymbol, com.sun.tools.javac.code.Symbol.MethodSymbol).
- Default:
{}
-