Index

A B C D E F G H I J K L M N O P R S T U V W Y _ 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

AbstractHtmlWriter - Class in org.matwoess.jsourceprofiler.tool.profile
The abstract superclass for all HTML writers.
AbstractHtmlWriter() - Constructor for class org.matwoess.jsourceprofiler.tool.profile.AbstractHtmlWriter
 
active - Variable in class org.matwoess.jsourceprofiler.tool.instrument.Logger
Whether the logger should print log messages.
addCodeRegion(CodeRegion) - Method in class org.matwoess.jsourceprofiler.tool.model.Block
Insert the given region into the list of code regions.
analyzeFiles() - Method in class org.matwoess.jsourceprofiler.tool.instrument.Instrumenter
Parses all source files and find all code blocks.
ANONYMOUS - Enum constant in enum class org.matwoess.jsourceprofiler.tool.model.ClassType
 
Arguments - Record Class in org.matwoess.jsourceprofiler.tool.cli
Represents the command line arguments for the profiler tool.
Arguments(RunMode, Path, Path, boolean, boolean, String[]) - Constructor for record class org.matwoess.jsourceprofiler.tool.cli.Arguments
Creates an instance of a Arguments record class.
ARROW_CASE - Enum constant in enum class org.matwoess.jsourceprofiler.tool.model.BlockType
 
auxiliary - package auxiliary
 

B

beg - Variable in class org.matwoess.jsourceprofiler.tool.model.Block
 
beg - Variable in class org.matwoess.jsourceprofiler.tool.model.CodeRegion
 
beginOfImports - Variable in class org.matwoess.jsourceprofiler.tool.model.JavaFile
 
block - Variable in class org.matwoess.jsourceprofiler.tool.model.CodeRegion
The block this region belongs to.
Block - Class in org.matwoess.jsourceprofiler.tool.model
This class is used to store information about a code block.
Block(BlockType) - Constructor for class org.matwoess.jsourceprofiler.tool.model.Block
Creates a new Block with the given type.
BLOCK - Enum constant in enum class org.matwoess.jsourceprofiler.tool.model.BlockType
 
blocksCount() - Method in record class org.matwoess.jsourceprofiler.tool.model.Metadata
Returns the value of the blocksCount record component.
blockType - Variable in class org.matwoess.jsourceprofiler.tool.model.Block
 
BlockType - Enum Class in org.matwoess.jsourceprofiler.tool.model
This enum is used to represent the type for a code block.
body() - Method in class org.matwoess.jsourceprofiler.tool.profile.AbstractHtmlWriter
Should be overridden to generate the main content of the HTML document.
body() - Method in class org.matwoess.jsourceprofiler.tool.profile.ReportClassIndexWriter
Generates the main content of the HTML document by calling ReportClassIndexWriter.sortedClassTable().
body() - Method in class org.matwoess.jsourceprofiler.tool.profile.ReportMethodIndexWriter
Generates the main content of the HTML document by calling ReportMethodIndexWriter.sortedMethodTable().
body() - Method in class org.matwoess.jsourceprofiler.tool.profile.ReportSourceWriter
Generates the main content of the HTML document by calling ReportSourceWriter.preCodeElement().
bodyEnd() - Method in class org.matwoess.jsourceprofiler.tool.profile.AbstractHtmlWriter
Appends the HTML body end tag to the internal content StringBuilder and includes all the body scripts.
bodyScripts - Variable in class org.matwoess.jsourceprofiler.tool.profile.AbstractHtmlWriter
 
bodyStart() - Method in class org.matwoess.jsourceprofiler.tool.profile.AbstractHtmlWriter
Appends the HTML body start tag to the internal content StringBuilder.
BREAK - Enum constant in enum class org.matwoess.jsourceprofiler.tool.model.ControlBreak.Kind
 
buffer - Variable in class org.matwoess.jsourceprofiler.tool.instrument.Scanner
 

C

chPos() - Method in record class org.matwoess.jsourceprofiler.tool.model.CodeInsert
Returns the value of the chPos record component.
CLASS - Enum constant in enum class org.matwoess.jsourceprofiler.tool.model.ClassType
 
