Class ExtensionMethod

java.lang.Object
com.djrapitops.plan.extension.extractor.ExtensionMethod

public class ExtensionMethod extends Object
Implementation detail, abstracts away some method reflection to a more usable API.
  • Constructor Details

  • Method Details

    • isInaccessible

      public boolean isInaccessible()
    • getAnnotation

      public <T extends Annotation> Optional<T> getAnnotation(Class<T> ofType)
    • getExistingAnnotation

      public <T extends Annotation> T getExistingAnnotation(Class<T> ofType)
    • getAnnotationOrNull

      public <T extends Annotation> T getAnnotationOrNull(Class<T> ofType)
    • getParameterType

      public ExtensionMethod.ParameterType getParameterType()
    • getReturnType

      public Class<?> getReturnType()
    • getMethod

      public Method getMethod()
    • getMethodName

      public String getMethodName()
    • makeAccessible

      public void makeAccessible()
      Throws:
      SecurityException - If access modification fails.
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object