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