classBlocks - Variable in class org.matwoess.jsourceprofiler.tool.model.JClass
 
classType - Variable in class org.matwoess.jsourceprofiler.tool.model.JClass
 
ClassType - Enum Class in org.matwoess.jsourceprofiler.tool.model
This enum is used to represent the locality type for a class definition.
clazz - Variable in class org.matwoess.jsourceprofiler.tool.model.Block
 
code() - Method in record class org.matwoess.jsourceprofiler.tool.model.CodeInsert
Returns the value of the code record component.
CodeInsert - Record Class in org.matwoess.jsourceprofiler.tool.model
This class is used to represent a code insertion.
CodeInsert(int, String) - Constructor for record class org.matwoess.jsourceprofiler.tool.model.CodeInsert
Creates an instance of a CodeInsert record class.
CodePosition - Record Class in org.matwoess.jsourceprofiler.tool.model
A record class to store both the line and a character position in a unified way
CodePosition(int, int) - Constructor for record class org.matwoess.jsourceprofiler.tool.model.CodePosition
Creates an instance of a CodePosition record class.
CodeRegion - Class in org.matwoess.jsourceprofiler.tool.model
Class for a group of statements, inside a block, sharing one hit-count value.
CodeRegion() - Constructor for class org.matwoess.jsourceprofiler.tool.model.CodeRegion
 
codeRegions - Variable in class org.matwoess.jsourceprofiler.tool.model.Block
The code regions of this block.
collect() - Method in class org.matwoess.jsourceprofiler.tool.cli.FileCollector
Collects the files from the base directory and its subdirectories using Files.walkFileTree and a custom visitor.
COLON_CASE - Enum constant in enum class org.matwoess.jsourceprofiler.tool.model.BlockType
 
compareTo(CodePosition) - Method in record class org.matwoess.jsourceprofiler.tool.model.CodePosition
 
compileInstrumented() - Method in class org.matwoess.jsourceprofiler.tool.profile.Profiler
Compiles the main instrumented file and output it to the classes directory.
Component - Interface in org.matwoess.jsourceprofiler.tool.model
Common supertype for all model classes representing a "component" of a java program.
CONSTRUCTOR - Enum constant in enum class org.matwoess.jsourceprofiler.tool.model.BlockType
 
CONTINUE - Enum constant in enum class org.matwoess.jsourceprofiler.tool.model.ControlBreak.Kind
 
controlBreak - Variable in class org.matwoess.jsourceprofiler.tool.model.Block
The control flow break of this block.
ControlBreak - Record Class in org.matwoess.jsourceprofiler.tool.model
This class is used to represent a control flow break.
ControlBreak(ControlBreak.Kind, String) - Constructor for record class org.matwoess.jsourceprofiler.tool.model.ControlBreak
Creates an instance of a ControlBreak record class.
ControlBreak.Kind - Enum Class in org.matwoess.jsourceprofiler.tool.model
The kind of control flow break.
copyAuxiliaryFiles() - Static method in class org.matwoess.jsourceprofiler.tool.instrument.Instrumenter
Copies the auxiliary files into the auxiliary directory.
createLinkForReport() - Method in class org.matwoess.jsourceprofiler.tool.profile.Profiler
Creates a symbolic link to the main report index file in the current directory.
cssFiles - Variable in class org.matwoess.jsourceprofiler.tool.profile.AbstractHtmlWriter
 

D

dependentBlocks - Variable in class org.matwoess.jsourceprofiler.tool.model.CodeRegion
The list of dependent control break blocks, used to calculate the effective hit-count of the current region.

E

end - Variable in class org.matwoess.jsourceprofiler.tool.model.Block
 
end - Variable in class org.matwoess.jsourceprofiler.tool.model.CodeRegion
 
equals(Object) - Method in record class org.matwoess.jsourceprofiler.tool.cli.Arguments
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in class org.matwoess.jsourceprofiler.tool.model.Block
 
equals(Object) - Method in record class org.matwoess.jsourceprofiler.tool.model.CodeInsert
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.matwoess.jsourceprofiler.tool.model.CodePosition
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.matwoess.jsourceprofiler.tool.model.ControlBreak
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in class org.matwoess.jsourceprofiler.tool.model.JClass
 
