Class ReflectDelegatesKt

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final static <T extends Any> LazyField<Object> lazyField(String fieldName) A lazy field delegate designed to improve the performance in field reflection.
      final static <T extends Any> LazyMethod<Object> lazyMethod(String methodName) A lazy method delegate designed to improve the performance in method reflection.
      final static <T extends Any> FieldAccessor<T> accessField(String fieldName) A delegate that provides efficient accessing of a field via reflection.
      final static <T extends Any> GetterAccessor<T> accessGetter(String methodName) A delegate that provides efficient accessing of a no-args getter via reflection.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • lazyField

         final static <T extends Any> LazyField<Object> lazyField(String fieldName)

        A lazy field delegate designed to improve the performance in field reflection.

        Parameters:
        fieldName - The name of the field.
      • lazyMethod

         final static <T extends Any> LazyMethod<Object> lazyMethod(String methodName)

        A lazy method delegate designed to improve the performance in method reflection.

        Parameters:
        methodName - The name of the method.
      • accessField

         final static <T extends Any> FieldAccessor<T> accessField(String fieldName)

        A delegate that provides efficient accessing of a field via reflection.

        Parameters:
        fieldName - The name of the field.
      • accessGetter

         final static <T extends Any> GetterAccessor<T> accessGetter(String methodName)

        A delegate that provides efficient accessing of a no-args getter via reflection.

        Parameters:
        methodName - The name of the getter.