| Package | Description | 
|---|---|
| com.comphenix.protocol.reflect.cloning | |
| com.comphenix.protocol.reflect.instances | 
| Modifier and Type | Field and Description | 
|---|---|
| protected InstanceProvider | FieldCloner. instanceProvider | 
| Modifier and Type | Method and Description | 
|---|---|
| InstanceProvider | AggregateCloner.BuilderParameters. getInstanceProvider()Retrieve the instance provider last set in the builder. | 
| InstanceProvider | FieldCloner. getInstanceProvider()Retrieve the instance provider this cloner is using to create new, empty classes. | 
| Modifier and Type | Method and Description | 
|---|---|
| AggregateCloner.Builder | AggregateCloner.Builder. instanceProvider(InstanceProvider provider)Set the instance provider supplied to all cloners in this builder. | 
| Constructor and Description | 
|---|
| FieldCloner(Cloner defaultCloner,
           InstanceProvider instanceProvider)Constructs a field cloner that copies objects by reading and writing the internal fields directly. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | BannedGeneratorGenerator that ensures certain types will never be created. | 
| class  | CollectionGeneratorProvides simple constructors for collection interfaces. | 
| class  | DefaultInstancesUsed to construct default instances of any type. | 
| class  | ExistingGeneratorProvides instance constructors using a list of existing values. | 
| class  | PrimitiveGeneratorProvides 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... instanceProviders)Construct a default instance generator using the given instance providers. | 
| Modifier and Type | Method and Description | 
|---|---|
| static DefaultInstances | DefaultInstances. fromCollection(java.util.Collection<InstanceProvider> instanceProviders)Construct a default instance generator using the given instance providers. | 
| <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. |