Interface IExecutableReferenceInfo


public interface IExecutableReferenceInfo
Represents information related to a specific native executable reference registered to ZenCode.

An executable reference is the general term to refer to both native methods and constructors as exposed to ZenCode.

Since:
9.1.0
  • Method Summary

    Modifier and Type
    Method
    Description
    <T extends Annotation>
    Optional<T>
    getAnnotation(Class<T> annotationClass)
    Attempts to grab information relative to the given annotation class, if available.
  • Method Details

    • getAnnotation

      <T extends Annotation> Optional<T> getAnnotation(Class<T> annotationClass)
      Attempts to grab information relative to the given annotation class, if available.
      Type Parameters:
      T - The type of the annotation to identify.
      Parameters:
      annotationClass - The class of the annotation that should be queried.
      Returns:
      A reference to the given annotation if possible, Optional.empty() otherwise.
      Since:
      9.1.0