Class Repackaged
java.lang.Object
com.google.appengine.api.internal.Repackaged
Utilities for dealing with repackaged classes. Not part of the public API.
-
Method Summary
Modifier and TypeMethodDescriptionstatic <E> List
<E> copyIfRepackagedElseOriginal
(List<E> list) Returns an immutable copy of the given list if it is of a repackaged class, otherwise returns the original list.static <E> List
<E> copyIfRepackagedElseUnmodifiable
(List<E> list) Returns an immutable copy of the given list if it is of a repackaged class, otherwise returns an unmodifiable wrapper around the original list.static boolean
isRepackaged
(Object object) Returns true if the given object has a class that is the result of App Engine repackaging.
-
Method Details
-
copyIfRepackagedElseOriginal
Returns an immutable copy of the given list if it is of a repackaged class, otherwise returns the original list. -
copyIfRepackagedElseUnmodifiable
Returns an immutable copy of the given list if it is of a repackaged class, otherwise returns an unmodifiable wrapper around the original list. -
isRepackaged
Returns true if the given object has a class that is the result of App Engine repackaging.
-