
public class SourceInfoCorrelation extends Object implements SourceInfo
| Constructor and Description |
|---|
SourceInfoCorrelation(SourceInfoCorrelation parent,
SourceOrigin origin) |
SourceInfoCorrelation(SourceOrigin origin) |
| Modifier and Type | Method and Description |
|---|---|
void |
addCorrelation(Correlation c)
Add a Correlation to the SourceInfo.
|
Correlation |
getCorrelation(Correlation.Axis axis)
Return the Correlation that has been set for a given Axis, or
null if no Correlation has been set on the given axis. |
Correlation[] |
getCorrelations()
Returns the Correlations added along each Axis on which a Correlation has
been set.
|
CorrelationFactory |
getCorrelator()
Returns the correlation factory that created this node.
|
int |
getEndPos() |
String |
getFileName() |
SourceOrigin |
getOrigin() |
int |
getStartLine() |
int |
getStartPos() |
SourceInfo |
makeChild()
Create a child node of the same type and Origin as this node.
|
SourceInfo |
makeChild(SourceOrigin origin)
Create a child node of the same type as this node, but with a new Origin.
|
String |
toString() |
public SourceInfoCorrelation(SourceOrigin origin)
public SourceInfoCorrelation(SourceInfoCorrelation parent, SourceOrigin origin)
public void addCorrelation(Correlation c)
addCorrelation in interface SourceInfopublic Correlation getCorrelation(Correlation.Axis axis)
SourceInfonull if no Correlation has been set on the given axis.getCorrelation in interface SourceInfopublic Correlation[] getCorrelations()
SourceInfogetCorrelations in interface SourceInfopublic CorrelationFactory getCorrelator()
SourceInfogetCorrelator in interface SourceInfopublic int getEndPos()
getEndPos in interface SourceInfopublic String getFileName()
getFileName in interface SourceInfopublic SourceOrigin getOrigin()
getOrigin in interface SourceInfopublic int getStartLine()
getStartLine in interface SourceInfopublic int getStartPos()
getStartPos in interface SourceInfopublic SourceInfo makeChild()
SourceInfomakeChild in interface SourceInfopublic SourceInfo makeChild(SourceOrigin origin)
SourceInfomakeChild in interface SourceInfoCopyright © 2018. All rights reserved.