public ScopeInfo getScopeInfo() { String className = null; Object target = getTarget(); if (target != null) className = target.getClass().getName(); return new AbstractScopeInfo(getName(), className); }
/** * Initialise the scope info */ protected void initScopeInfo() { String className = null; Object target = getTarget(); if (target != null) className = target.getClass().getName(); setScopeInfo(new AbstractScopeInfo(getName(), className)); }