Gets the after advice result.

@param <T> the generic type
@param aspectId the aspect id
@return the after advice result
342
@SuppressWarnings("unchecked")
    public <T> T getAfterAdviceResult(String aspectId) {
        return (aspectAdviceResult != null ? (T)aspectAdviceResult.getAfterAdviceResult(aspectId) : null);
    }
582318
public ActionResult getActionResult(String actionId) {
        if (actionId == null) {
            return null;
        }
        for (ListIterator<ContentResult> iterator = listIterator(size()); iterator.hasPrevious();) {
            ContentResult contentResult = iterator.previous();
            ActionResult actionResult = contentResult.getActionResult(actionId);
            if (actionResult != null) {
                return actionResult;
            }
        }
        return null;
    }
1219031
public function afterFind()
    {
        parent::afterFind();
        static::$propertyIdToKey[$this->id] = $this->key;
        static::$identityMap[$this->id] = $this;

        // cast scalar values
        $this->allow_multiple_values = (bool) $this->allow_multiple_values;
        $this->is_internal = (bool) $this->is_internal;
        $this->data_type = (int) $this->data_type;
        $this->property_handler_id = (int) $this->property_handler_id;
    }
840502
@SuppressWarnings("unchecked")
    public <T> List<T> getAnnotations(final Class<? extends Annotation> clazz) {
        return (List<T>) foundAnnotations.get(clazz);
    }
867895
public final RESULT getResult(ELContext context) {
        @SuppressWarnings("unchecked")
        final State state = UEL.getContext(context, State.class);
        Validate.validState(state != null && state.completion != Completion.NO);
        try {
            return state.result;
        } finally {
            state.reset();
        }
    }
1316354
protected void putAdviceResult(AspectAdviceRule aspectAdviceRule, Object adviceActionResult) {
        if (aspectAdviceResult == null) {
            aspectAdviceResult = new AspectAdviceResult();
        }
        aspectAdviceResult.putAdviceResult(aspectAdviceRule, adviceActionResult);
    }
1042647
@Override
    public Object getAttribute(String arg0) {
        try {
            collaborator.preInvoke(componentMetaData);
            return request.getAttribute(arg0);
        } finally {
            collaborator.postInvoke();
        }
    }
735148
@SuppressWarnings({"TypeParameterUnusedInFormals", "unchecked"})
  private <T> T fetch(final String id) {
    checkNotNull(id);
    checkArgument(!id.isEmpty());
    final T ret = (T) idMap.get(id);
    if (ret == null) {
      throw new EREException(String.format("Lookup failed for id %s.", id));
    }
    return ret;
  }
260452
public Promise<T> after(final ConsumerDouble<T, Exception> afterHandler) {
        then(t -> afterHandler.apply(t, null));
        failure(e -> afterHandler.apply(null, e));
        return this;
    }
1271465
@Override
    public void afterCompletion(int status)
    {
        final boolean isTraceOn = TraceComponent.isAnyTracingEnabled();

        if (isTraceOn && tc.isEntryEnabled())
            Tr.entry(tc, "afterCompletion : " + status + " : " + this);

        closeTxEntityManager(ivEm, true);

        if (isTraceOn && tc.isEntryEnabled())
            Tr.exit(tc, "afterCompletion");
    }
1118640
public void notifyAfterEvaluation(String expr) {
        if (getEvaluationListeners() == null)
            return;
        for (EvaluationListener listener: getEvaluationListeners()) {
            listener.afterEvaluation(this, expr);
        }
    }
317813
private function parseAfterReturning($method, $args, &$returnValue)
    {
        $this->doAspect($method, 'afterReturning', function($aspectClassName, $methodName) use($method, $args, &$returnValue){
            $joinPoint = new AfterReturningJoinPoint('afterReturning', $method, $args, $this->object, $this);
            $joinPoint->setReturnValue($returnValue);
            call_user_func([new $aspectClassName, $methodName], $joinPoint);
            $returnValue = $joinPoint->getReturnValue();
        });
    }
650416
public function __async_copy($id, $afterAction, $afterMaterialId, $afterStructureId)
    {
        /** @var array $result Async response */
        $result = array( 'status' => false );

        /** @var \samson\cms\CMSMaterial $material */
        $material = null;

        // If such material exists
        if ($this->query->className('\samson\cms\CMSMaterial')->id($id)->first($material)) {
            // Make copy of this material
            /** @var \samson\cms\CMSMaterial $copy Copy of existing material */
            $copy = $material->copy();
            $copy->save();
            // Set success status
            $result['status'] = true;

            $result = $this->__async_table($afterMaterialId, $afterStructureId);
        }
        // Return result
        return $result;
    }
1099886
public static String after(String text, String after) {
        if (!text.contains(after)) {
            return null;
        }
        return text.substring(text.indexOf(after) + after.length());
    }
1021566
public String getCompleteTagById(int elementId, String characters)
    {
        String result = getOpeningTagById(elementId);
        result += characters;
        result += getClosingTagById(elementId);
        return result;
    }
109270
private function showAspectPointcutsAndAdvisors(SymfonyStyle $io, Aspect $aspect): void
    {
        /** @var AspectLoader $aspectLoader */
        $container    = $this->aspectKernel->getContainer();
        $aspectLoader = $container->get('aspect.loader');
        $io->writeln('<comment>Pointcuts and advices</comment>');

        $aspectItems     = $aspectLoader->load($aspect);
        $aspectItemsInfo = [];
        foreach ($aspectItems as $itemId => $item) {
            $itemType = 'Unknown';
            if ($item instanceof Pointcut) {
                $itemType = 'Pointcut';
            }
            if ($item instanceof Advisor) {
                $itemType = 'Advisor';
            }
            $aspectItemsInfo[] = [$itemType, $itemId];
        }
        $io->table(['Type', 'Identifier'], $aspectItemsInfo);
    }
1019550
def get(self, aspect):
        """"""

        classification = [(network, self.networks), (system, self.systems),
                          (configure, self.configures)]
        aspect_list = [l for t, l in classification if isinstance(aspect, t)]
        assert len(aspect_list) == 1, "Unexpected aspect for RADL."
        aspect_list = aspect_list[0]

        old_aspect = [a for a in aspect_list if a.getId() == aspect.getId()]
        return old_aspect[0] if old_aspect else None