Index

A B C D G I J L M N O P R S T U V W 
All Classes and Interfaces|All Packages

A

addArgs(String...) - Method in class org.matwoess.jsourceprofiler.common.JavaCommandBuilder
Registers additional arguments for the executed program.
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.

B

build() - Method in class org.matwoess.jsourceprofiler.common.JavaCommandBuilder
Returns an array of strings that can be joined to a valid java command line.
build() - Method in class org.matwoess.jsourceprofiler.common.JCompilerCommandBuilder
Returns aan array of strings that can be joined to a valid javac command line.

C

clearDirectoryContents(Path) - Static method in class org.matwoess.jsourceprofiler.common.IO
Deletes all files inside a 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.
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.
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.

D

DEFAULT - Enum constant in enum class org.matwoess.jsourceprofiler.common.RunMode
 

G

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.
getClassesDir() - Static method in class org.matwoess.jsourceprofiler.common.IO
Returns the classes directory relative to the IO.outputDir.
getCountsPath() - Static method in class org.matwoess.jsourceprofiler.common.IO
Returns the path to the resulting counts file.
getInstrumentDir() - Static method in class org.matwoess.jsourceprofiler.common.IO
Returns the instrumented directory relative to the IO.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.
getMetadataPath() - Static method in class org.matwoess.jsourceprofiler.common.IO
Returns the path to the parsed project's metadata file.
getOS() - Static method in enum class org.matwoess.jsourceprofiler.common.OS
Use the system property os.name to determine the current operating system.
getOutputDir() - Static method in class org.matwoess.jsourceprofiler.common.IO
 
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.
getUIParametersPath() - Static method in class org.matwoess.jsourceprofiler.common.IO
Returns where the configured FxUI parameters are persisted to inside the output directory.
getUserHomeDir() - Static method in class org.matwoess.jsourceprofiler.common.IO
Returns the home directory of the current user.

I

INSTRUMENT_ONLY - Enum constant in enum class org.matwoess.jsourceprofiler.common.RunMode
 
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
 
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).

J

JavaCommandBuilder - Class in org.matwoess.jsourceprofiler.common
Builder class for a java command line with arguments.
JavaCommandBuilder() - Constructor for class org.matwoess.jsourceprofiler.common.JavaCommandBuilder
 
JCompilerCommandBuilder - Class in org.matwoess.jsourceprofiler.common
Builder class for a javac command line with arguments.
JCompilerCommandBuilder() - Constructor for class org.matwoess.jsourceprofiler.common.JCompilerCommandBuilder
 

L

lastProjectPath() - Static method in class org.matwoess.jsourceprofiler.common.IO
Returns the path of the file for storing the previously opened project directory.
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
 

M

MAC - Enum constant in enum class org.matwoess.jsourceprofiler.common.OS
 

N

normalize(Path) - Static method in class org.matwoess.jsourceprofiler.common.IO
Converts a Path object to a string with all forward slashes as a separator.

O

org.matwoess.jsourceprofiler.common - module org.matwoess.jsourceprofiler.common
 
org.matwoess.jsourceprofiler.common - package org.matwoess.jsourceprofiler.common
 
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

pathSeparator() - Method in enum class org.matwoess.jsourceprofiler.common.OS
Returns the operating system's default class path separator character.
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.

R

REPORT_ONLY - Enum constant in enum class org.matwoess.jsourceprofiler.common.RunMode
 
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 - Enum Class in org.matwoess.jsourceprofiler.common
The possible run modes of the tool.

S

setClassPath(Path) - Method in class org.matwoess.jsourceprofiler.common.JavaCommandBuilder
Register the class path that will be passed to the java command with the -cp argument.
setClassPath(Path) - Method in class org.matwoess.jsourceprofiler.common.JCompilerCommandBuilder
Define the class path directory for the final javac command.
setDirectory(Path) - Method in class org.matwoess.jsourceprofiler.common.JCompilerCommandBuilder
Define the output directory for the javac command, specified by the -d option.
setMainClass(String) - Method in class org.matwoess.jsourceprofiler.common.JavaCommandBuilder
Register the main class name, later added as the first argument after options.
SOLARIS - Enum constant in enum class org.matwoess.jsourceprofiler.common.OS
 

T

toString() - Method in enum class org.matwoess.jsourceprofiler.common.RunMode
Returns a description for the run mode.

U

Util - Class in org.matwoess.jsourceprofiler.common
Provides utility methods for all modules to use.
Util() - Constructor for class org.matwoess.jsourceprofiler.common.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.
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.

W

WINDOWS - Enum constant in enum class org.matwoess.jsourceprofiler.common.OS
 
A B C D G I J L M N O P R S T U V W 
All Classes and Interfaces|All Packages