Package | Description |
---|---|
com.comphenix.protocol.reflect.instances |
Modifier and Type | Class and Description |
---|---|
class |
CollectionGenerator
Provides simple constructors for collection interfaces.
|
class |
PrimitiveGenerator
Provides constructors for primtive types, wrappers, arrays and strings.
|
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.ImmutableList<InstanceProvider> |
DefaultInstances.getRegistered()
Retrieves a immutable list of every default object providers that generates instances.
|
Modifier and Type | Method and Description |
---|---|
static DefaultInstances |
DefaultInstances.fromArray(InstanceProvider... instaceProviders)
Construct a default instance generator using the given instance providers.
|
Modifier and Type | Method and Description |
---|---|
<T> T |
DefaultInstances.getDefault(java.lang.Class<T> type,
java.util.List<InstanceProvider> providers)
Retrieves a default instance or value that is assignable to this type.
|
Constructor and Description |
---|
DefaultInstances(InstanceProvider... instaceProviders)
Construct a default instance generator using the given instance providers.
|
Constructor and Description |
---|
DefaultInstances(com.google.common.collect.ImmutableList<InstanceProvider> registered)
Construct a default instance generator using the given instance providers.
|