Annotation Interface GremlinDsl.AnonymousMethod

Enclosing class:
GremlinDsl

@Target(METHOD) @Retention(CLASS) public static @interface GremlinDsl.AnonymousMethod
Annotation that allows the user to directly override the type parameters on generated anonymous methods. If this annotation is not specified then the processor will attempt to infer the correct type parameters to use when generating the anonymous method representations of the DSL methods.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The type parameters to apply to the method in the order that they are specified.
    The type parameters to apply to the return type of the method applied in the order that they are specified.
  • Element Details

    • returnTypeParameters

      String[] returnTypeParameters
      The type parameters to apply to the return type of the method applied in the order that they are specified.
      Default:
      {}
    • methodTypeParameters

      String[] methodTypeParameters
      The type parameters to apply to the method in the order that they are specified.
      Default:
      {}