If the ref cannot be peeled (as it does not refer to an annotated tag) the peeled id stays null, but {@link Ref#isPeeled()} will be true.
@param ref The ref to peel
@return ref if ref.isPeeled() is true; else anew Ref object representing the same data as Ref, but isPeeled() will be true and getPeeledObjectId will contain the peeled object (or null).
| |
| |
| |
| |
| |
| |
| |
| |