public class SourceSinkInfo extends Object implements Comparable<SourceSinkInfo>
| Constructor and Description |
|---|
SourceSinkInfo(SourceSinkType type,
Location location,
ValueNumber vn,
javax.annotation.meta.When when)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(SourceSinkInfo o) |
boolean |
equals(Object obj) |
Object |
getConstantValue() |
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 |
setConstantValue(Object constantValue) |
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) |
String |
toString() |
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 sinkpublic 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 Comparable<SourceSinkInfo>public Object getConstantValue()
public void setConstantValue(Object constantValue)
Copyright © 2003–2015. All rights reserved.