public final class ConstructorProxy extends Object implements Serializable
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
hashCode() |
static ConstructorProxy |
of(Constructor constructor)
Construct a proxy for a constructor.
|
Constructor |
resolve()
Resolve this proxy into a
Constructor instance. |
String |
toString() |
public Constructor resolve() throws ClassNotFoundException, NoSuchMethodException
Constructor
instance.Constructor
represented by this proxy.ClassNotFoundException
- If the proxy's declaring type cannot be resolved.NoSuchMethodException
- If the constructor does not exist on the declaring type.public static ConstructorProxy of(Constructor constructor)
constructor
- The constructor to proxy.constructor
.Copyright © 2016 GroupLens Research. All rights reserved.