Skip navigation links
A B C D E F G H I J K L M N O P R S T U V W 

A

AbstractTask - Class in com.chrisney.enigma.tasks
 
AbstractTask() - Constructor for class com.chrisney.enigma.tasks.AbstractTask
 
addAttribute(String) - Method in class com.chrisney.enigma.parser.JavaCode
Add an attribute in the class
addAttribute(String, String) - Method in class com.chrisney.enigma.parser.JavaCode
 
addCode() - Method in class com.chrisney.enigma.tasks.InjectCodeTask
 
addFunction(String) - Method in class com.chrisney.enigma.parser.JavaCode
Add a function into the class
addFunction(String, String) - Method in class com.chrisney.enigma.parser.JavaCode
 
addImport(String) - Method in class com.chrisney.enigma.parser.JavaCode
Add a package name import.
AESUtils - Class in com.chrisney.enigma.utils
 
AESUtils() - Constructor for class com.chrisney.enigma.utils.AESUtils
 

B

backup() - Method in class com.chrisney.enigma.tasks.BackupTask
 
backupDir() - Method in class com.chrisney.enigma.tasks.AbstractTask
Return the file path of 'backup' directory of the current project
backupDirExists() - Method in class com.chrisney.enigma.tasks.AbstractTask
Check if 'backup' directory exists or not
BackupTask - Class in com.chrisney.enigma.tasks
 
BackupTask() - Constructor for class com.chrisney.enigma.tasks.BackupTask
 

C

checkSCM() - Method in class com.chrisney.enigma.tasks.AbstractTask
Check if an SCM (Source Code Management) tool is setup or not not.
CLASS_NAME - Static variable in class com.chrisney.enigma.tasks.InjectCodeTask
 
classes - Variable in class com.chrisney.enigma.tasks.EnigmaTask
 
cleanBackup() - Method in class com.chrisney.enigma.tasks.CleanBackupTask
 
CleanBackupTask - Class in com.chrisney.enigma.tasks
 
CleanBackupTask() - Constructor for class com.chrisney.enigma.tasks.CleanBackupTask
 
code - Variable in class com.chrisney.enigma.parser.CodeBlock
Source code
CodeBlock - Class in com.chrisney.enigma.parser
 
CodeBlock() - Constructor for class com.chrisney.enigma.parser.CodeBlock
 
CodeBlock.BlockType - Enum in com.chrisney.enigma.parser
 
CodeBlock.Modifier - Enum in com.chrisney.enigma.parser
 
CodeParser - Class in com.chrisney.enigma.utils
 
CodeParser(boolean) - Constructor for class com.chrisney.enigma.utils.CodeParser
 
CodeString - Class in com.chrisney.enigma.parser
 
CodeString(int) - Constructor for class com.chrisney.enigma.parser.CodeString
Constructor
com.chrisney.enigma.parser - package com.chrisney.enigma.parser
 
com.chrisney.enigma.tasks - package com.chrisney.enigma.tasks
 
com.chrisney.enigma.utils - package com.chrisney.enigma.utils
 
createBackupDir() - Method in class com.chrisney.enigma.tasks.AbstractTask
Create the 'backup' directory (with .gitignore config file)
customEncryptionTask - Variable in class com.chrisney.enigma.tasks.EnigmaTask
 
customFunction - Variable in class com.chrisney.enigma.tasks.EnigmaTask
 
customFunction - Variable in class com.chrisney.enigma.tasks.InjectCodeTask
 
customFunctionName - Variable in class com.chrisney.enigma.utils.CodeParser
 

D

debug - Variable in class com.chrisney.enigma.tasks.AbstractTask
 
decrypt(String, String) - Static method in class com.chrisney.enigma.utils.AESUtils
 

E

enabled - Variable in class com.chrisney.enigma.tasks.AbstractTask
 
encode(String, String, boolean) - Method in class com.chrisney.enigma.utils.CodeParser
 
encrypt() - Method in class com.chrisney.enigma.tasks.EnigmaTask
 
encrypt(String, String) - Static method in class com.chrisney.enigma.utils.AESUtils
 
encryptStrings(String, String) - Method in class com.chrisney.enigma.parser.JavaCode
 
encryptTask - Variable in class com.chrisney.enigma.utils.CodeParser
 
