Package edu.umd.cs.findbugs.ba
Class FieldSummary
java.lang.Object
edu.umd.cs.findbugs.ba.FieldSummary
Interprocedural analysis summary
- Author:
- pugh
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
boolean
getCalledFromSuperConstructor
(ClassDescriptor superClass, XMethod calledFromConstructor) getFieldsWritten
(XMethod method) getSummary
(XField field) getSuperCall
(XMethod from) boolean
boolean
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, Collection<XField> fields)
-
Constructor Details
-
FieldSummary
public FieldSummary()
-
-
Method Details
-
getSummary
-
callsOverriddenMethodsFromConstructor
-
callsOverriddenMethodsFromSuperConstructor
-
setCalledFromSuperConstructor
-
getCalledFromSuperConstructor
public Set<ProgramPoint> getCalledFromSuperConstructor(ClassDescriptor superClass, XMethod calledFromConstructor) -
setFieldsWritten
-
getFieldsWritten
-
isWrittenOutsideOfConstructor
-
addWrittenOutsideOfConstructor
-
mergeSummary
-
setComplete
public void setComplete(boolean complete) - Parameters:
complete
- The complete to set.
-
isComplete
public boolean isComplete()- Returns:
- Returns the complete.
-
sawSuperCall
-
getSuperCall
-