Package com.karuslabs.elementary.junit
Class Tools
java.lang.Object
com.karuslabs.elementary.junit.Tools
Utilities from which an annotation processing environment can be accessed
when used in conjunction with
ToolsExtension. All methods throw an
IllegalStateException when called outside a test class extended with
ToolsExtension.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Elementselements()Returns anElements.static Filerfiler()Returns aFiler.static Labelslabels()Returns aLabels.static Loggerlogger()Returns aLogger.static Messagermessager()Returns aMessager.static RoundEnvironmentround()Returns aRoundEnvironment.static Treestrees()Returns aTrees.static TypeMirrorsReturns aTypeMirrors.static Typestypes()Returns aTypes.
-
Constructor Details
-
Tools
public Tools()
-
-
Method Details
-
labels
Returns aLabels.- Returns:
- a
Labels
-
round
Returns aRoundEnvironment.- Returns:
- a
RoundEnvironment
-
elements
Returns anElements.- Returns:
- an
Elements
-
types
Returns aTypes.- Returns:
- a
Types
-
trees
Returns aTrees.- Returns:
- a
Trees
-
messager
Returns aMessager.- Returns:
- a
Messager
-
filer
Returns aFiler.- Returns:
- a
Filer
-
typeMirrors
Returns aTypeMirrors.- Returns:
- a
TypeMirrors
-
logger
Returns aLogger.- Returns:
- a
Logger
-