Record Class MavenCompilerPluginAnnotationProcessors

java.lang.Object
java.lang.Record
io.micronaut.projectgen.core.buildtools.maven.MavenCompilerPluginAnnotationProcessors

public record MavenCompilerPluginAnnotationProcessors(MavenCombineAttribute combineAttribute, List<DependencyCoordinate> annotationProcessors, MavenCombineAttribute testCombineAttribute, List<DependencyCoordinate> testAnnotationProcessors) extends Record
  • Constructor Details

    • MavenCompilerPluginAnnotationProcessors

      public MavenCompilerPluginAnnotationProcessors(MavenCombineAttribute combineAttribute, List<DependencyCoordinate> annotationProcessors, MavenCombineAttribute testCombineAttribute, List<DependencyCoordinate> testAnnotationProcessors)
      Creates an instance of a MavenCompilerPluginAnnotationProcessors record class.
      Parameters:
      combineAttribute - the value for the combineAttribute record component
      annotationProcessors - the value for the annotationProcessors record component
      testCombineAttribute - the value for the testCombineAttribute record component
      testAnnotationProcessors - the value for the testAnnotationProcessors record component
  • Method Details

    • of

      public static MavenCompilerPluginAnnotationProcessors of(ModuleContext module, Language language)
    • mavenCombineAttribute

      public static MavenCombineAttribute mavenCombineAttribute(Language language)
    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • combineAttribute

      public MavenCombineAttribute combineAttribute()
      Returns the value of the combineAttribute record component.
      Returns:
      the value of the combineAttribute record component
    • annotationProcessors

      public List<DependencyCoordinate> annotationProcessors()
      Returns the value of the annotationProcessors record component.
      Returns:
      the value of the annotationProcessors record component
    • testCombineAttribute

      public MavenCombineAttribute testCombineAttribute()
      Returns the value of the testCombineAttribute record component.
      Returns:
      the value of the testCombineAttribute record component
    • testAnnotationProcessors

      public List<DependencyCoordinate> testAnnotationProcessors()
      Returns the value of the testAnnotationProcessors record component.
      Returns:
      the value of the testAnnotationProcessors record component