public class FieldSummary
extends java.lang.Object
Constructor and Description |
---|
FieldSummary() |
Modifier and Type | Method and Description |
---|---|
boolean |
addWrittenOutsideOfConstructor(XField field) |
boolean |
callsOverriddenMethodsFromConstructor(ClassDescriptor c) |
boolean |
callsOverriddenMethodsFromSuperConstructor(ClassDescriptor c) |
java.util.Set<ProgramPoint> |
getCalledFromSuperConstructor(ClassDescriptor superClass,
XMethod calledFromConstructor) |
java.util.Set<XField> |
getFieldsWritten(XMethod method) |
OpcodeStack.Item |
getSummary(XField field) |
XMethod |
getSuperCall(XMethod from) |
boolean |
isComplete() |
boolean |
isWrittenOutsideOfConstructor(XField field) |
void |
mergeSummary(XField fieldOperand,
OpcodeStack.Item mergeValue) |
void |
sawSuperCall(XMethod from,
XMethod constructorInSuperClass) |
void |
setCalledFromSuperConstructor(ProgramPoint from,
XMethod calledFromConstructor) |
void |
setComplete(boolean complete) |
void |
setFieldsWritten(XMethod method,
java.util.Collection<XField> fields) |
public OpcodeStack.Item getSummary(XField field)
public boolean callsOverriddenMethodsFromConstructor(ClassDescriptor c)
public boolean callsOverriddenMethodsFromSuperConstructor(ClassDescriptor c)
public void setCalledFromSuperConstructor(ProgramPoint from, XMethod calledFromConstructor)
public java.util.Set<ProgramPoint> getCalledFromSuperConstructor(ClassDescriptor superClass, XMethod calledFromConstructor)
public boolean isWrittenOutsideOfConstructor(XField field)
public boolean addWrittenOutsideOfConstructor(XField field)
public void mergeSummary(XField fieldOperand, OpcodeStack.Item mergeValue)
public void setComplete(boolean complete)
complete
- The complete to set.public boolean isComplete()
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.