|
PTP Release 7.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.ptp.pldt.common.Artifact
public class Artifact
| Field Summary | |
|---|---|
static int |
CONSTANT
Constant used in marker to indicate type of artifact is a constant |
static java.lang.String[] |
CONSTRUCT_TYPE_NAMES
List of construct names, used to index into for table headings |
static int |
FUNCTION_CALL
Constant used in marker to indicate type of artifact is a function call |
static int |
NONE
Constant used in marker to indicate type of artifact is unspecified |
static int |
PRAGMA
Constant used in marker to indicate type of artifact is a pragma |
| Constructor Summary | |
|---|---|
Artifact(java.lang.String fileName,
int line,
int column,
java.lang.String shortName,
SourceInfo sourceInfo)
Create an Artifact to keep track of an something found in a file. |
|
Artifact(java.lang.String fileName,
int line,
int column,
java.lang.String shortName,
java.lang.String desc,
boolean ignore,
java.lang.String primaryFileName,
SourceInfo sourceInfo)
Create an artifact to keep track of something in a file, including file name |
|
Artifact(java.lang.String fileName,
int line,
int column,
java.lang.String shortName,
java.lang.String desc,
SourceInfo sourceInfo,
java.lang.Object artifactAssist)
Create an Artifact to keep track of an MPI function call (or similar item) in a file, including an object that may be an AST node for convenience. |
|
| Method Summary | |
|---|---|
java.lang.Object |
getArtifactAssist()
Returns an object cached for assisting in artifact analysis, possibly an AST node |
int |
getColumn()
Get the column number within the line |
java.lang.String |
getDescription()
Get text description of the artifact |
java.lang.String |
getFileName()
Get string representation of the filename containing the artifact |
java.lang.String |
getId()
Get unique ID |
int |
getLine()
Get line number within file |
int |
getNewline()
Get new line (perhaps unused) |
java.lang.String |
getPrimaryfileName()
|
java.lang.String |
getShortName()
Get short name of artifact |
SourceInfo |
getSourceInfo()
Get detailed location info on where the artifact is located in the file (more than just line number, for example) |
void |
setColumn(int column_)
Set the column number within the line |
void |
setDescription(java.lang.String description_)
|
void |
setFileName(java.lang.String fileName_)
|
protected void |
setId()
Set unique ID for this MPI artifact. |
void |
setLine(int line_)
Set the line number within the file |
void |
setPrimaryfileName(java.lang.String primaryfileName)
Which file-analysis-invocation gave rise to this artifact. |
void |
setShortName(java.lang.String shortName_)
Set short name for artifact |
java.lang.String |
toString()
Hand representation of data, useful for debugging, etc. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int NONE
public static final int FUNCTION_CALL
public static final int CONSTANT
public static final int PRAGMA
public static final java.lang.String[] CONSTRUCT_TYPE_NAMES
| Constructor Detail |
|---|
public Artifact(java.lang.String fileName,
int line,
int column,
java.lang.String shortName,
SourceInfo sourceInfo)
fileName - line - column - shortName - ignore - primaryFileName -
public Artifact(java.lang.String fileName,
int line,
int column,
java.lang.String shortName,
java.lang.String desc,
SourceInfo sourceInfo,
java.lang.Object artifactAssist)
fileName - line - column - shortName - desc - sourceInfo - artifactAssist -
public Artifact(java.lang.String fileName,
int line,
int column,
java.lang.String shortName,
java.lang.String desc,
boolean ignore,
java.lang.String primaryFileName,
SourceInfo sourceInfo)
fileName - line - column - shortName - desc - ignore - primaryFileName - sourceInfo - | Method Detail |
|---|
protected void setId()
public java.lang.String getId()
getId in interface IArtifactpublic java.lang.String toString()
toString in class java.lang.Objectpublic int getColumn()
IArtifact
getColumn in interface IArtifactpublic void setColumn(int column_)
IArtifact
setColumn in interface IArtifactpublic java.lang.String getDescription()
IArtifact
getDescription in interface IArtifactpublic void setDescription(java.lang.String description_)
description_ - public java.lang.String getFileName()
IArtifact
getFileName in interface IArtifactpublic void setFileName(java.lang.String fileName_)
fileName_ - public int getLine()
IArtifact
getLine in interface IArtifactpublic void setLine(int line_)
IArtifact
setLine in interface IArtifactpublic java.lang.String getPrimaryfileName()
getPrimaryfileName in interface IArtifactpublic void setPrimaryfileName(java.lang.String primaryfileName)
primaryfileName - public java.lang.String getShortName()
IArtifact
getShortName in interface IArtifactpublic void setShortName(java.lang.String shortName_)
IArtifact
setShortName in interface IArtifactpublic SourceInfo getSourceInfo()
getSourceInfo in interface IArtifactpublic int getNewline()
public java.lang.Object getArtifactAssist()
|
PTP Release 7.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||