Package io.micronaut.inject.visitor
Enum Class TypeElementVisitor.VisitorKind
java.lang.Object
java.lang.Enum<TypeElementVisitor.VisitorKind>
io.micronaut.inject.visitor.TypeElementVisitor.VisitorKind
- All Implemented Interfaces:
Serializable
,Comparable<TypeElementVisitor.VisitorKind>
,Constable
- Enclosing interface:
- TypeElementVisitor<C,
E>
Implementors of the
TypeElementVisitor
interface should specify what kind of visitor it is.
If the visitor looks at multiple Element
and builds a file that references
multiple Element
(meaning it doesn't have an originating element) then
AGGREGATING
should be used
If the visitor generates classes from an originating Element
then ISOLATING
should be used.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionA visitor that generates a one or more files in theTypeElementVisitor.finish(VisitorContext)
method computed from visiting multipleElement
instances.A visitor that generates a file for each visited element and calls. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static TypeElementVisitor.VisitorKind[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ISOLATING
A visitor that generates a file for each visited element and calls. -
AGGREGATING
A visitor that generates a one or more files in theTypeElementVisitor.finish(VisitorContext)
method computed from visiting multipleElement
instances.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-