Package | Description |
---|---|
com.comphenix.protocol.reflect |
Modifier and Type | Field and Description |
---|---|
protected EquivalentConverter<TField> |
StructureModifier.converter |
Modifier and Type | Method and Description |
---|---|
protected void |
StructureModifier.initialize(java.lang.Class targetType,
java.lang.Class fieldType,
java.util.List<java.lang.reflect.Field> data,
java.util.Map<java.lang.reflect.Field,java.lang.Integer> defaultFields,
EquivalentConverter<TField> converter,
java.util.Map<java.lang.Class,StructureModifier> subTypeCache)
Initialize every field of this class.
|
protected void |
StructureModifier.setConverter(EquivalentConverter<TField> converter)
Set the current object converter.
|
protected <T> StructureModifier<T> |
StructureModifier.withFieldType(java.lang.Class fieldType,
java.util.List<java.lang.reflect.Field> filtered,
java.util.Map<java.lang.reflect.Field,java.lang.Integer> defaults,
EquivalentConverter<T> converter)
Create a new structure modifier for the new field type.
|
<T> StructureModifier<T> |
StructureModifier.withType(java.lang.Class fieldType,
EquivalentConverter<T> converter)
Retrieves a structure modifier that only reads and writes fields of a given type.
|