Package org.jboss.logging.processor.apt
Class ThrowableTypeFactory
java.lang.Object
org.jboss.logging.processor.apt.ThrowableTypeFactory
Describes information about the return type.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static class
private static class
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ThrowableType
forReturnType
(ProcessingEnvironment processingEnv, TypeMirror type, MessageMethod messageMethod) Creates a new descriptor that is not primitive.static ThrowableType
of
(ProcessingEnvironment processingEnv, TypeMirror type) Creates a new descriptor that is not primitive.
-
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
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.
-