Class ThrowsSignature
java.lang.Object
io.moderne.compiled.internal.signature.ThrowsSignature
-
Constructor Summary
ConstructorsConstructorDescriptionThrowsSignature(ClassTypeSignature classTypeSignature) ThrowsSignature(TypeVariableSignature typeVariableSignature) -
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable List<ThrowsSignature>fromJavaType(@Nullable List<? extends org.openrewrite.java.tree.JavaType> thrownExceptions) toString()
-
Constructor Details
-
ThrowsSignature
-
ThrowsSignature
-
-
Method Details
-
fromJavaType
public static @Nullable List<ThrowsSignature> fromJavaType(@Nullable List<? extends org.openrewrite.java.tree.JavaType> thrownExceptions) - Parameters:
thrownExceptions- The list of thrown exceptions.- Returns:
- The list of ThrowsSignatures. "If the throws clause of a method or constructor does not involve type variables, the ThrowsSignature may be elided from the MethodTypeSignature." (JVMS 4.3.4)
-
toString
-