Class Super.ConstructorResolver.Default
java.lang.Object
net.bytebuddy.implementation.bind.annotation.Super.ConstructorResolver.Default
- All Implemented Interfaces:
Super.ConstructorResolver
- Enclosing interface:
Super.ConstructorResolver
public static class Super.ConstructorResolver.Default
extends Object
implements Super.ConstructorResolver
A default constructor resolver that attempts to resolve a constructor with the given argument types.
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.bytebuddy.implementation.bind.annotation.Super.ConstructorResolver
Super.ConstructorResolver.Default
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionresolve
(TypeDescription proxiedType, List<TypeDescription> constructorParameters) Resolves the constructor to be used.
-
Constructor Details
-
Default
public Default()
-
-
Method Details
-
resolve
public MethodDescription.InDefinedShape resolve(TypeDescription proxiedType, List<TypeDescription> constructorParameters) Resolves the constructor to be used.- Specified by:
resolve
in interfaceSuper.ConstructorResolver
- Parameters:
proxiedType
- The type being proxied.constructorParameters
- The types being specified on the annotation.- Returns:
- The constructor to invoke with default arguments for instantiation.
-