java.lang.Object
org.aspectj.org.eclipse.jdt.internal.compiler.flow.FlowContext
org.aspectj.org.eclipse.jdt.internal.compiler.flow.TryFlowContext
Alle implementierten Schnittstellen:
TypeConstants
Bekannte direkte Unterklassen:
FinallyFlowContext, InsideSubRoutineFlowContext

public abstract class TryFlowContext extends FlowContext
Shared implementation for try-statement-related flow contexts.
  • Felddetails

    • outerTryContext

      public FlowContext outerTryContext
      For a try statement nested inside a finally block this reference points to the flow context of the outer try block, for access to its initsOnFinally.
  • Konstruktordetails

  • Methodendetails

    • markFinallyNullStatus

      public void markFinallyNullStatus(LocalVariableBinding local, int nullStatus)
      Beschreibung aus Klasse kopiert: FlowContext
      Record a given null status of a given local variable as it will be seen in the finally block.
      Setzt außer Kraft:
      markFinallyNullStatus in Klasse FlowContext
      Parameter:
      local - the local variable being observed
      nullStatus - the null status of local at the current point in the flow
    • mergeFinallyNullInfo

      public void mergeFinallyNullInfo(FlowInfo flowInfo)
      Beschreibung aus Klasse kopiert: FlowContext
      Merge the effect of a statement presumably contained in a try-block, i.e., record how the collected info will affect the corresponding finally-block. Precondition: caller has checked that initsOnFinally != null.
      Setzt außer Kraft:
      mergeFinallyNullInfo in Klasse FlowContext
      Parameter:
      flowInfo - info after executing a statement of the try-block.