equals(Object) - Method in record class org.matwoess.jsourceprofiler.tool.model.Metadata
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in class org.matwoess.jsourceprofiler.tool.model.Method
 
errors - Variable in class org.matwoess.jsourceprofiler.tool.instrument.Parser
 
excludeFileName(String) - Method in class org.matwoess.jsourceprofiler.tool.cli.FileCollector
Adds a file name to the list of exclusions.
excludePath(Path) - Method in class org.matwoess.jsourceprofiler.tool.cli.FileCollector
Adds a path to the list of exclusions.
exportMetadata() - Method in class org.matwoess.jsourceprofiler.tool.instrument.Instrumenter
Exports the metadata file.
exportMetadata(Path) - Method in record class org.matwoess.jsourceprofiler.tool.model.Metadata
Exports the metadata to the filesystem.

F

FileCollector - Class in org.matwoess.jsourceprofiler.tool.cli
Collects files with a specific file extension from a directory and its subdirectories.
FileCollector(Path, String, boolean) - Constructor for class org.matwoess.jsourceprofiler.tool.cli.FileCollector
Creates a new FileCollector for the given base directory and file extension.
foundBlocks - Variable in class org.matwoess.jsourceprofiler.tool.model.JavaFile
 
fromToken(String) - Static method in record class org.matwoess.jsourceprofiler.tool.model.ControlBreak
Create a new control flow break from a keyword token value.
fromTokenWithLabel(String, String) - Static method in record class org.matwoess.jsourceprofiler.tool.model.ControlBreak
Create a new control flow break from a keyword token value and a label.

G

generate() - Method in class org.matwoess.jsourceprofiler.tool.profile.AbstractHtmlWriter
Generates the full HTML document out of all helper methods.
generateReport() - Method in class org.matwoess.jsourceprofiler.tool.profile.Profiler
Generates the report from the metadata and counts files.
getAggregatedMethodBlockCounts() - Method in class org.matwoess.jsourceprofiler.tool.model.JClass
Returns the sum of hits for all method blocks in this class and all inner classes recursively.
getBlockBegPos(Parser, BlockType, boolean) - Static method in class org.matwoess.jsourceprofiler.tool.instrument.Util
Returns the block begin position, depending on the block type and whether the block is a single statement.
getBlocksRecursive() - Method in class org.matwoess.jsourceprofiler.tool.model.JClass
Returns a list of all blocks in this class and all inner classes recursively.
getBlocksRecursive() - Method in class org.matwoess.jsourceprofiler.tool.model.Method
Returns a list of all blocks in this method, including inner blocks recursively.
getClassesRecursive() - Method in class org.matwoess.jsourceprofiler.tool.model.JavaFile
Returns a list of all classes in this file, including inner classes recursively.
getClassesRecursive() - Method in class org.matwoess.jsourceprofiler.tool.model.JClass
Returns a list of all inner classes recursively.
getFileOutputPath() - Method in class org.matwoess.jsourceprofiler.tool.profile.AbstractHtmlWriter
Returns the path to where the output file should be written to.
getFileOutputPath() - Method in class org.matwoess.jsourceprofiler.tool.profile.ReportClassIndexWriter
Defines the output path for the generated HTML document as IO.getReportIndexPath().
getFileOutputPath() - Method in class org.matwoess.jsourceprofiler.tool.profile.ReportMethodIndexWriter
Returns the path to the HTML file to write to by calling IO.getReportMethodIndexPath(String) for the current class name.
getFileOutputPath() - Method in class org.matwoess.jsourceprofiler.tool.profile.ReportSourceWriter
Returns the file output path to write the file to.
getFullName() - Method in class org.matwoess.jsourceprofiler.tool.model.JClass
Returns the full name of this class, including the package name.
getHitCount() - Method in class org.matwoess.jsourceprofiler.tool.model.CodeRegion
Gets the effective hit-count of this region.
getIncInsertOffset(Parser, BlockType, boolean) - Static method in class org.matwoess.jsourceprofiler.tool.instrument.Util
Returns the increment insert offset, depending on the block type and whether the block is a single statement.
getIncInsertPos() - Method in class org.matwoess.jsourceprofiler.tool.model.Block
Returns the position where the increment statement should be inserted.
getInnerBlocksRecursive() - Method in class org.matwoess.jsourceprofiler.tool.model.Block
Returns the list of all inner blocks, below and excluding this one, recursively.
getMethodBlock() - Method in class org.matwoess.jsourceprofiler.tool.model.Method
Returns the block representing the method body.
getMethodsRecursive() - Method in class org.matwoess.jsourceprofiler.tool.model.JClass
Returns a list of all methods in this class and all inner classes recursively.
getName() - Method in class org.matwoess.jsourceprofiler.tool.model.JClass
Returns the name of this class, including the parent class name if it is an inner class, separated by a $.
getUsage() - Static method in record class org.matwoess.jsourceprofiler.tool.cli.Arguments
 

