Class AnnotationMockMetadata

java.lang.Object
org.powermock.api.extension.listener.AnnotationMockMetadata

public class AnnotationMockMetadata extends Object
  • Field Details

    • type

      private final Class<?> type
    • methods

      private final Method[] methods
    • qualifier

      private final String qualifier
    • annotation

      private final Class<? extends Annotation> annotation
    • annotationInstance

      private final Annotation annotationInstance
    • mock

      private Object mock
  • Constructor Details

  • Method Details

    • findQualifier

      private String findQualifier()
    • getQualifier

      public String getQualifier()
    • getAnnotation

      public Class<? extends Annotation> getAnnotation()
    • getType

      public Class<?> getType()
    • getMethods

      public Method[] getMethods()
    • getMethod

      private Method[] getMethod() throws Exception
      Throws:
      Exception
    • getMock

      public Object getMock()
    • setMock

      public void setMock(Object mock)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object