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
public class Sun14ReflectionProvider extends SunUnsafeReflectionProvider
Deprecated.As of 1.4.7 useSunUnsafeReflectionProvider
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
Constructors Constructor Description Sun14ReflectionProvider()
Deprecated.As of 1.4.7 useSunUnsafeReflectionProvider()
Sun14ReflectionProvider(FieldDictionary dic)
Deprecated.As of 1.4.7 useSunUnsafeReflectionProvider(FieldDictionary)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description private java.lang.Object
readResolve()
Deprecated.-
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 Detail
-
Sun14ReflectionProvider
public Sun14ReflectionProvider()
Deprecated.As of 1.4.7 useSunUnsafeReflectionProvider()
-
Sun14ReflectionProvider
public Sun14ReflectionProvider(FieldDictionary dic)
Deprecated.As of 1.4.7 useSunUnsafeReflectionProvider(FieldDictionary)
-
-