H

hasCounter() - Method in enum class org.matwoess.jsourceprofiler.tool.model.BlockType
Returns whether this block will be instrumented with a counter.
hashCode() - Method in record class org.matwoess.jsourceprofiler.tool.cli.Arguments
Returns a hash code value for this object.
hashCode() - Method in class org.matwoess.jsourceprofiler.tool.model.Block
 
hashCode() - Method in record class org.matwoess.jsourceprofiler.tool.model.CodeInsert
Returns a hash code value for this object.
hashCode() - Method in record class org.matwoess.jsourceprofiler.tool.model.CodePosition
Returns a hash code value for this object.
hashCode() - Method in record class org.matwoess.jsourceprofiler.tool.model.ControlBreak
Returns a hash code value for this object.
hashCode() - Method in class org.matwoess.jsourceprofiler.tool.model.JClass
 
hashCode() - Method in record class org.matwoess.jsourceprofiler.tool.model.Metadata
Returns a hash code value for this object.
hashCode() - Method in class org.matwoess.jsourceprofiler.tool.model.Method
 
hasNoBraces() - Method in class org.matwoess.jsourceprofiler.tool.model.Block
Returns whether this block has no curly braces surrounding it.
hasNoBraces() - Method in enum class org.matwoess.jsourceprofiler.tool.model.BlockType
Returns whether this block has no opening and closing braces.
header() - Method in class org.matwoess.jsourceprofiler.tool.profile.AbstractHtmlWriter
Appends the HTML header to the internal content StringBuilder.
heading(String) - Method in class org.matwoess.jsourceprofiler.tool.profile.AbstractHtmlWriter
Writes the custom heading to the internal content StringBuilder.
hits - Variable in class org.matwoess.jsourceprofiler.tool.model.Block
The number of times this block was hit during execution.

I

id - Variable in class org.matwoess.jsourceprofiler.tool.model.Block
 
id - Variable in class org.matwoess.jsourceprofiler.tool.model.CodeRegion
 
importMetadata(Path) - Static method in record class org.matwoess.jsourceprofiler.tool.model.Metadata
Imports the metadata from the filesystem.
inc(int) - Static method in class auxiliary.__Counter
Increments the counter for the given block.
incInsertOffset - Variable in class org.matwoess.jsourceprofiler.tool.model.Block
The offset for inserting the block's counter-statement.
incLambda(int, Runnable) - Static method in class auxiliary.__Counter
Call __Counter.inc(int) with the block id and then execute the given lambda Runnable.
incLambda(int, Supplier<T>) - Static method in class auxiliary.__Counter
Overloaded version of __Counter.incLambda(int, Runnable) using a Supplier with a generic return type.
incLambdaSync(int, Runnable) - Static method in class auxiliary.__Counter
Synchronized version of __Counter.incLambda(int, Runnable).
incLambdaSync(int, Supplier<T>) - Static method in class auxiliary.__Counter
Synchronized version of __Counter.incLambda(int, Supplier).
includeScripts - Variable in class org.matwoess.jsourceprofiler.tool.profile.AbstractHtmlWriter
 
incRefAdd - Variable in class org.matwoess.jsourceprofiler.tool.instrument.Instrumenter
 