end - Variable in class com.chrisney.enigma.parser.CodeBlock
Indicate the end position of block in the source code
end - Variable in class com.chrisney.enigma.parser.CodeString
Word end position
EnigmaTask - Class in com.chrisney.enigma.tasks
 
EnigmaTask() - Constructor for class com.chrisney.enigma.tasks.EnigmaTask
 

F

FUNCTION_NAME - Static variable in class com.chrisney.enigma.tasks.InjectCodeTask
 
functionName - Static variable in class com.chrisney.enigma.utils.CodeParser
 

G

getAllBlocks() - Method in class com.chrisney.enigma.parser.JavaCode
Return all code blocks
getAllJavaFiles() - Method in class com.chrisney.enigma.tasks.AbstractTask
Return the collection of all JAVA files (*.java) found in the app source folder
getAllXmlFiles() - Method in class com.chrisney.enigma.tasks.AbstractTask
Return the collection of all XML files (*.xml) found in the app source folder
getBlocksByType(CodeBlock.BlockType) - Method in class com.chrisney.enigma.parser.JavaCode
Return code blocks from type
getClasses() - Method in class com.chrisney.enigma.parser.JavaCode
Return classes of JAVA file
getEnd() - Method in class com.chrisney.enigma.parser.CodeBlock
 
getFileResource(String) - Static method in class com.chrisney.enigma.utils.Utils
Return the file path of a resource
getFunctions() - Method in class com.chrisney.enigma.parser.JavaCode
Return functions of JAVA file
getImports() - Method in class com.chrisney.enigma.parser.JavaCode
Return Imports of JAVA file
getRandomNumberInRange(int, int) - Static method in class com.chrisney.enigma.utils.Utils
Generate a random number between a range
getRandomString(int, String) - Static method in class com.chrisney.enigma.utils.TextUtils
 
getStart() - Method in class com.chrisney.enigma.parser.CodeBlock
 
getStringValues() - Method in class com.chrisney.enigma.parser.JavaCode
All String values

H

hash - Variable in class com.chrisney.enigma.tasks.EnigmaTask
 
hash - Variable in class com.chrisney.enigma.tasks.InjectCodeTask
 
hasParent - Variable in class com.chrisney.enigma.parser.CodeBlock
Indicate if the code block is nested or not.

I

ignoredClasses - Variable in class com.chrisney.enigma.tasks.EnigmaTask
 
importString - Static variable in class com.chrisney.enigma.utils.CodeParser
 
inCharactersList(char[], char) - Static method in class com.chrisney.enigma.utils.TextUtils
 
InjectCodeTask - Class in com.chrisney.enigma.tasks
 
InjectCodeTask() - Constructor for class com.chrisney.enigma.tasks.InjectCodeTask
 
injectFakeKeys() - Method in class com.chrisney.enigma.parser.JavaCode
Inject fake code: fake attribute
injectFakeKeys - Variable in class com.chrisney.enigma.tasks.EnigmaTask
 
insertInArray(ArrayList, int, Object) - Static method in class com.chrisney.enigma.utils.Utils
Insert an Object into an ArrayList at an specific index (without erase the existing one)
isEmpty(String) - Static method in class com.chrisney.enigma.utils.TextUtils
 
isEmptyChar(Character) - Static method in class com.chrisney.enigma.utils.TextUtils
 
isEnigmaFile(File) - Method in class com.chrisney.enigma.tasks.AbstractTask
Check if file if Enigma file
isEnigmatized(File) - Method in class com.chrisney.enigma.tasks.AbstractTask
Check if the JAVA file contains Enigma code
isInstruction - Variable in class com.chrisney.enigma.parser.CodeString
Indicate if word is a JAVA keyword (instruction)
isReturnChar(Character) - Static method in class com.chrisney.enigma.utils.TextUtils
 
isType - Variable in class com.chrisney.enigma.parser.CodeString
Indicate if word is a JAVA native Type

J

JavaCode - Class in com.chrisney.enigma.parser
Map a Java file
JavaCode(ArrayList<CodeBlock>, ArrayList<CodeString>, String) - Constructor for class com.chrisney.enigma.parser.JavaCode
Constructor
JavaParser - Class in com.chrisney.enigma.parser
 
JavaParser() - Constructor for class com.chrisney.enigma.parser.JavaParser
Constructor

K

KEY_CHARACTERS - Static variable in class com.chrisney.enigma.parser.JavaCode
 
