public static class MethodInfo.Builder
extends java.lang.Object
Constructor and Description |
---|
MethodInfo.Builder(java.lang.String className,
java.lang.String methodName,
java.lang.String methodSignature,
int accessFlags) |
Modifier and Type | Method and Description |
---|---|
void |
addAccessFlags(int accessFlags) |
void |
addAnnotation(java.lang.String name,
AnnotationValue value) |
void |
addParameterAnnotation(int parameter,
java.lang.String name,
AnnotationValue value) |
MethodInfo |
build() |
void |
setAccessFlags(int accessFlags) |
void |
setAccessMethodForField(java.lang.String owner,
java.lang.String name,
java.lang.String sig,
boolean isStatic) |
void |
setAccessMethodForMethod(java.lang.String owner,
java.lang.String name,
java.lang.String sig,
boolean isStatic) |
void |
setHasBackBranch() |
void |
setIsIdentity() |
void |
setIsStub() |
void |
setIsUnconditionalThrower() |
void |
setNumberMethodCalls(int methodCallCount) |
void |
setSourceSignature(java.lang.String methodSourceSignature) |
void |
setThrownExceptions(java.lang.String[] exceptions) |
void |
setUnsupported() |
void |
setUsesConcurrency() |
void |
setUsesInvokeDynamic() |
void |
setVariableHasName(int p) |
void |
setVariableIsSynthetic(int p) |
java.lang.String |
toString() |
public MethodInfo.Builder(@SlashedClassName java.lang.String className, java.lang.String methodName, java.lang.String methodSignature, int accessFlags)
public java.lang.String toString()
toString
in class java.lang.Object
public void setAccessMethodForMethod(java.lang.String owner, java.lang.String name, java.lang.String sig, boolean isStatic)
public void setAccessMethodForField(java.lang.String owner, java.lang.String name, java.lang.String sig, boolean isStatic)
public void setSourceSignature(java.lang.String methodSourceSignature)
public void setVariableHasName(int p)
public void setVariableIsSynthetic(int p)
public void setUsesConcurrency()
public void setIsStub()
public void setHasBackBranch()
public void setThrownExceptions(java.lang.String[] exceptions)
public void setIsIdentity()
public void setAccessFlags(int accessFlags)
public void addAccessFlags(int accessFlags)
public void addAnnotation(java.lang.String name, AnnotationValue value)
public void addParameterAnnotation(int parameter, java.lang.String name, AnnotationValue value)
public MethodInfo build()
public void setIsUnconditionalThrower()
public void setUnsupported()
public void setNumberMethodCalls(int methodCallCount)
methodCallCount
- public void setUsesInvokeDynamic()
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.