public abstract class ClassNameRewriterUtil
extends java.lang.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 java.lang.String |
rewriteMethodSignature(ClassNameRewriter classNameRewriter,
java.lang.String methodSignature)
Rewrite a method signature.
|
static java.lang.String |
rewriteSignature(ClassNameRewriter classNameRewriter,
java.lang.String signature)
Rewrite a signature.
|
public static java.lang.String rewriteMethodSignature(ClassNameRewriter classNameRewriter, java.lang.String methodSignature)
classNameRewriter
- a ClassNameRewritermethodSignature
- a method signaturepublic static java.lang.String rewriteSignature(ClassNameRewriter classNameRewriter, java.lang.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 FieldAnnotationFindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.