Skip navigation links
C G I N O P S W 

C

com.dpforge.ocubator - package com.dpforge.ocubator
 
CompilationError - Class in com.dpforge.ocubator
Represents compilation error.
CompilationResult - Class in com.dpforge.ocubator
The result of compilation process
CompilationTask - Class in com.dpforge.ocubator
 
compile() - Static method in class com.dpforge.ocubator.OcubatorCompiler
Returns builder that creates compilation task
compileTask(CompilationTask) - Method in class com.dpforge.ocubator.OcubatorCompiler
 

G

GeneratedFile - Class in com.dpforge.ocubator
Represents a file generated by annotations processor
getContent() - Method in class com.dpforge.ocubator.GeneratedFile
Get content of this file
getErrors() - Method in class com.dpforge.ocubator.CompilationResult
List of errors occurred during compilation process
getGeneratedFile(String) - Method in class com.dpforge.ocubator.CompilationResult
Get specified source code file generated by annotation processor
getGeneratedFiles() - Method in class com.dpforge.ocubator.CompilationResult
List of all source code files generated by annotation processors
getLineNumber() - Method in class com.dpforge.ocubator.CompilationError
Line number on which compilation error has occurred
getMessage() - Method in class com.dpforge.ocubator.CompilationError
Error message provided by Java compiler
getPath() - Method in class com.dpforge.ocubator.GeneratedFile
Path to this file relative to project directory.

I

InstanceCreator - Class in com.dpforge.ocubator
Helper class for creating instances of generated class
InstanceCreator.ArgumentCreator - Interface in com.dpforge.ocubator
 
InstanceCreator.NoArgsCreator - Interface in com.dpforge.ocubator
 
isSuccess() - Method in class com.dpforge.ocubator.CompilationResult
true if compilation was successful, false otherwise

N

newInstanceOf(String) - Method in class com.dpforge.ocubator.CompilationResult
Begins the process of instantiating specified class which code was generated by annotations processor

O

OcubatorCompiler - Class in com.dpforge.ocubator
Entry point for testing source code compilation with annotation processors

P

please() - Method in class com.dpforge.ocubator.CompilationTask
Starts the compilation of this task
please(Object...) - Method in interface com.dpforge.ocubator.InstanceCreator.ArgumentCreator
 
please() - Method in interface com.dpforge.ocubator.InstanceCreator.NoArgsCreator
 

S

sourceCode(String) - Method in class com.dpforge.ocubator.CompilationTask
Adds source code to the compilation task
sourceCode(String...) - Method in class com.dpforge.ocubator.CompilationTask
Adds source code to the compilation task
sourcePath(File) - Method in class com.dpforge.ocubator.CompilationTask
Adds the source code path to search for class or interface definitions (-sourcepath options of javac)
sourcePath(String) - Method in class com.dpforge.ocubator.CompilationTask
Same as CompilationTask.sourcePath(File) but the path is specified as a string

W

withConstructor() - Method in class com.dpforge.ocubator.InstanceCreator
Creates new instance using default no-args constructor
withConstructor(Class<?>...) - Method in class com.dpforge.ocubator.InstanceCreator
Creates new instance using constructor with specified arguments types
withProcessor(Processor) - Method in class com.dpforge.ocubator.CompilationTask
Adds annotation processor to the processors list
withStaticMethod(String) - Method in class com.dpforge.ocubator.InstanceCreator
Creates new instance using static method of generated class without arguments
withStaticMethod(String, Class<?>...) - Method in class com.dpforge.ocubator.InstanceCreator
Creates new instance using static method of generated class with arguments
C G I N O P S W 
Skip navigation links