Class Sun14ReflectionProvider
java.lang.Object
com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider
com.thoughtworks.xstream.converters.reflection.SunLimitedUnsafeReflectionProvider
com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider
com.thoughtworks.xstream.converters.reflection.Sun14ReflectionProvider
- All Implemented Interfaces:
ReflectionProvider
Deprecated.
Instantiates a new object on the Sun JVM by bypassing the constructor (meaning code in the constructor will never be
executed and parameters do not have to be known). This is the same method used by the internals of standard Java
serialization, but relies on internal Sun code that may not be present on all JVMs.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.thoughtworks.xstream.converters.reflection.ReflectionProvider
ReflectionProvider.Visitor
-
Field Summary
Fields inherited from class com.thoughtworks.xstream.converters.reflection.SunLimitedUnsafeReflectionProvider
exception, unsafe
Fields inherited from class com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider
fieldDictionary
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.As of 1.4.7 useSunUnsafeReflectionProvider()
Deprecated.As of 1.4.7 useSunUnsafeReflectionProvider(FieldDictionary)
-
Method Summary
Methods inherited from class com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider
init, writeField
Methods inherited from class com.thoughtworks.xstream.converters.reflection.SunLimitedUnsafeReflectionProvider
newInstance, validateFieldAccess
Methods inherited from class com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider
fieldDefinedInClass, fieldModifiersSupported, getField, getFieldOrNull, getFieldType, setFieldDictionary, visitSerializableFields
-
Constructor Details
-
Sun14ReflectionProvider
public Sun14ReflectionProvider()Deprecated.As of 1.4.7 useSunUnsafeReflectionProvider()
-
Sun14ReflectionProvider
Deprecated.As of 1.4.7 useSunUnsafeReflectionProvider(FieldDictionary)
-
-
Method Details
-
readResolve
Deprecated.
-
SunUnsafeReflectionProvider