Class ThrowableTypeFactory

java.lang.Object
org.jboss.logging.processor.apt.ThrowableTypeFactory

final class ThrowableTypeFactory extends Object
Describes information about the return type.
  • Constructor Details

    • ThrowableTypeFactory

      private ThrowableTypeFactory()
  • Method Details

    • forReturnType

      public static ThrowableType forReturnType(ProcessingEnvironment processingEnv, TypeMirror type, MessageMethod messageMethod)
      Creates a new descriptor that is not primitive.
      Parameters:
      processingEnv - the annotation processing environment.
      type - the class name of the return type.
      messageMethod - the message method.
      Returns:
      the return type descriptor.
    • of

      public static ThrowableType of(ProcessingEnvironment processingEnv, TypeMirror type)
      Creates a new descriptor that is not primitive.
      Parameters:
      processingEnv - the annotation processing environment.
      type - the class name of the return type.
      Returns:
      the return type descriptor.