PhantomReference<Object> reference = new PhantomReference<Object>(object, queue);
disposalCallbacks.put(reference, registry);
}
private String getSource(AnnotatedElement element) {
Source source = getAnnotation(element, Source.class);
if (source != null) {
return source.value();
} else {
return null;
}
}