Serialized Form
-
Package org.matwoess.jsourceprofiler.tool.model
-
Class org.matwoess.jsourceprofiler.tool.model.Block
class Block extends Object implements Serializable-
Serialized Fields
-
beg
CodePosition beg
-
blockType
BlockType blockType
-
clazz
JClass clazz
-
codeRegions
List<CodeRegion> codeRegions
The code regions of this block. Should never be empty as long asBlockType.hasCounter()is true. -
controlBreak
ControlBreak controlBreak
The control flow break of this block. Null if this block is not ending with one. -
end
CodePosition end
-
id
int id
-
incInsertOffset
int incInsertOffset
The offset for inserting the block's counter-statement. Important for constructor blocks. -
innerBlocks
List<Block> innerBlocks
The list of nested blocks for this block. Empty by default. -
isSingleStatement
boolean isSingleStatement
-
labels
List<String> labels
The labels associated with this block. Empty by default. -
method
Method method
-
parentBlock
Block parentBlock
-
-
-
Record Class org.matwoess.jsourceprofiler.tool.model.CodePosition
class CodePosition extends Record implements Serializable -
Class org.matwoess.jsourceprofiler.tool.model.CodeRegion
class CodeRegion extends Object implements Serializable-
Serialized Fields
-
beg
CodePosition beg
-
block
Block block
The block this region belongs to. -
dependentBlocks
List<Block> dependentBlocks
The list of dependent control break blocks, used to calculate the effective hit-count of the current region. -
end
CodePosition end
-
id
int id
-
-
-
Record Class org.matwoess.jsourceprofiler.tool.model.ControlBreak
class ControlBreak extends Record implements Serializable-
Serialized Fields
-
kind
ControlBreak.Kind kind
The field for thekindrecord component. -
label
String label
The field for thelabelrecord component.
-
-
-
Class org.matwoess.jsourceprofiler.tool.model.JavaFile
class JavaFile extends Object implements Serializable-
Serialization Methods
-
readObject
Custom deserialization method, reading paths from strings.- Parameters:
ois- the input stream- Throws:
IOException- if any IO error occursClassNotFoundException- if any class cannot be found
-
writeObject
Custom serialization method, storing paths as strings.- Parameters:
oos- the output stream- Throws:
IOException- if any IO error occurs
-
-
Serialized Fields
-
-
Class org.matwoess.jsourceprofiler.tool.model.JClass
class JClass extends Object implements Serializable -
Class org.matwoess.jsourceprofiler.tool.model.Method
class Method extends Object implements Serializable
-