incSync(int) - Static method in class auxiliary.__Counter
Increments the counter for the given block, in a synchronized way.
innerBlocks - Variable in class org.matwoess.jsourceprofiler.tool.model.Block
The list of nested blocks for this block.
innerClasses - Variable in class org.matwoess.jsourceprofiler.tool.model.JClass
 
innerControlBreaks - Variable in class org.matwoess.jsourceprofiler.tool.model.Block
The list of inner blocks that contain a control break.
Instrumenter - Class in org.matwoess.jsourceprofiler.tool.instrument
This class is used to instrument the source files of a Java project.
Instrumenter(JavaFile[], Arguments) - Constructor for class org.matwoess.jsourceprofiler.tool.instrument.Instrumenter
Creates a new Instrumenter with the given source files.
instrumentFiles() - Method in class org.matwoess.jsourceprofiler.tool.instrument.Instrumenter
Instruments all source files.
isAbstract() - Method in class org.matwoess.jsourceprofiler.tool.model.Method
Whether this method is abstract.
isMethod() - Method in enum class org.matwoess.jsourceprofiler.tool.model.BlockType
Returns whether this block is a method or constructor method.
isSingleStatement - Variable in class org.matwoess.jsourceprofiler.tool.model.Block
 
isSwitchBody() - Method in enum class org.matwoess.jsourceprofiler.tool.model.BlockType
Returns whether this block is a switch statement or switch expression body.
isSwitchCase() - Method in enum class org.matwoess.jsourceprofiler.tool.model.BlockType
Returns whether this block is a switch case.
isSwitchExpressionCase() - Method in class org.matwoess.jsourceprofiler.tool.model.Block
Returns whether this block is a switch expression case.
isSwitchStatementCase() - Method in class org.matwoess.jsourceprofiler.tool.model.Block
Returns whether this block is a switch statement case.

J

JavaFile - Class in org.matwoess.jsourceprofiler.tool.model
Model class representing a java file.
JavaFile(Path) - Constructor for class org.matwoess.jsourceprofiler.tool.model.JavaFile
Like JavaFile(Path, Path) but relative to the current working directory.
JavaFile(Path, Path) - Constructor for class org.matwoess.jsourceprofiler.tool.model.JavaFile
Creates a new JavaFile object based on a source file path and its parent root directory path.
javaFiles() - Method in record class org.matwoess.jsourceprofiler.tool.model.Metadata
Returns the value of the javaFiles record component.
JClass - Class in org.matwoess.jsourceprofiler.tool.model
This class is used to store information about a java class.
JClass(String, ClassType) - Constructor for class org.matwoess.jsourceprofiler.tool.model.JClass
Creates a new JClass with the given name and class type.

K

kind() - Method in record class org.matwoess.jsourceprofiler.tool.model.ControlBreak
Returns the value of the kind record component.

L

la - Variable in class org.matwoess.jsourceprofiler.tool.instrument.Parser
 
label() - Method in record class org.matwoess.jsourceprofiler.tool.model.ControlBreak
Returns the value of the label record component.
labels - Variable in class org.matwoess.jsourceprofiler.tool.model.Block
The labels associated with this block.
LAMBDA - Enum constant in enum class org.matwoess.jsourceprofiler.tool.model.BlockType
 
line() - Method in record class org.matwoess.jsourceprofiler.tool.model.CodePosition
Returns the value of the line record component.
LOCAL - Enum constant in enum class org.matwoess.jsourceprofiler.tool.model.ClassType
 
log(String) - Method in class org.matwoess.jsourceprofiler.tool.instrument.Logger
Prints the given log message to the console.
log(String, Object...) - Method in class org.matwoess.jsourceprofiler.tool.instrument.Logger
Prints the given log message to the console.
Logger - Class in org.matwoess.jsourceprofiler.tool.instrument
This class is used to log the parsing process.
Logger(Parser) - Constructor for class org.matwoess.jsourceprofiler.tool.instrument.Logger
Creates a new Logger for the given parser.
LOOP - Enum constant in enum class org.matwoess.jsourceprofiler.tool.model.BlockType
 

M

main(String[]) - Static method in class org.matwoess.jsourceprofiler.tool.cli.Main
Main entry point of the profiler tool.
Main - Class in org.matwoess.jsourceprofiler.tool.cli
Main class of the profiler tool.
Main() - Constructor for class org.matwoess.jsourceprofiler.tool.cli.Main
 
