Interface BaseAccessor<T extends Member>

Type Parameters:
T - the member which is wrapped by the accessor.
All Known Subinterfaces:
FieldAccessor, MethodAccessor<T>
All Known Implementing Classes:
BareAccessorFactory.BareConstructorAccessor, BareAccessorFactory.BareFieldAccessor, BareAccessorFactory.BareMethodAccessor, MethodHandleAccessorFactory.MethodHandleConstructorAccessor, MethodHandleAccessorFactory.MethodHandleFieldAccessor, MethodHandleAccessorFactory.MethodHandleMethodAccessor

public interface BaseAccessor<T extends Member>
Represents the base for all accessors created by this library. Each accessor is bound to the reflexion object which created it and holds a reference to the java.lang.reflect member which it wraps.
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the java.lang.reflect member which is wrapped by this accessor.
    @NotNull Reflexion
    Get the reflexion instance which created this accessor instance.
  • Method Details

    • getMember

      @NotNull T getMember()
      Get the java.lang.reflect member which is wrapped by this accessor.
      Returns:
      the wrapped member.
    • getReflexion

      @NotNull @NotNull Reflexion getReflexion()
      Get the reflexion instance which created this accessor instance.
      Returns:
      the reflexion instance which created this instance.