Index
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.
- addArgs(String...) - Method in class org.matwoess.jsourceprofiler.common.JavaCommandBuilder
-
Registers additional arguments for the executed program.
- addCodeRegion(CodeRegion) - Method in class org.matwoess.jsourceprofiler.tool.model.Block
-
Insert the given region into the list of code regions.
- addCompileArg(String, String) - Method in class org.matwoess.jsourceprofiler.common.JCompilerCommandBuilder
-
Specify additional compile options that will be added to the final command.
- addSourceFile(Path) - Method in class org.matwoess.jsourceprofiler.common.JCompilerCommandBuilder
-
Register a source file that should be compiled.
- 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
-
An anonymous class.
- App - Class in org.matwoess.jsourceprofiler.fxui
-
The main class of the application extending
Application. - App() - Constructor for class org.matwoess.jsourceprofiler.fxui.App
- AppController - Class in org.matwoess.jsourceprofiler.fxui
-
The controller for the main application window.
- AppController() - Constructor for class org.matwoess.jsourceprofiler.fxui.AppController
-
Creates a new AppController and initializes the app state.
- AppState - Class in org.matwoess.jsourceprofiler.fxui.model
-
This class is used to store the state of the main FxUI app window.
- AppState() - Constructor for class org.matwoess.jsourceprofiler.fxui.model.AppState
- 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
Argumentsrecord 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
-
The start position of the block in the source file.
- beg - Variable in class org.matwoess.jsourceprofiler.tool.model.CodeRegion
-
The start position of the code region in the source file.
- beginOfImports - Variable in class org.matwoess.jsourceprofiler.tool.model.JavaFile
-
The beginning of the imports section in the file (after the package declaration and comments/copyright).
- BindingUtils - Class in org.matwoess.jsourceprofiler.fxui.util
-
This class contains utility methods for creating bindings.
- BindingUtils() - Constructor for class org.matwoess.jsourceprofiler.fxui.util.BindingUtils
- 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
blocksCountrecord component. - blockType - Variable in class org.matwoess.jsourceprofiler.tool.model.Block
-
The type of the block (one of
BlockType). - 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
contentStringBuilder and includes all the body scripts. - bodyScripts - Variable in class org.matwoess.jsourceprofiler.tool.profile.AbstractHtmlWriter
-
The scripts to include at the end of the HTML document body.
- bodyStart() - Method in class org.matwoess.jsourceprofiler.tool.profile.AbstractHtmlWriter
-
Appends the HTML body start tag to the internal
contentStringBuilder. - BREAK - Enum constant in enum class org.matwoess.jsourceprofiler.tool.model.ControlBreak.Kind
-
A break statement.
- buffer - Variable in class org.matwoess.jsourceprofiler.tool.instrument.Scanner
- build() - Method in class org.matwoess.jsourceprofiler.common.JavaCommandBuilder
-
Returns an array of strings that can be joined to a valid
javacommand line. - build() - Method in class org.matwoess.jsourceprofiler.common.JCompilerCommandBuilder
-
Returns aan array of strings that can be joined to a valid
javaccommand line.
C
- chooseDirectory(ObjectProperty<Path>) - Static method in class org.matwoess.jsourceprofiler.fxui.util.SystemUtils
-
Opens a file chooser dialog and sets the chosen path on the given directory path property.
- chPos() - Method in record class org.matwoess.jsourceprofiler.tool.model.CodeInsert
-
Returns the value of the
chPosrecord component. - CLASS - Enum constant in enum class org.matwoess.jsourceprofiler.tool.model.ClassType
-
A default class, interface, enum or record.
- classBlocks - Variable in class org.matwoess.jsourceprofiler.tool.model.JClass
-
The list of class-level blocks inside this class.
- classType - Variable in class org.matwoess.jsourceprofiler.tool.model.JClass
-
The type of the class (one of
ClassType). - 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
-
The class this block belongs to.
- clearDirectoryContents(Path) - Static method in class org.matwoess.jsourceprofiler.common.IO
-
Deletes all files inside a directory.
- code() - Method in record class org.matwoess.jsourceprofiler.tool.model.CodeInsert
-
Returns the value of the
coderecord 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
CodeInsertrecord 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
CodePositionrecord 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.walkFileTreeand a custom visitor. - COLON_CASE - Enum constant in enum class org.matwoess.jsourceprofiler.tool.model.BlockType
- CommandController - Class in org.matwoess.jsourceprofiler.fxui
-
Controller for the run command preview dialog.
- CommandController() - Constructor for class org.matwoess.jsourceprofiler.fxui.CommandController
- compare(File, File) - Method in class org.matwoess.jsourceprofiler.fxui.util.DirectoryBeforeFileComparator
- 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
classesdirectory. - 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
-
A continue statement.
- 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
ControlBreakrecord 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.
- copyResource(Class<T>, String, Path) - Static method in class org.matwoess.jsourceprofiler.common.IO
-
Extract a copy of a resource file from the project directory or the .jar file.
- copyResourceFolder(Class<T>, String, Path) - Static method in class org.matwoess.jsourceprofiler.common.IO
-
Recursively extract a copy of a whole resource folder from the project directory or the .jar file.
- countsFileExists - Variable in class org.matwoess.jsourceprofiler.fxui.model.AppState
-
Helper binding telling us whether the counts file exists.
- createBorderBinding(ObjectProperty<T>, BooleanBinding) - Static method in class org.matwoess.jsourceprofiler.fxui.util.BindingUtils
-
Creates a binding that returns a Border depending on the validity of the property.
- createBorderBinding(StringProperty, BooleanBinding) - Static method in class org.matwoess.jsourceprofiler.fxui.util.BindingUtils
-
Specialized version of
BindingUtils.createBorderBinding(ObjectProperty, BooleanBinding)for StringProperties. - createDirectoriesIfNotExists(Path) - Static method in class org.matwoess.jsourceprofiler.common.IO
-
Creates all parent directories in the path description to ensure successful creation of a new file in it.
- createIsDirectoryBinding(ObjectProperty<Path>) - Static method in class org.matwoess.jsourceprofiler.fxui.util.BindingUtils
-
Creates a binding for whether the directory property is a valid directory, relative to the parent directory property.
- createLink(Path, Path) - Static method in class org.matwoess.jsourceprofiler.common.IO
-
Creates a symbolic link at a given path pointing to another file path.
- createLinkForReport() - Method in class org.matwoess.jsourceprofiler.tool.profile.Profiler
-
Creates a symbolic link to the main report index file in the current directory.
- createRelativeIsDirectoryBinding(ObjectProperty<Path>, ObjectProperty<Path>) - Static method in class org.matwoess.jsourceprofiler.fxui.util.BindingUtils
-
Like
BindingUtils.createIsDirectoryBinding(ObjectProperty), but relative to the parent directory property. - createSelectedTreeItemBorderBinding(BooleanBinding, BooleanBinding, BooleanBinding) - Static method in class org.matwoess.jsourceprofiler.fxui.util.BindingUtils
-
Create the border binding for a
SelectableTreeCell. - creatRelativeFileExistsBinding(ObjectProperty<Path>, Path) - Static method in class org.matwoess.jsourceprofiler.fxui.util.BindingUtils
-
Creates a binding for whether the file path property exists, relative to the parent directory property.
- creatRelativeIsJavaFileBinding(ObjectProperty<Path>, ObjectProperty<Path>) - Static method in class org.matwoess.jsourceprofiler.fxui.util.BindingUtils
-
Creates a binding for whether the file property is a valid java file, relative to the parent directory property.
- cssFiles - Variable in class org.matwoess.jsourceprofiler.tool.profile.AbstractHtmlWriter
-
The CSS files to include in the header of the HTML document.
D
- DEFAULT - Enum constant in enum class org.matwoess.jsourceprofiler.common.RunMode
-
Instrument, compile, execute the program and generate the report.
- 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.
- DirectoryBeforeFileComparator - Class in org.matwoess.jsourceprofiler.fxui.util
-
This comparator sorts files alphabetically with directories before files.
- DirectoryBeforeFileComparator() - Constructor for class org.matwoess.jsourceprofiler.fxui.util.DirectoryBeforeFileComparator
E
- end - Variable in class org.matwoess.jsourceprofiler.tool.model.Block
-
The end position of the block in the source file.
- end - Variable in class org.matwoess.jsourceprofiler.tool.model.CodeRegion
-
The end position of the code region in the source file.
- 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.
- executeToolWithParameters(AppState) - Static method in class org.matwoess.jsourceprofiler.fxui.util.SystemUtils
-
Calls the tool with the given parameters in the system terminal.
- 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.
- exportParameters() - Method in class org.matwoess.jsourceprofiler.fxui.model.AppState
-
Exports the currently configured parameters to the
parameters.datfile (in the output directory).
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
-
The list of found blocks inside this file.
- 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.
- getAuxiliaryCounterClassPath() - Static method in class org.matwoess.jsourceprofiler.common.IO
-
To successfully run instrumented versions of source files, an import statement is added to all source files.
- getAuxiliaryCounterInstrumentPath() - Static method in class org.matwoess.jsourceprofiler.common.IO
-
To successfully compile instrumented versions of source files, an import statement is added to all source files.
- 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.
- getClassesDir() - Static method in class org.matwoess.jsourceprofiler.common.IO
-
Returns the
classesdirectory relative to theIO.outputDir. - 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.
- getCountsPath() - Static method in class org.matwoess.jsourceprofiler.common.IO
-
Returns the path to the resulting counts file.
- getDefaultSystemTerminal() - Static method in enum class org.matwoess.jsourceprofiler.fxui.model.Terminal
-
Returns the default terminal application for the current operating system.
- 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.
- getInstrumentDir() - Static method in class org.matwoess.jsourceprofiler.common.IO
-
Returns the
instrumenteddirectory relative to theIO.outputDir. - getInstrumentedFilePath(Path) - Static method in class org.matwoess.jsourceprofiler.common.IO
-
Returns the path where the instrumented version of a Java source file is stored.
- getJavaRunCommand(String[]) - Static method in class org.matwoess.jsourceprofiler.fxui.util.SystemUtils
-
Builds the java command string to execute the tool with the given arguments.
- getMetadataPath() - Static method in class org.matwoess.jsourceprofiler.common.IO
-
Returns the path to the parsed project's metadata file.
- 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
$. - getOS() - Static method in enum class org.matwoess.jsourceprofiler.common.OS
-
Use the system property
os.nameto determine the current operating system. - getOutputDir() - Static method in class org.matwoess.jsourceprofiler.common.IO
-
Retrieves the current output directory for the profiler.
- getProgramArguments() - Method in class org.matwoess.jsourceprofiler.fxui.model.AppState
-
Returns the arguments that should be passed to the tool.
- getReportDir() - Static method in class org.matwoess.jsourceprofiler.common.IO
-
Returns the containing root directory for the generated report.
- getReportIndexPath() - Static method in class org.matwoess.jsourceprofiler.common.IO
-
Returns the file path of the main report classes overview.
- getReportIndexSymLinkPath() - Static method in class org.matwoess.jsourceprofiler.common.IO
-
Returns the target path for the symlink pointing to the main report index file.
- getReportMethodIndexPath(String) - Static method in class org.matwoess.jsourceprofiler.common.IO
-
Returns the path to the report method index of a java class.
- getReportResourcePath(String) - Static method in class org.matwoess.jsourceprofiler.common.IO
-
Returns the path of a JavaScript or CSS report file relative to the report directory.
- getReportSourceFilePath(Path) - Static method in class org.matwoess.jsourceprofiler.common.IO
-
Returns the file path of an annotated HTML source file.
- getSystemTerminalOptions() - Static method in enum class org.matwoess.jsourceprofiler.fxui.model.Terminal
-
Gets the available terminal application options, depending on the current OS.
- getTerminalCommand(AppState) - Static method in class org.matwoess.jsourceprofiler.fxui.util.SystemUtils
-
Builds an array of strings representing the command to be executed in the system terminal.
- getUIParametersPath() - Static method in class org.matwoess.jsourceprofiler.common.IO
-
Returns where the configured FxUI parameters are persisted to inside the output directory.
- getUsage() - Static method in record class org.matwoess.jsourceprofiler.tool.cli.Arguments
-
Returns the tool usage information as a string.
- getUserHomeDir() - Static method in class org.matwoess.jsourceprofiler.common.IO
-
Returns the home directory of the current user.
- GNOME_CONSOLE - Enum constant in enum class org.matwoess.jsourceprofiler.fxui.model.Terminal
-
The GNOME Console.
- GNOME_TERMINAL - Enum constant in enum class org.matwoess.jsourceprofiler.fxui.model.Terminal
-
The GNOME Terminal.
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
contentStringBuilder. - heading(String) - Method in class org.matwoess.jsourceprofiler.tool.profile.AbstractHtmlWriter
-
Writes the custom heading to the internal
contentStringBuilder. - 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
-
The unique identifier of this block.
- id - Variable in class org.matwoess.jsourceprofiler.tool.model.CodeRegion
-
The unique identifier of this region.
- importMetadata(Path) - Static method in record class org.matwoess.jsourceprofiler.tool.model.Metadata
-
Imports the metadata from the filesystem.
- importParameters() - Method in class org.matwoess.jsourceprofiler.fxui.model.AppState
-
Imports and replaces the currently configured parameters from the
parameters.datfile. - 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 lambdaRunnable. - 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
-
All scripts to include in the header of the resulting HTML document.
- incSync(int) - Static method in class auxiliary.__Counter
-
Increments the counter for the given block, in a synchronized way.
- initUI(Stage) - Method in class org.matwoess.jsourceprofiler.fxui.CommandController
-
Initializes the UI of the dialog.
- initUI(Stage) - Method in class org.matwoess.jsourceprofiler.fxui.ProjectController
-
Initializes the UI of the project selection dialog.
- 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
-
The list of nested classes inside this class.
- innerControlBreaks - Variable in class org.matwoess.jsourceprofiler.tool.model.Block
-
The list of inner blocks that contain a control break.
- INSTRUMENT_ONLY - Enum constant in enum class org.matwoess.jsourceprofiler.common.RunMode
-
Only instrument a file or directory.
- 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.
- invalidateFileBindings() - Method in class org.matwoess.jsourceprofiler.fxui.model.AppState
-
Invalidates all bindings that depend on the output directory (relative to the project root).
- invalidMainFilePath - Variable in class org.matwoess.jsourceprofiler.fxui.model.AppState
-
Helper binding telling us whether the currently specified main file path is invalid.
- invalidSourcesDirPath - Variable in class org.matwoess.jsourceprofiler.fxui.model.AppState
-
Helper binding telling us whether the current sources directory path is invalid.
- IO - Class in org.matwoess.jsourceprofiler.common
-
Helper class containing methods related to relative path finding and filesystem operations.
- IO() - Constructor for class org.matwoess.jsourceprofiler.common.IO
- isAbstract() - Method in class org.matwoess.jsourceprofiler.tool.model.Method
-
Whether this method is abstract.
- isAncestorOf(Path, Path) - Static method in class org.matwoess.jsourceprofiler.common.Util
-
Checks whether a child path starts with a given directory path.
- isJavaFile(Path) - Static method in class org.matwoess.jsourceprofiler.common.Util
-
Checks whether a file path has a ".java" extension and is a file (not a directory).
- 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
-
Whether this block is a single statement block (no curly braces).
- 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
- JavaCommandBuilder - Class in org.matwoess.jsourceprofiler.common
-
Builder class for a
javacommand line with arguments. - JavaCommandBuilder() - Constructor for class org.matwoess.jsourceprofiler.common.JavaCommandBuilder
- 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
javaFilesrecord component. - JavaProjectTree - Class in org.matwoess.jsourceprofiler.fxui.tree
-
This class is used to display the project directory as a tree view and interact with it.
- JavaProjectTree(AppState, TreeView<File>) - Constructor for class org.matwoess.jsourceprofiler.fxui.tree.JavaProjectTree
-
Creates a new JavaProjectTree.
- 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.
- JCompilerCommandBuilder - Class in org.matwoess.jsourceprofiler.common
-
Builder class for a
javaccommand line with arguments. - JCompilerCommandBuilder() - Constructor for class org.matwoess.jsourceprofiler.common.JCompilerCommandBuilder
K
- KDE_KONSOLE - Enum constant in enum class org.matwoess.jsourceprofiler.fxui.model.Terminal
-
The KDE Konsole.
- kind() - Method in record class org.matwoess.jsourceprofiler.tool.model.ControlBreak
-
Returns the value of the
kindrecord 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
labelrecord 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
- lastProjectPath() - Static method in class org.matwoess.jsourceprofiler.common.IO
-
Returns the path of the file for storing the previously opened project directory.
- Launcher - Class in org.matwoess.jsourceprofiler.fxui
-
Launcher class for the
App. - Launcher() - Constructor for class org.matwoess.jsourceprofiler.fxui.Launcher
- line() - Method in record class org.matwoess.jsourceprofiler.tool.model.CodePosition
-
Returns the value of the
linerecord component. - lineSeparator() - Method in enum class org.matwoess.jsourceprofiler.common.OS
-
Returns the operating system's default line separator characters.
- LINUX - Enum constant in enum class org.matwoess.jsourceprofiler.common.OS
-
The Linux operating system.
- LOCAL - Enum constant in enum class org.matwoess.jsourceprofiler.tool.model.ClassType
-
A local class.
- 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
- MAC - Enum constant in enum class org.matwoess.jsourceprofiler.common.OS
-
The macOS operating system.
- MACOS_TERMINAL - Enum constant in enum class org.matwoess.jsourceprofiler.fxui.model.Terminal
-
The macOS Terminal.
- main(String[]) - Static method in class org.matwoess.jsourceprofiler.fxui.App
-
The main method of the JavaFx application.
- main(String[]) - Static method in class org.matwoess.jsourceprofiler.fxui.Launcher
-
Main method simply calling
App.main(String[]). - 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
- mainFile - Variable in class org.matwoess.jsourceprofiler.fxui.model.AppState
- 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
Metadatarecord class. - metadataFileExists - Variable in class org.matwoess.jsourceprofiler.fxui.model.AppState
-
Helper binding telling us whether the metadata file exists.
- 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
-
The block representing the method body (if not abstract).
- methods - Variable in class org.matwoess.jsourceprofiler.tool.model.JClass
-
The list of methods in this class.
N
- name - Variable in class org.matwoess.jsourceprofiler.tool.model.JClass
-
The name of the class.
- name - Variable in class org.matwoess.jsourceprofiler.tool.model.Method
-
The name of the method.
- normalize(Path) - Static method in class org.matwoess.jsourceprofiler.common.IO
-
Converts a
Pathobject to a string with all forward slashes as a separator.
O
- onClearMainFile() - Method in class org.matwoess.jsourceprofiler.fxui.AppController
-
Empties the main file path property.
- onClearSourcesDir() - Method in class org.matwoess.jsourceprofiler.fxui.AppController
-
Empties the sources directory path property.
- onExecuteTool() - Method in class org.matwoess.jsourceprofiler.fxui.AppController
-
Executes the tool with the given parameters (in the system terminal).
- onFileCreated(Path) - Method in class org.matwoess.jsourceprofiler.fxui.AppController
-
Handles the file creation event of the directory watcher.
- onFileCreated(Path) - Method in interface org.matwoess.jsourceprofiler.fxui.util.RecursiveDirectoryWatcher.FileEventListener
-
Called when a file is created.
- onFileDeleted(Path) - Method in class org.matwoess.jsourceprofiler.fxui.AppController
-
Handles the path deletion event of the directory watcher.
- onFileDeleted(Path) - Method in interface org.matwoess.jsourceprofiler.fxui.util.RecursiveDirectoryWatcher.FileEventListener
-
Called when a file is deleted.
- onOpenProject() - Method in class org.matwoess.jsourceprofiler.fxui.ProjectController
-
Closes the project selection dialog and exports the selected project root path using
ProjectController.exportProjectPath(). - onOpenReport() - Method in class org.matwoess.jsourceprofiler.fxui.AppController
-
Opens the report index file in the default desktop application.
- onRebuildTree() - Method in class org.matwoess.jsourceprofiler.fxui.AppController
-
Triggers a full rebuild of the project tree.
- onRestoreParameters() - Method in class org.matwoess.jsourceprofiler.fxui.AppController
-
Import the parameters from the filesystem.
- onSaveParameters() - Method in class org.matwoess.jsourceprofiler.fxui.AppController
-
Export the current parameters to the filesystem.
- openWithDesktopApplication(Path) - Static method in class org.matwoess.jsourceprofiler.fxui.util.SystemUtils
-
Opens the specified path with its default desktop application.
- org.matwoess.jsourceprofiler.common - package org.matwoess.jsourceprofiler.common
- org.matwoess.jsourceprofiler.fxui - package org.matwoess.jsourceprofiler.fxui
- org.matwoess.jsourceprofiler.fxui.model - package org.matwoess.jsourceprofiler.fxui.model
- org.matwoess.jsourceprofiler.fxui.tree - package org.matwoess.jsourceprofiler.fxui.tree
- org.matwoess.jsourceprofiler.fxui.util - package org.matwoess.jsourceprofiler.fxui.util
- 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
- OS - Enum Class in org.matwoess.jsourceprofiler.common
-
Helper enum class for operating system dependent get actions.
- outputDir - Static variable in class org.matwoess.jsourceprofiler.common.IO
-
Represents the output directory for the profiler.
P
- packageName - Variable in class org.matwoess.jsourceprofiler.tool.model.JavaFile
-
The package name of the file (if any).
- packageName - Variable in class org.matwoess.jsourceprofiler.tool.model.JClass
-
The package name of the class (if any).
- parametersFileExists - Variable in class org.matwoess.jsourceprofiler.fxui.model.AppState
-
Helper binding telling us whether the parameters file exists.
- parentClass - Variable in class org.matwoess.jsourceprofiler.tool.model.JClass
-
The parent class of this class (if nested).
- parse(String[]) - Static method in record class org.matwoess.jsourceprofiler.tool.cli.Arguments
-
Parses the command line arguments and returns an
Argumentsobject. - 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 inJavaFile.atg. - ParserState(Parser) - Constructor for class org.matwoess.jsourceprofiler.tool.instrument.ParserState
-
Creates a new ParserState, linked to the given parser.
- pathSeparator() - Method in enum class org.matwoess.jsourceprofiler.common.OS
-
Returns the operating system's default class path separator character.
- pathStringConverter - Static variable in class org.matwoess.jsourceprofiler.fxui.util.BindingUtils
-
This StringConverter is used to convert a Path to a String and vice versa.
- 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
posrecord component. - prependToArray(T[], T...) - Static method in class org.matwoess.jsourceprofiler.common.Util
-
Extend an array by prepending a number of values with the same type to it.
- printUsage() - Static method in record class org.matwoess.jsourceprofiler.tool.cli.Arguments
-
Prints tool usage information to the standard output.
- processEvents() - Method in class org.matwoess.jsourceprofiler.fxui.util.RecursiveDirectoryWatcher
-
Processes all events for keys queued to the watcher.
- 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
-
The main class for profiling an already instrumented Java project.
- Profiler(JavaFile, JavaFile...) - Constructor for class org.matwoess.jsourceprofiler.tool.profile.Profiler
-
Creates a new
Profilerobject with the given main file and an array of additional files to profile. - programArgs - Variable in class org.matwoess.jsourceprofiler.fxui.model.AppState
- programArgs() - Method in record class org.matwoess.jsourceprofiler.tool.cli.Arguments
-
Returns the value of the
programArgsrecord component. - ProjectController - Class in org.matwoess.jsourceprofiler.fxui
-
The controller for the project selection dialog.
- ProjectController() - Constructor for class org.matwoess.jsourceprofiler.fxui.ProjectController
- projectRoot - Variable in class org.matwoess.jsourceprofiler.fxui.model.AppState
R
- RecursiveDirectoryWatcher - Class in org.matwoess.jsourceprofiler.fxui.util
-
Is used to watch a directory and all its subdirectories for file creation and deletion events.
- RecursiveDirectoryWatcher(RecursiveDirectoryWatcher.FileEventListener, Path, Path...) - Constructor for class org.matwoess.jsourceprofiler.fxui.util.RecursiveDirectoryWatcher
-
Creates a new RecursiveDirectoryWatcher.
- RecursiveDirectoryWatcher.FileEventListener - Interface in org.matwoess.jsourceprofiler.fxui.util
-
An interface for listeners that want to be informed about file creation and deletion events.
- register(Path) - Method in class org.matwoess.jsourceprofiler.fxui.util.RecursiveDirectoryWatcher
-
Registers the given directory with the WatchService.
- 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
-
The relative path to the file from the original sources root directory.
- REPORT_ONLY - Enum constant in enum class org.matwoess.jsourceprofiler.common.RunMode
-
Only generate the report from existing counts, metadata and source code files.
- 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
ReportClassIndexWriterobject. - reportIndexFileExists - Variable in class org.matwoess.jsourceprofiler.fxui.model.AppState
-
Helper binding telling us whether the report index file exists.
- 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
ReportMethodIndexWriterobject. - 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
ReportSourceWriterobject 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
-
A return statement.
- runCommand(String...) - Static method in class org.matwoess.jsourceprofiler.common.Util
-
Run a generic command using the system command line.
- runCommandAndGetOutput(Path, String...) - Static method in class org.matwoess.jsourceprofiler.common.Util
-
Run a command line in a specified directory and get the string output as a return value.
- runCommandInDir(Path, String...) - Static method in class org.matwoess.jsourceprofiler.common.Util
-
Runs a command line in a specified working directory.
- runMode - Variable in class org.matwoess.jsourceprofiler.fxui.model.AppState
- runMode() - Method in record class org.matwoess.jsourceprofiler.tool.cli.Arguments
-
Returns the value of the
runModerecord component. - RunMode - Enum Class in org.matwoess.jsourceprofiler.common
-
The possible run modes of the tool.
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
- setClassPath(Path) - Method in class org.matwoess.jsourceprofiler.common.JavaCommandBuilder
-
Register the class path that will be passed to the
javacommand with the-cpargument. - setClassPath(Path) - Method in class org.matwoess.jsourceprofiler.common.JCompilerCommandBuilder
-
Define the class path directory for the final
javaccommand. - setDirectory(Path) - Method in class org.matwoess.jsourceprofiler.common.JCompilerCommandBuilder
-
Define the output directory for the
javaccommand, specified by the-doption. - setMainClass(String) - Method in class org.matwoess.jsourceprofiler.common.JavaCommandBuilder
-
Register the main class name, later added as the first argument after options.
- 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.
- setProjectDirectory(Path) - Method in class org.matwoess.jsourceprofiler.fxui.AppController
-
Sets the project root path and initializes the project tree.
- setRunCommand(String) - Method in class org.matwoess.jsourceprofiler.fxui.CommandController
-
Sets the run command to be displayed in the dialog.
- showRunCommand() - Method in class org.matwoess.jsourceprofiler.fxui.AppController
-
Shows and initializes the command preview modal dialog.
- SOLARIS - Enum constant in enum class org.matwoess.jsourceprofiler.common.OS
-
The Solaris operating system.
- 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
-
The associated original source file path.
- sourcesDir - Variable in class org.matwoess.jsourceprofiler.fxui.model.AppState
- sourcesDir() - Method in record class org.matwoess.jsourceprofiler.tool.cli.Arguments
-
Returns the value of the
sourcesDirrecord component. - start(Stage) - Method in class org.matwoess.jsourceprofiler.fxui.App
-
Starts the application.
- 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 - Variable in class org.matwoess.jsourceprofiler.fxui.model.AppState
- syncCounters() - Method in record class org.matwoess.jsourceprofiler.tool.cli.Arguments
-
Returns the value of the
syncCountersrecord component. - SystemUtils - Class in org.matwoess.jsourceprofiler.fxui.util
-
This class contains utility methods for interacting with the operating system.
- SystemUtils() - Constructor for class org.matwoess.jsourceprofiler.fxui.util.SystemUtils
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
targetPathrecord component. - terminal - Variable in class org.matwoess.jsourceprofiler.fxui.model.AppState
- Terminal - Enum Class in org.matwoess.jsourceprofiler.fxui.model
-
A class enumerating all supported terminal applications.
- THROW - Enum constant in enum class org.matwoess.jsourceprofiler.tool.model.ControlBreak.Kind
-
A throw statement.
- title - Variable in class org.matwoess.jsourceprofiler.tool.profile.AbstractHtmlWriter
-
The title for the generated HTML document.
- topLevelClasses - Variable in class org.matwoess.jsourceprofiler.tool.model.JavaFile
-
The list of all top-level classes in this file.
- toString() - Method in enum class org.matwoess.jsourceprofiler.common.RunMode
-
Returns a description for the run mode.
- toString() - Method in enum class org.matwoess.jsourceprofiler.fxui.model.Terminal
-
Returns the string representation name of the terminal application.
- 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.common
-
Provides utility methods for all modules to use.
- Util - Class in org.matwoess.jsourceprofiler.tool.instrument
-
This class contains utility methods for the
ParserState. - Util() - Constructor for class org.matwoess.jsourceprofiler.common.Util
- Util() - Constructor for class org.matwoess.jsourceprofiler.tool.instrument.Util
V
- valueOf(String) - Static method in enum class org.matwoess.jsourceprofiler.common.OS
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.matwoess.jsourceprofiler.common.RunMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.matwoess.jsourceprofiler.fxui.model.Terminal
-
Returns the enum constant of this class with the specified name.
- 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.common.OS
-
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.common.RunMode
-
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.fxui.model.Terminal
-
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.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
verboseOutputrecord component.
W
- WINDOWS - Enum constant in enum class org.matwoess.jsourceprofiler.common.OS
-
The Windows operating system.
- WINDOWS_CMD - Enum constant in enum class org.matwoess.jsourceprofiler.fxui.model.Terminal
-
The Windows Command Prompt.
- WINDOWS_POWERSHELL - Enum constant in enum class org.matwoess.jsourceprofiler.fxui.model.Terminal
-
The Windows PowerShell.
- wrapWithTerminalCommand(String, Path) - Method in enum class org.matwoess.jsourceprofiler.fxui.model.Terminal
-
Wraps the given
cmdStringinto an OS and terminal dependent command line. - 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
-
A switch expression yield statement.
_
- __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
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form