public static class DynConstructors.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder() |
Builder(java.lang.Class<?> baseClass) |
Modifier and Type | Method and Description |
---|---|
<C> DynConstructors.Ctor<C> |
build() |
<C> DynConstructors.Ctor<C> |
buildChecked() |
DynConstructors.Builder |
hiddenImpl(java.lang.Class<?>... types) |
<T> DynConstructors.Builder |
hiddenImpl(java.lang.Class<T> targetClass,
java.lang.Class<?>... types) |
DynConstructors.Builder |
hiddenImpl(java.lang.String className,
java.lang.Class<?>... types) |
<T> DynConstructors.Builder |
impl(java.lang.Class<T> targetClass,
java.lang.Class<?>... types) |
DynConstructors.Builder |
impl(java.lang.String className,
java.lang.Class<?>... types) |
DynConstructors.Builder |
loader(java.lang.ClassLoader newLoader)
Set the
ClassLoader used to lookup classes by name. |
public DynConstructors.Builder loader(java.lang.ClassLoader newLoader)
ClassLoader
used to lookup classes by name.
If not set, the current thread's ClassLoader is used.
newLoader
- a ClassLoaderpublic DynConstructors.Builder impl(java.lang.String className, java.lang.Class<?>... types)
public <T> DynConstructors.Builder impl(java.lang.Class<T> targetClass, java.lang.Class<?>... types)
public DynConstructors.Builder hiddenImpl(java.lang.Class<?>... types)
public DynConstructors.Builder hiddenImpl(java.lang.String className, java.lang.Class<?>... types)
public <T> DynConstructors.Builder hiddenImpl(java.lang.Class<T> targetClass, java.lang.Class<?>... types)
public <C> DynConstructors.Ctor<C> buildChecked() throws java.lang.NoSuchMethodException
java.lang.NoSuchMethodException
public <C> DynConstructors.Ctor<C> build()