public abstract class AbstractCachedConstructor<T> extends Object implements CachedConstructor<T>
| Modifier and Type | Field and Description |
|---|---|
protected Constructor<T> |
c |
| Constructor and Description |
|---|
AbstractCachedConstructor(Constructor<T> c) |
| Modifier and Type | Method and Description |
|---|---|
T |
newInstance(Object[] args,
NSession session) |
protected abstract T |
newInstanceUnsafe(Object[] args,
NSession session) |
protected Constructor<T> c
public AbstractCachedConstructor(Constructor<T> c)
protected abstract T newInstanceUnsafe(Object[] args, NSession session) throws ReflectiveOperationException
ReflectiveOperationExceptionpublic T newInstance(Object[] args, NSession session)
newInstance in interface CachedConstructor<T>Copyright © 2025 vpc open source initiative. All rights reserved.