Avoid "exception not thrown" warning
When throwing an exception in a method declared using inter-type-declaration, IntelliJ issues a warning, that this exception is not thrown.
This is a false-positive, and could potentially be avoided by adding throws Exception
to the method wrapped around the inter-type-declaration in https://git-st.inf.tu-dresden.de/jastadd/jetbrains-plugin/-/blob/develop/src/main/java/org/jastadd/tooling/aspect/JavaLanguageInjector.java
Example (from RagConnect):
MEndpointDefinition UntypedEndpointTarget.createMEndpointDefinition(boolean isSend) {
throw new RuntimeException("Could not resolve endpoint target '" +
getTypeName() + "." + getChildName() + "'");
}