Class MixinInfo
- java.lang.Object
-
- picocli.codegen.annotation.processing.MixinInfo
-
class MixinInfo extends java.lang.Object
Holds information on the `@Mixin`-annotated program element.
-
-
Field Summary
Fields Modifier and Type Field Description private CommandLine.Model.IAnnotatedElement
annotatedElement
private javax.lang.model.element.VariableElement
element
private CommandLine.Model.CommandSpec
mixin
private java.lang.String
mixinName
-
Constructor Summary
Constructors Constructor Description MixinInfo(javax.lang.model.element.VariableElement element, CommandLine.Model.CommandSpec mixin)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CommandLine.Model.IAnnotatedElement
annotatedElement()
javax.lang.model.element.Element
enclosingElement()
boolean
equals(java.lang.Object object)
int
hashCode()
CommandLine.Model.CommandSpec
mixin()
java.lang.String
mixinName()
-
-
-
Field Detail
-
mixinName
private final java.lang.String mixinName
-
annotatedElement
private final CommandLine.Model.IAnnotatedElement annotatedElement
-
element
private final javax.lang.model.element.VariableElement element
-
mixin
private final CommandLine.Model.CommandSpec mixin
-
-
Constructor Detail
-
MixinInfo
public MixinInfo(javax.lang.model.element.VariableElement element, CommandLine.Model.CommandSpec mixin)
-
-
Method Detail
-
enclosingElement
public javax.lang.model.element.Element enclosingElement()
-
mixinName
public java.lang.String mixinName()
-
mixin
public CommandLine.Model.CommandSpec mixin()
-
annotatedElement
public CommandLine.Model.IAnnotatedElement annotatedElement()
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object object)
- Overrides:
equals
in classjava.lang.Object
-
-