maxT - Static variable in class org.matwoess.jsourceprofiler.tool.instrument.Parser
 
Metadata - Record Class in org.matwoess.jsourceprofiler.tool.model
Helper class to represent the metadata of a java project.
Metadata(int, JavaFile[]) - Constructor for record class org.matwoess.jsourceprofiler.tool.model.Metadata
Creates an instance of a Metadata record class.
method - Variable in class org.matwoess.jsourceprofiler.tool.model.Block
 
Method - Class in org.matwoess.jsourceprofiler.tool.model
Model class representing a java method.
Method(String) - Constructor for class org.matwoess.jsourceprofiler.tool.model.Method
Creates a new Method with the given name.
METHOD - Enum constant in enum class org.matwoess.jsourceprofiler.tool.model.BlockType
 
methodBlock - Variable in class org.matwoess.jsourceprofiler.tool.model.Method
 
methods - Variable in class org.matwoess.jsourceprofiler.tool.model.JClass
 

N

name - Variable in class org.matwoess.jsourceprofiler.tool.model.JClass
 
name - Variable in class org.matwoess.jsourceprofiler.tool.model.Method
 

O

org.matwoess.jsourceprofiler.tool - module org.matwoess.jsourceprofiler.tool
 
org.matwoess.jsourceprofiler.tool.cli - package org.matwoess.jsourceprofiler.tool.cli
 
org.matwoess.jsourceprofiler.tool.instrument - package org.matwoess.jsourceprofiler.tool.instrument
 
org.matwoess.jsourceprofiler.tool.model - package org.matwoess.jsourceprofiler.tool.model
 
org.matwoess.jsourceprofiler.tool.profile - package org.matwoess.jsourceprofiler.tool.profile
 

P

packageName - Variable in class org.matwoess.jsourceprofiler.tool.model.JavaFile
 
packageName - Variable in class org.matwoess.jsourceprofiler.tool.model.JClass
 
parentBlock - Variable in class org.matwoess.jsourceprofiler.tool.model.Block
 
parentClass - Variable in class org.matwoess.jsourceprofiler.tool.model.JClass
 
parentClass - Variable in class org.matwoess.jsourceprofiler.tool.model.Method
 
parse(String[]) - Static method in record class org.matwoess.jsourceprofiler.tool.cli.Arguments
Parses the command line arguments and returns an Arguments object.
Parse() - Method in class org.matwoess.jsourceprofiler.tool.instrument.Parser
 
Parser - Class in org.matwoess.jsourceprofiler.tool.instrument
 
Parser(Scanner) - Constructor for class org.matwoess.jsourceprofiler.tool.instrument.Parser
 
ParserState - Class in org.matwoess.jsourceprofiler.tool.instrument
Companion class for the Parser, generated by the attributed grammar in JavaFile.atg.
ParserState(Parser) - Constructor for class org.matwoess.jsourceprofiler.tool.instrument.ParserState
Creates a new ParserState, linked to the given parser.
Peek() - Method in class org.matwoess.jsourceprofiler.tool.instrument.Scanner
 
pos() - Method in record class org.matwoess.jsourceprofiler.tool.model.CodePosition
Returns the value of the pos record component.
printUsage() - Static method in record class org.matwoess.jsourceprofiler.tool.cli.Arguments
 
profile(String[]) - Method in class org.matwoess.jsourceprofiler.tool.profile.Profiler
Runs the instrumented and compiled main file with the given program arguments.
Profiler - Class in org.matwoess.jsourceprofiler.tool.profile
 
Profiler(JavaFile, JavaFile...) - Constructor for class org.matwoess.jsourceprofiler.tool.profile.Profiler
Creates a new Profiler object with the given main file and an array of additional files to profile.
programArgs() - Method in record class org.matwoess.jsourceprofiler.tool.cli.Arguments
Returns the value of the programArgs record component.

R

registerInnerControlBreak(Block) - Method in class org.matwoess.jsourceprofiler.tool.model.Block
Add the given block to the list of inner control breaks.
relativePath - Variable in class org.matwoess.jsourceprofiler.tool.model.JavaFile
 
