T - The return type of the member to be invoked.public class MemberBSClass<T>
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private Bootstrap |
bootstrap |
private Callable<T> |
call |
private MethodSignature |
methodSignature |
| Constructor and Description |
|---|
MemberBSClass(Bootstrap bootstrap,
MethodSignature methodSignature) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
Callable<T> |
getCallable()
Returns an instance of the generated class.
|
private Callable<T> |
getInstance()
Gets the class to extend the Callable interface.
|
int |
hashCode() |
private final Bootstrap bootstrap
private final MethodSignature methodSignature
public MemberBSClass(Bootstrap bootstrap, MethodSignature methodSignature)
bootstrap - Bootstrap Contains the necessary data to invoke the bootstrap method.methodSignature - Contains the signature of the method to be dynamically invoked.public Callable<T> getCallable() throws java.lang.InstantiationException
java.lang.InstantiationException - If there is an error instantiating the class.private Callable<T> getInstance() throws java.lang.InstantiationException
java.lang.InstantiationException - If there is an error instantiating the class.public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object