de.holisticon.annotationprocessortoolkit.testhelper
Class AbstractAnnotationProcessorUnitTest
java.lang.Object
de.holisticon.annotationprocessortoolkit.testhelper.AbstractAnnotationProcessorTest<AnnotationProcessorUnitTestConfiguration>
de.holisticon.annotationprocessortoolkit.testhelper.AbstractAnnotationProcessorUnitTest
public abstract class AbstractAnnotationProcessorUnitTest
- extends AbstractAnnotationProcessorTest<AnnotationProcessorUnitTestConfiguration>
Abstract base class for testing annotation processor internal stuff where tools offered by ProcessEnvironment are needed.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractAnnotationProcessorUnitTest
public AbstractAnnotationProcessorUnitTest(AnnotationProcessorUnitTestConfiguration annotationProcessorTestConfiguration)
getSourceFileForCompilation
protected JavaFileObject getSourceFileForCompilation()
- Description copied from class:
AbstractAnnotationProcessorTest
- Gets the
JavaFileObject to be compiled.
- Specified by:
getSourceFileForCompilation in class AbstractAnnotationProcessorTest<AnnotationProcessorUnitTestConfiguration>
- Returns:
- the code to be compiled
getAnnotationProcessor
protected Processor getAnnotationProcessor()
- Description copied from class:
AbstractAnnotationProcessorTest
- Gets the annotation processor to used for testing.
- Specified by:
getAnnotationProcessor in class AbstractAnnotationProcessorTest<AnnotationProcessorUnitTestConfiguration>
- Returns:
- the annotation processor to use for testing
Copyright © 2017 Holisticon AG. All Rights Reserved.