ReportClassIndexWriter - Class in org.matwoess.jsourceprofiler.tool.profile
The writer class for the class index overview page.
ReportClassIndexWriter(JavaFile[]) - Constructor for class org.matwoess.jsourceprofiler.tool.profile.ReportClassIndexWriter
Creates a new ReportClassIndexWriter object.
ReportMethodIndexWriter - Class in org.matwoess.jsourceprofiler.tool.profile
The writer class for the method index overview page of a java class.
ReportMethodIndexWriter(JClass, JavaFile) - Constructor for class org.matwoess.jsourceprofiler.tool.profile.ReportMethodIndexWriter
Creates a new ReportMethodIndexWriter object.
ReportSourceWriter - Class in org.matwoess.jsourceprofiler.tool.profile
The writer class for the annotated source code report file of a java file.
ReportSourceWriter(JavaFile) - Constructor for class org.matwoess.jsourceprofiler.tool.profile.ReportSourceWriter
Creates a new ReportSourceWriter object for the given java file.
ReportUtil - Class in org.matwoess.jsourceprofiler.tool.profile
A utility class for common report generation helper methods.
ReportUtil() - Constructor for class org.matwoess.jsourceprofiler.tool.profile.ReportUtil
 
ResetPeek() - Method in class org.matwoess.jsourceprofiler.tool.instrument.Scanner
 
RETURN - Enum constant in enum class org.matwoess.jsourceprofiler.tool.model.ControlBreak.Kind
 
runMode() - Method in record class org.matwoess.jsourceprofiler.tool.cli.Arguments
Returns the value of the runMode record component.

S

Scan() - Method in class org.matwoess.jsourceprofiler.tool.instrument.Scanner
 
scanner - Variable in class org.matwoess.jsourceprofiler.tool.instrument.Parser
 
Scanner - Class in org.matwoess.jsourceprofiler.tool.instrument
 
Scanner(InputStream) - Constructor for class org.matwoess.jsourceprofiler.tool.instrument.Scanner
 
Scanner(String) - Constructor for class org.matwoess.jsourceprofiler.tool.instrument.Scanner
 
SemErr(String) - Method in class org.matwoess.jsourceprofiler.tool.instrument.Parser
 
setMethodBlock(Block) - Method in class org.matwoess.jsourceprofiler.tool.model.Method
Sets the given block as the method body.
setParentBlock(Block) - Method in class org.matwoess.jsourceprofiler.tool.model.Block
Registers the parent block object for this block.
setParentClass(JClass) - Method in class org.matwoess.jsourceprofiler.tool.model.Block
Registers the parent class object for this block.
setParentClass(JClass) - Method in class org.matwoess.jsourceprofiler.tool.model.JClass
Registers this class as a nested inner class of the given parent class.
setParentClass(JClass) - Method in class org.matwoess.jsourceprofiler.tool.model.Method
Stores the given class as the parent class of this method.
setParentMethod(Method) - Method in class org.matwoess.jsourceprofiler.tool.model.Block
Registers the parent method object for this block.
sortedClassTable() - Method in class org.matwoess.jsourceprofiler.tool.profile.ReportClassIndexWriter
Appends a table of all classes sorted by the number of method invocations to the internal content.
sortedMethodTable() - Method in class org.matwoess.jsourceprofiler.tool.profile.ReportMethodIndexWriter
Appends a table of all methods sorted by the number of invocations to the internal content.
sourceFile - Variable in class org.matwoess.jsourceprofiler.tool.model.JavaFile
 
sourcesDir() - Method in record class org.matwoess.jsourceprofiler.tool.cli.Arguments
Returns the value of the sourcesDir record component.
STATIC - Enum constant in enum class org.matwoess.jsourceprofiler.tool.model.BlockType
 
stopPropagationAt(Block) - Method in record class org.matwoess.jsourceprofiler.tool.model.ControlBreak
Decide when to stop propagating a control break at a given parent block.
SWITCH_EXPR - Enum constant in enum class org.matwoess.jsourceprofiler.tool.model.BlockType
 
