public abstract class ClassNameRewriterUtil extends Object
| Constructor and Description |
|---|
ClassNameRewriterUtil() |
| Modifier and Type | Method and Description |
|---|---|
static FieldAnnotation |
convertFieldAnnotation(ClassNameRewriter classNameRewriter,
FieldAnnotation annotation)
Rewrite a FieldAnnotation to update the class name and field signature,
if needed.
|
static MethodAnnotation |
convertMethodAnnotation(ClassNameRewriter classNameRewriter,
MethodAnnotation annotation)
Rewrite a MethodAnnotation to update the class name, and any class names
mentioned in the method signature.
|
static String |
rewriteMethodSignature(ClassNameRewriter classNameRewriter,
String methodSignature)
Rewrite a method signature.
|
static String |
rewriteSignature(ClassNameRewriter classNameRewriter,
String signature)
Rewrite a signature.
|
public static String rewriteMethodSignature(ClassNameRewriter classNameRewriter, String methodSignature)
classNameRewriter - a ClassNameRewritermethodSignature - a method signaturepublic static String rewriteSignature(ClassNameRewriter classNameRewriter, String signature)
classNameRewriter - a ClassNameRewritersignature - a signature (parameter, return type, or field)public static MethodAnnotation convertMethodAnnotation(ClassNameRewriter classNameRewriter, MethodAnnotation annotation)
classNameRewriter - a ClassNameRewriterannotation - a MethodAnnotationpublic static FieldAnnotation convertFieldAnnotation(ClassNameRewriter classNameRewriter, FieldAnnotation annotation)
classNameRewriter - a ClassNameRewriterannotation - a FieldAnnotationCopyright © 2003–2015. All rights reserved.