@Override
public DefDescriptor<?> getCurrentDescriptor() {
DefDescriptor<?> caller = getCurrentCallingDescriptor();
if (caller == null) {
InstanceStack istack = getInstanceStack();
Instance<?> instance = istack.peek();
if (instance != null) {
caller = instance.getDescriptor();
}
}