keyToBytes(String) - Static method in class com.chrisney.enigma.utils.AESUtils
 

L

listFileTree(File, String) - Method in class com.chrisney.enigma.tasks.AbstractTask
Recursive algorithm to list all files in directory

M

MIN_KEY_SIZE - Static variable in class com.chrisney.enigma.utils.AESUtils
 
modifier - Variable in class com.chrisney.enigma.parser.CodeBlock
define modifier type (public, private, protected)

N

name - Variable in class com.chrisney.enigma.parser.CodeBlock
Black name for Class or function or Annotation

O

offset - Variable in class com.chrisney.enigma.parser.CodeBlock
Start/End offset

P

PACKAGE_NAME - Static variable in class com.chrisney.enigma.tasks.InjectCodeTask
 
PARAM_CHARACTERS - Static variable in class com.chrisney.enigma.parser.JavaCode
 
parse(String) - Method in class com.chrisney.enigma.parser.JavaParser
Parse JAVA File
pathSrc - Variable in class com.chrisney.enigma.tasks.AbstractTask
 

R

randomHashKey() - Static method in class com.chrisney.enigma.utils.Utils
Generate random hash key (32 characters)
removeBackupDir() - Method in class com.chrisney.enigma.tasks.AbstractTask
Remove the existing 'backup' directory
restore() - Method in class com.chrisney.enigma.tasks.RestoreTask
 
RestoreTask - Class in com.chrisney.enigma.tasks
 
RestoreTask() - Constructor for class com.chrisney.enigma.tasks.RestoreTask
 
returnType - Variable in class com.chrisney.enigma.parser.CodeBlock
Type name of the object returned by the function (optional)
rootProject - Variable in class com.chrisney.enigma.tasks.AbstractTask
 

S

SOURCE_CODE - Static variable in class com.chrisney.enigma.tasks.InjectCodeTask
 
start - Variable in class com.chrisney.enigma.parser.CodeBlock
Indicate the star position of block in the source code
start - Variable in class com.chrisney.enigma.parser.CodeString
Word start position
subBlocks - Variable in class com.chrisney.enigma.parser.CodeBlock
Sub blocks of code contains by the current block
subCode - Variable in class com.chrisney.enigma.parser.CodeBlock
Sub source code (nested by function, class...)

T

TextUtils - Class in com.chrisney.enigma.utils
 
TextUtils() - Constructor for class com.chrisney.enigma.utils.TextUtils
 
toArrayList(Object[]) - Static method in class com.chrisney.enigma.utils.Utils
Convert a simple array to an ArrayList
toByte(String) - Static method in class com.chrisney.enigma.utils.AESUtils
 
toCode() - Method in class com.chrisney.enigma.parser.CodeBlock
 
toCode(boolean) - Method in class com.chrisney.enigma.parser.CodeBlock
 
toCode() - Method in class com.chrisney.enigma.parser.JavaCode
Source code
toCode(boolean) - Method in class com.chrisney.enigma.parser.JavaCode
Source code formatted
toHex(byte[]) - Static method in class com.chrisney.enigma.utils.AESUtils
 
toString() - Method in class com.chrisney.enigma.parser.CodeBlock
 
toString() - Method in class com.chrisney.enigma.parser.CodeString
 
toString() - Method in class com.chrisney.enigma.parser.JavaCode
 
type - Variable in class com.chrisney.enigma.parser.CodeBlock
Define type of block

U

Utils - Class in com.chrisney.enigma.utils
Various helper functions
Utils() - Constructor for class com.chrisney.enigma.utils.Utils
 

V

value - Variable in class com.chrisney.enigma.parser.CodeString
Word value
valueOf(String) - Static method in enum com.chrisney.enigma.parser.CodeBlock.BlockType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.chrisney.enigma.parser.CodeBlock.Modifier
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.chrisney.enigma.parser.CodeBlock.BlockType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.chrisney.enigma.parser.CodeBlock.Modifier
Returns an array containing the constants of this enum type, in the order they are declared.

W

words - Variable in class com.chrisney.enigma.parser.CodeBlock
Source code of the block split in words (useful for processing)
wordsToString() - Method in class com.chrisney.enigma.parser.CodeBlock
 
A B C D E F G H I J K L M N O P R S T U V W 
Skip navigation links