Skip navigation links
A B C D E F G I L P R S V 

A

AbstractClassModificationProcessor - Class in com.github.randomcodeorg.ppplugin.ppdefaults
A processor that iterates over all compiled classes.
AbstractClassModificationProcessor() - Constructor for class com.github.randomcodeorg.ppplugin.ppdefaults.AbstractClassModificationProcessor
Creates a new instance of AbstractClassModificationProcessor.
AbstractLoggingProcessor - Class in com.github.randomcodeorg.ppplugin.ppdefaults.logging
A processor that can be inherited to insert logging calls.
AbstractLoggingProcessor() - Constructor for class com.github.randomcodeorg.ppplugin.ppdefaults.logging.AbstractLoggingProcessor
Creates a new instance of AbstractLoggingProcessor.

B

ByteCodeHelper - Class in com.github.randomcodeorg.ppplugin.ppdefaults
A helper class to simplify the modification of generated class files.
ByteCodeHelper(PContext) - Constructor for class com.github.randomcodeorg.ppplugin.ppdefaults.ByteCodeHelper
Creates a new ByteCodeHelper using the given context.

C

com.github.randomcodeorg.ppplugin.ppdefaults - package com.github.randomcodeorg.ppplugin.ppdefaults
 
com.github.randomcodeorg.ppplugin.ppdefaults.logging - package com.github.randomcodeorg.ppplugin.ppdefaults.logging
 
commit(boolean) - Method in class com.github.randomcodeorg.ppplugin.ppdefaults.ByteCodeHelper
Compiles the changes and applies them to the corresponding .class-files.
commit() - Method in class com.github.randomcodeorg.ppplugin.ppdefaults.ByteCodeHelper
The same as ByteCodeHelper#commit(true).
context - Variable in class com.github.randomcodeorg.ppplugin.ppdefaults.AbstractClassModificationProcessor
The context of this processor.

D

doInsertCatchLog(Class<?>, Handler, CtBehavior, CtField) - Method in class com.github.randomcodeorg.ppplugin.ppdefaults.logging.InsertCaughtExceptionLogProcessor
Inserts the log call into the given catch-block.
doRun() - Method in class com.github.randomcodeorg.ppplugin.ppdefaults.AbstractClassModificationProcessor
Iterates over all compiled classes and calls processClass(ByteCodeHelper, CtClass, Class).

E

edit(CtClass, Class<?>) - Method in class com.github.randomcodeorg.ppplugin.ppdefaults.ByteCodeHelper
Marks the given class as edited.

F

findMethod(CtClass, Method) - Static method in class com.github.randomcodeorg.ppplugin.ppdefaults.ByteCodeHelper
Finds the Method corresponding to the given javassist CtMethod.

G

getClassPool() - Method in class com.github.randomcodeorg.ppplugin.ppdefaults.ByteCodeHelper
Returns the javassist ClassPool used by this instance.
getExceptionLogLevel(Class<?>) - Method in class com.github.randomcodeorg.ppplugin.ppdefaults.logging.InsertCaughtExceptionLogProcessor
Returns the LogLevel for caught exceptions (default is LogLevel.WARNING).
getLevelMethodName() - Method in enum com.github.randomcodeorg.ppplugin.ppdefaults.logging.LogLevel
 
getLoggerFieldPrefix() - Method in class com.github.randomcodeorg.ppplugin.ppdefaults.logging.AbstractLoggingProcessor
Returns the prefix of the field that will be created to hold the logger.
getLoggerInitialization(CtClass) - Method in class com.github.randomcodeorg.ppplugin.ppdefaults.logging.AbstractLoggingProcessor
Returns the initial value of the logger.
getLoggerMessageString(CtMethod, Method, LogThis, String[], CtField) - Method in class com.github.randomcodeorg.ppplugin.ppdefaults.logging.InsertMethodCallLogProcessor
 