SWITCH_STMT - Enum constant in enum class org.matwoess.jsourceprofiler.tool.model.BlockType
 
syncCounters() - Method in record class org.matwoess.jsourceprofiler.tool.cli.Arguments
Returns the value of the syncCounters record component.

T

t - Variable in class org.matwoess.jsourceprofiler.tool.instrument.Parser
 
targetPath() - Method in record class org.matwoess.jsourceprofiler.tool.cli.Arguments
Returns the value of the targetPath record component.
THROW - Enum constant in enum class org.matwoess.jsourceprofiler.tool.model.ControlBreak.Kind
 
title - Variable in class org.matwoess.jsourceprofiler.tool.profile.AbstractHtmlWriter
 
topLevelClasses - Variable in class org.matwoess.jsourceprofiler.tool.model.JavaFile
 
toString() - Method in record class org.matwoess.jsourceprofiler.tool.cli.Arguments
Returns a string representation of this record class.
toString() - Method in class org.matwoess.jsourceprofiler.tool.model.Block
 
toString() - Method in enum class org.matwoess.jsourceprofiler.tool.model.BlockType
 
toString() - Method in record class org.matwoess.jsourceprofiler.tool.model.CodeInsert
Returns a string representation of this record class.
toString() - Method in record class org.matwoess.jsourceprofiler.tool.model.CodePosition
Returns a string representation of this record class.
toString() - Method in class org.matwoess.jsourceprofiler.tool.model.CodeRegion
 
toString() - Method in record class org.matwoess.jsourceprofiler.tool.model.ControlBreak
Returns a string representation of this record class.
toString() - Method in class org.matwoess.jsourceprofiler.tool.model.JClass
 
toString() - Method in record class org.matwoess.jsourceprofiler.tool.model.Metadata
Returns a string representation of this record class.
toString() - Method in class org.matwoess.jsourceprofiler.tool.model.Method
 
TRY - Enum constant in enum class org.matwoess.jsourceprofiler.tool.model.BlockType
 

U

Util - Class in org.matwoess.jsourceprofiler.tool.instrument
This class contains utility methods for the ParserState.
Util() - Constructor for class org.matwoess.jsourceprofiler.tool.instrument.Util
 

V

valueOf(String) - Static method in enum class org.matwoess.jsourceprofiler.tool.model.BlockType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.matwoess.jsourceprofiler.tool.model.ClassType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.matwoess.jsourceprofiler.tool.model.ControlBreak.Kind
Returns the enum constant of this class with the specified name.
values() - Static method in enum class org.matwoess.jsourceprofiler.tool.model.BlockType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.matwoess.jsourceprofiler.tool.model.ClassType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.matwoess.jsourceprofiler.tool.model.ControlBreak.Kind
Returns an array containing the constants of this enum class, in the order they are declared.
verboseOutput() - Method in record class org.matwoess.jsourceprofiler.tool.cli.Arguments
Returns the value of the verboseOutput record component.

W

write() - Method in class org.matwoess.jsourceprofiler.tool.profile.AbstractHtmlWriter
Writes the generated HTML document to the file specified by AbstractHtmlWriter.getFileOutputPath().

Y

YIELD - Enum constant in enum class org.matwoess.jsourceprofiler.tool.model.ControlBreak.Kind
 

_

__Counter - Class in auxiliary
This class is used to count the number of times a block of code is executed.
__Counter() - Constructor for class auxiliary.__Counter
 
_char - Static variable in class org.matwoess.jsourceprofiler.tool.instrument.Parser
 
_class - Static variable in class org.matwoess.jsourceprofiler.tool.instrument.Parser
 
_EOF - Static variable in class org.matwoess.jsourceprofiler.tool.instrument.Parser
 
_ident - Static variable in class org.matwoess.jsourceprofiler.tool.instrument.Parser
 
_newRef - Static variable in class org.matwoess.jsourceprofiler.tool.instrument.Parser
 
_string - Static variable in class org.matwoess.jsourceprofiler.tool.instrument.Parser
 
_this - Static variable in class org.matwoess.jsourceprofiler.tool.instrument.Parser
 
A B C D E F G H I J K L M N O P R S T U V W Y _ 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form