Class JavacCompilersProvider
java.lang.Object
io.github.ascopes.jct.junit.AbstractCompilersProvider
io.github.ascopes.jct.junit.JavacCompilersProvider
- All Implemented Interfaces:
Consumer<JavacCompilerTest>, ArgumentsProvider, AnnotationConsumer<JavacCompilerTest>
public final class JavacCompilersProvider
extends AbstractCompilersProvider
implements AnnotationConsumer<JavacCompilerTest>
Argument provider for the
JavacCompilerTest annotation.- Since:
- 0.0.1
- Author:
- Ashley Scopes
-
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(JavacCompilerTest annotation) protected JctCompilerInitialise a new compiler.protected intGet the maximum supported compiler version.protected intGet the minimum supported compiler version.Methods inherited from class AbstractCompilersProvider
configure, provideArguments, provideArgumentsMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ArgumentsProvider
provideArguments
-
Method Details
-
initializeNewCompiler
Description copied from class:AbstractCompilersProviderInitialise a new compiler.- Specified by:
initializeNewCompilerin classAbstractCompilersProvider- Returns:
- the compiler object.
-
minSupportedVersion
Description copied from class:AbstractCompilersProviderGet the minimum supported compiler version.- Specified by:
minSupportedVersionin classAbstractCompilersProvider- Returns:
- the minimum supported compiler version.
-
maxSupportedVersion
Description copied from class:AbstractCompilersProviderGet the maximum supported compiler version.- Specified by:
maxSupportedVersionin classAbstractCompilersProvider- Returns:
- the minimum supported compiler version.
-
accept
- Specified by:
acceptin interfaceConsumer<JavacCompilerTest>
-