Package org.jboss.logging.processor.apt
Class ThrowableTypeFactory
- java.lang.Object
-
- org.jboss.logging.processor.apt.ThrowableTypeFactory
-
final class ThrowableTypeFactory extends java.lang.Object
Describes information about the return type.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static class
ThrowableTypeFactory.AptReturnThrowableType
private static class
ThrowableTypeFactory.AptThrowableType
-
Constructor Summary
Constructors Modifier Constructor Description private
ThrowableTypeFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ThrowableType
forReturnType(javax.annotation.processing.ProcessingEnvironment processingEnv, javax.lang.model.type.TypeMirror type, MessageMethod messageMethod)
Creates a new descriptor that is not primitive.static ThrowableType
of(javax.annotation.processing.ProcessingEnvironment processingEnv, javax.lang.model.type.TypeMirror type)
Creates a new descriptor that is not primitive.
-
-
-
Method Detail
-
forReturnType
public static ThrowableType forReturnType(javax.annotation.processing.ProcessingEnvironment processingEnv, javax.lang.model.type.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(javax.annotation.processing.ProcessingEnvironment processingEnv, javax.lang.model.type.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.
-
-