getLoggerType() - Method in class com.github.randomcodeorg.ppplugin.ppdefaults.logging.AbstractLoggingProcessor
Returns the canonical name of the loggers class.
getLogMethodName(LogLevel) - Method in class com.github.randomcodeorg.ppplugin.ppdefaults.logging.AbstractLoggingProcessor
Returns the name of the loggers log method.
getMethodVariableNames(CtMethod, Method) - Method in class com.github.randomcodeorg.ppplugin.ppdefaults.logging.InsertMethodCallLogProcessor
 
getOrCreateField(CtClass, String, String, String, boolean, boolean, String) - Method in class com.github.randomcodeorg.ppplugin.ppdefaults.ByteCodeHelper
Returns a existing field or creates one.

I

init(PContext) - Method in class com.github.randomcodeorg.ppplugin.ppdefaults.AbstractClassModificationProcessor
 
init(PContext) - Method in class com.github.randomcodeorg.ppplugin.ppdefaults.logging.PostBuildProcessor
 
injectLogger(ByteCodeHelper, CtClass) - Method in class com.github.randomcodeorg.ppplugin.ppdefaults.logging.AbstractLoggingProcessor
Creates the field that holds the logger for the given class.
InsertCaughtExceptionLogProcessor - Class in com.github.randomcodeorg.ppplugin.ppdefaults.logging
A processor that inserts log calls for every caught exception.
InsertCaughtExceptionLogProcessor() - Constructor for class com.github.randomcodeorg.ppplugin.ppdefaults.logging.InsertCaughtExceptionLogProcessor
 
InsertMethodCallLogProcessor - Class in com.github.randomcodeorg.ppplugin.ppdefaults.logging
 
InsertMethodCallLogProcessor() - Constructor for class com.github.randomcodeorg.ppplugin.ppdefaults.logging.InsertMethodCallLogProcessor
 

L

LogLevel - Enum in com.github.randomcodeorg.ppplugin.ppdefaults.logging
 
LogThis - Annotation Type in com.github.randomcodeorg.ppplugin.ppdefaults.logging
If a method is annotated with this annotation a call to it, will be logged.

P

PostBuildProcessor - Class in com.github.randomcodeorg.ppplugin.ppdefaults.logging
 
PostBuildProcessor() - Constructor for class com.github.randomcodeorg.ppplugin.ppdefaults.logging.PostBuildProcessor
 
processClass(ByteCodeHelper, CtClass, Class<?>) - Method in class com.github.randomcodeorg.ppplugin.ppdefaults.AbstractClassModificationProcessor
Processes the given class.
processClass(ByteCodeHelper, CtClass, Class<?>) - Method in class com.github.randomcodeorg.ppplugin.ppdefaults.logging.InsertCaughtExceptionLogProcessor
 
processClass(ByteCodeHelper, CtClass, Class<?>) - Method in class com.github.randomcodeorg.ppplugin.ppdefaults.logging.InsertMethodCallLogProcessor
 
processMethod(ByteCodeHelper, CtClass, Class<?>, CtMethod, Method, LogThis) - Method in class com.github.randomcodeorg.ppplugin.ppdefaults.logging.InsertMethodCallLogProcessor
 

R

releaseResources() - Method in class com.github.randomcodeorg.ppplugin.ppdefaults.ByteCodeHelper
Releases the resources of created by this instance.
run(PContext) - Method in class com.github.randomcodeorg.ppplugin.ppdefaults.AbstractClassModificationProcessor
 
run(PContext) - Method in class com.github.randomcodeorg.ppplugin.ppdefaults.logging.PostBuildProcessor
 

S

Stealth - Annotation Type in com.github.randomcodeorg.ppplugin.ppdefaults.logging
An annotation that will exclude annotated parameters, fields and methods from the log.

V

valueOf(String) - Static method in enum com.github.randomcodeorg.ppplugin.ppdefaults.logging.LogLevel
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.github.randomcodeorg.ppplugin.ppdefaults.logging.LogLevel
Returns an array containing the constants of this enum type, in the order they are declared.
A B C D E F G I L P R S V 
Skip navigation links

Copyright © 2015. All Rights Reserved.