Class AnnotationMockScanner


  • class AnnotationMockScanner
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.Class<? extends java.lang.annotation.Annotation> annotation  
    • Constructor Summary

      Constructors 
      Constructor Description
      AnnotationMockScanner​(java.lang.Class<? extends java.lang.annotation.Annotation> annotation)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private java.util.Set<java.lang.reflect.Field> getFields​(java.lang.Object instance)  
      java.util.List<AnnotationMockMetadata> scan​(java.lang.Object instance)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • annotation

        private final java.lang.Class<? extends java.lang.annotation.Annotation> annotation
    • Constructor Detail

      • AnnotationMockScanner

        public AnnotationMockScanner​(java.lang.Class<? extends java.lang.annotation.Annotation> annotation)
    • Method Detail

      • scan

        public java.util.List<AnnotationMockMetadata> scan​(java.lang.Object instance)
                                                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getFields

        private java.util.Set<java.lang.reflect.Field> getFields​(java.lang.Object instance)