[late JvmType inflation] added synchronized executed check, added @noreference to new public method

This commit is contained in:
Sven Efftinge 2015-02-02 16:25:17 +01:00
parent f5eca686e3
commit 9cd67e9bef

View file

@ -225,9 +225,10 @@ public class DerivedStateAwareResource extends StorageAwareResource {
/**
* Runs the given acceptor with a fresh linking context and with eDeliver turned off.
*
* @noreference This method is not intended to be referenced by clients.
* @since 2.8
*/
public void runLateInitialization(IAcceptor<DerivedStateAwareResource> runnable) {
public void runLateInitialization(IAcceptor<? super DerivedStateAwareResource> runnable) {
boolean wasDeliver = eDeliver();
LinkedHashSet<Triple<EObject, EReference, INode>> before = resolving;
try {