|
FindBugs™ 1.3.9 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.umd.cs.findbugs.ba.jsr305.SourceSinkInfo
public class SourceSinkInfo
Information about a source or sink in the type qualifier dataflow analysis.
Constructor Summary | |
---|---|
SourceSinkInfo(SourceSinkType type,
Location location,
ValueNumber vn,
javax.annotation.meta.When when)
Constructor. |
Method Summary | |
---|---|
int |
compareTo(SourceSinkInfo o)
|
boolean |
equals(java.lang.Object obj)
|
boolean |
getInterproc()
Return whether or not the SourceSinkInfo was created based on the results of type qualifiers computed for a called method (and not explicitly annotating the called method). |
int |
getLocal()
|
Location |
getLocation()
|
int |
getParameter()
|
SourceSinkType |
getType()
|
ValueNumber |
getValueNumber()
|
javax.annotation.meta.When |
getWhen()
|
int |
hashCode()
|
void |
setInterproc(boolean interproc)
Set the SourceSinkInfo as having been created based on the results of type qualifiers computed for a called method (and not explicitly annotating the called method). |
void |
setParameter(int parameter)
|
void |
setParameterAndLocal(int parameter,
int local)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SourceSinkInfo(SourceSinkType type, Location location, ValueNumber vn, javax.annotation.meta.When when)
type
- type of the source or sinklocation
- Location of the source or sinkvn
- the ValueNumber of the annotated valuewhen
- the When value used (explicitly or implicitly) to annotate this
source or sinkMethod Detail |
---|
public SourceSinkType getType()
public Location getLocation()
public ValueNumber getValueNumber()
public javax.annotation.meta.When getWhen()
public void setParameter(int parameter)
parameter
- The parameter to set.public void setParameterAndLocal(int parameter, int local)
parameter
- The parameter to set.local
- The local to set.public int getParameter()
public int getLocal()
public void setInterproc(boolean interproc)
interproc
- true if the SourceSinkInfo results from
computed type qualifiers for a called method,
false otherwisepublic boolean getInterproc()
public int compareTo(SourceSinkInfo o)
compareTo
in interface java.lang.Comparable<SourceSinkInfo>
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
FindBugs™ 1.3.9 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |