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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
Super.ConstructorResolver.Default
A default constructor resolver that attempts to resolve a constructor with the given argument types.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MethodDescription.InDefinedShape
resolve(TypeDescription proxiedType, java.util.List<TypeDescription> constructorParameters)
Resolves the constructor to be used.
-
-
-
Method Detail
-
resolve
MethodDescription.InDefinedShape resolve(TypeDescription proxiedType, java.util.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.
-
-