Class RoundContext

java.lang.Object
org.mapstruct.ap.internal.util.RoundContext

public class RoundContext extends Object
Keeps contextual data in the scope of one annotation processing round.
Author:
Gunnar Morling
  • Constructor Details

  • Method Details

    • getAnnotationProcessorContext

      public AnnotationProcessorContext getAnnotationProcessorContext()
    • addTypeReadyForProcessing

      public void addTypeReadyForProcessing(TypeMirror type)
      Marks the given type as being ready for further processing.
      Parameters:
      type - the type that is ready for further processing by MapStruct
    • isReadyForProcessing

      public boolean isReadyForProcessing(TypeMirror type)
      Whether the given type has been found to be ready for further processing or not. This is the case if the type's hierarchy is complete (no super-types need to be generated by other processors) and no processors have signaled the intention to amend the given type.
      Parameters:
      type - the typed to be checked for its readiness
      Returns:
      true when the type is ready to be processed by MapStruct
      See Also: