edu.umd.cs.findbugs.ba.vna
public class AvailableLoad extends Object implements Comparable<AvailableLoad>
AvailableLoad objects may be used as keys in both hash and tree sets and maps.
See Also: ValueNumberAnalysis
| Constructor Summary | |
|---|---|
| AvailableLoad(StaticField staticField)
Constructor from static field.
| |
| AvailableLoad(ValueNumber reference, InstanceField field)
Constructor from object reference and instance field.
| |
| Method Summary | |
|---|---|
| int | compareTo(AvailableLoad other) |
| XField | getField()
Get the field for which a load is available.
|
| ValueNumber | getReference()
Get the ValueNumber of the object reference.
|
| boolean | matchesReference(ValueNumber v) |
Parameters: staticField the StaticField
Parameters: reference the ValueNumber of the object reference field the InstanceField
Returns: the XField
Returns: the ValueNumber, or null if this is a an available static field load