Class FoundOnImplementsValidator

java.lang.Object
org.robolectric.annotation.processing.validator.Validator
org.robolectric.annotation.processing.validator.FoundOnImplementsValidator
All Implemented Interfaces:
javax.lang.model.element.ElementVisitor<Void,​javax.lang.model.element.Element>
Direct Known Subclasses:
ImplementationValidator, RealObjectValidator, ResetterValidator

public abstract class FoundOnImplementsValidator
extends Validator
Validator that checks usages of Implements.
  • Field Details

    • imp

      protected javax.lang.model.element.AnnotationMirror imp
  • Constructor Details

  • Method Details

    • init

      public void init​(javax.lang.model.element.Element elem, javax.lang.model.element.Element p)
      Overrides:
      init in class Validator
    • visitVariable

      public final Void visitVariable​(javax.lang.model.element.VariableElement elem, javax.lang.model.element.Element parent)
      Specified by:
      visitVariable in interface javax.lang.model.element.ElementVisitor<Void,​javax.lang.model.element.Element>
      Overrides:
      visitVariable in class Validator
    • visitVariable

      public Void visitVariable​(javax.lang.model.element.VariableElement elem, javax.lang.model.element.TypeElement parent)
    • visitExecutable

      public final Void visitExecutable​(javax.lang.model.element.ExecutableElement elem, javax.lang.model.element.Element parent)
      Specified by:
      visitExecutable in interface javax.lang.model.element.ElementVisitor<Void,​javax.lang.model.element.Element>
      Overrides:
      visitExecutable in class Validator
    • visitExecutable

      public Void visitExecutable​(javax.lang.model.element.ExecutableElement elem, javax.lang.model.element.TypeElement parent)