Interface IThrownExceptionDelegate
-
- All Known Implementing Classes:
ExtendedEarlyExitComputer.AbstractThrownExceptionDelegate,ExtendedEarlyExitComputer.FilteringThrownExceptionDelegate,ExtendedEarlyExitComputer.ThrownExceptionDelegate
public interface IThrownExceptionDelegateSmall facade that allows clients to process their own expressions with a custom control flow when it comes to exceptions.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaccept(LightweightTypeReference type)IThrownExceptionDelegatecatchExceptions(java.util.List<LightweightTypeReference> caughtExceptions)voidcollectThrownExceptions(XExpression expression)LightweightTypeReferencegetActualType(org.eclipse.xtext.common.types.JvmIdentifiableElement identifiable)LightweightTypeReferencegetActualType(XExpression expr)IResolvedExecutablegetResolvedFeature(org.eclipse.xtext.common.types.JvmExecutable executable, LightweightTypeReference contextType)LightweightTypeReferencetoLightweightReference(org.eclipse.xtext.common.types.JvmTypeReference exception)
-
-
-
Method Detail
-
toLightweightReference
LightweightTypeReference toLightweightReference(org.eclipse.xtext.common.types.JvmTypeReference exception)
-
accept
void accept(LightweightTypeReference type)
-
getActualType
LightweightTypeReference getActualType(XExpression expr)
-
getActualType
LightweightTypeReference getActualType(org.eclipse.xtext.common.types.JvmIdentifiableElement identifiable)
- Since:
- 2.18
-
getResolvedFeature
IResolvedExecutable getResolvedFeature(org.eclipse.xtext.common.types.JvmExecutable executable, LightweightTypeReference contextType)
- Since:
- 2.18
-
collectThrownExceptions
void collectThrownExceptions(XExpression expression)
-
catchExceptions
IThrownExceptionDelegate catchExceptions(java.util.List<LightweightTypeReference> caughtExceptions)
-
-