Interface Super.ConstructorResolver

All Known Implementing Classes:
Super.ConstructorResolver.Default
Enclosing class:
Super

public static interface Super.ConstructorResolver
A constructor resolver is responsible to specify the constructor to be used for creating a proxy.
  • Method Details

    • resolve

      MethodDescription.InDefinedShape resolve(TypeDescription proxiedType, List<TypeDescription> constructorParameters)
      Resolves the constructor to be used.
      Parameters:
      proxiedType - The type being proxied.
      constructorParameters - The types being specified on the annotation.
      Returns:
      The constructor to invoke with default arguments for instantiation.