public class FullStatementInfo extends FullElementInfo<BasicElementInfo> implements TaggedPersistent, StatementInfo
context, sharedInfo| Constructor and Description |
|---|
FullStatementInfo(FullClassInfo containingClass,
ContextSet context,
BasicElementInfo sharedInfo)
Constructor when class is a statement's parent
|
FullStatementInfo(FullFileInfo containingFile,
ContextSet context,
BasicElementInfo sharedInfo)
Constructor when file is a statement's parent
|
FullStatementInfo(FullMethodInfo containingMethod,
ContextSet context,
BasicElementInfo sharedInfo)
Constructor when method is a statement's parent
|
FullStatementInfo(FullMethodInfo containingMethod,
int relativeDataIndex,
ContextSet context,
SourceInfo region,
int complexity) |
FullStatementInfo(FullMethodInfo containingMethod,
int relativeDataIndex,
ContextSet context,
SourceInfo region,
int complexity,
LanguageConstruct construct) |
| Modifier and Type | Method and Description |
|---|---|
FullStatementInfo |
copy(FullClassInfo parentClass) |
FullStatementInfo |
copy(FullFileInfo parentFile) |
FullStatementInfo |
copy(FullMethodInfo parentMethod) |
ClassInfo |
getContainingClass() |
FileInfo |
getContainingFile() |
MethodInfo |
getContainingMethod() |
int |
getDataLength() |
CoverageDataProvider |
getDataProvider() |
EntityContainer |
getParent() |
static FullStatementInfo |
read(TaggedDataInput in) |
protected void |
setContainingClass(FullClassInfo containingClass) |
protected void |
setContainingFile(FullFileInfo containingFile) |
protected void |
setContainingMethod(FullMethodInfo methodInfo) |
void |
setDataProvider(CoverageDataProvider data) |
String |
toString() |
void |
write(TaggedDataOutput out) |
addContext, getComplexity, getConstruct, getContext, getDataIndex, getEndColumn, getEndLine, getHitCount, getRelativeDataIndex, getStartColumn, getStartLine, isFiltered, setComplexity, setContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetConstructgetComplexity, getContext, getHitCountgetEndColumn, getEndLine, getStartColumn, getStartLinegetDataIndexpublic FullStatementInfo(FullMethodInfo containingMethod, int relativeDataIndex, ContextSet context, SourceInfo region, int complexity)
public FullStatementInfo(FullMethodInfo containingMethod, int relativeDataIndex, ContextSet context, SourceInfo region, int complexity, LanguageConstruct construct)
public FullStatementInfo(FullMethodInfo containingMethod, ContextSet context, BasicElementInfo sharedInfo)
public FullStatementInfo(FullClassInfo containingClass, ContextSet context, BasicElementInfo sharedInfo)
public FullStatementInfo(FullFileInfo containingFile, ContextSet context, BasicElementInfo sharedInfo)
public FullStatementInfo copy(FullMethodInfo parentMethod)
public FullStatementInfo copy(FullClassInfo parentClass)
public FullStatementInfo copy(FullFileInfo parentFile)
public void setDataProvider(CoverageDataProvider data)
setDataProvider in interface CoverageDataReceptorpublic CoverageDataProvider getDataProvider()
getDataProvider in interface CoverageDataReceptorpublic int getDataLength()
getDataLength in interface InstrumentationInfogetDataLength in interface CoverageDataRangeprotected void setContainingClass(FullClassInfo containingClass)
protected void setContainingMethod(FullMethodInfo methodInfo)
protected void setContainingFile(FullFileInfo containingFile)
@Nullable public ClassInfo getContainingClass()
@Nullable public MethodInfo getContainingMethod()
@Nullable public FileInfo getContainingFile()
getContainingFile in interface FileInfoRegionpublic EntityContainer getParent()
public void write(TaggedDataOutput out) throws IOException
write in interface TaggedPersistentIOExceptionpublic static FullStatementInfo read(TaggedDataInput in) throws IOException
in - input sourceIOExceptionCopyright © 2024 OpenClover.org. All rights reserved.