Annotation Type GremlinDsl.AnonymousMethod


  • @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
      String[] methodTypeParameters
      The type parameters to apply to the method in the order that they are specified.
      String[] returnTypeParameters
      The type parameters to apply to the return type of the method applied in the order that they are specified.
    • Element Detail

      • 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:
        {}