A B C D E F G H I J L M N O P Q R S T U V W X
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractGenerator - Class in org.jboss.logging.processor.apt
-
An abstract processor used process annotations.
- accept(ElementVisitor<R, P>, P) - Method in interface org.jboss.logging.processor.model.DelegatingElement
- add(boolean) - Method in class org.jboss.logging.processor.util.Objects.HashCodeBuilder
-
Adds the hash code of a boolean to the final hash code value.
- add(char) - Method in class org.jboss.logging.processor.util.Objects.HashCodeBuilder
-
Adds the hash code of a character to the final hash code value.
- add(double) - Method in class org.jboss.logging.processor.util.Objects.HashCodeBuilder
-
Adds the hash code of a double to the final hash code value.
- add(float) - Method in class org.jboss.logging.processor.util.Objects.HashCodeBuilder
-
Adds the hash code of a float to the final hash code value.
- add(int) - Method in class org.jboss.logging.processor.util.Objects.HashCodeBuilder
-
Adds the hash code of an integer to the final hash code value.
- add(long) - Method in class org.jboss.logging.processor.util.Objects.HashCodeBuilder
-
Adds the hash code of a long to the final hash code value.
- add(Object) - Method in class org.jboss.logging.processor.util.Objects.HashCodeBuilder
-
Adds the hash code of an object to the final hash code value.
- add(Object) - Method in class org.jboss.logging.processor.util.Objects.ToStringBuilder
- add(String, Object) - Method in class org.jboss.logging.processor.util.Objects.ToStringBuilder
-
Adds the field and value to the value returned.
- areEqual(boolean, boolean) - Static method in class org.jboss.logging.processor.util.Objects
-
Checks to see if two booleans are equal.
- areEqual(char, char) - Static method in class org.jboss.logging.processor.util.Objects
-
Checks to see if two characters are equal.
- areEqual(double, double) - Static method in class org.jboss.logging.processor.util.Objects
-
Checks to see if two doubles are equal.
- areEqual(float, float) - Static method in class org.jboss.logging.processor.util.Objects
-
Checks to see if two floats are equal.
- areEqual(long, long) - Static method in class org.jboss.logging.processor.util.Objects
-
Checks to see if two longs are equal.
- areEqual(Object, Object) - Static method in class org.jboss.logging.processor.util.Objects
-
Checks to see if two objects are equal.
- argumentCount() - Method in interface org.jboss.logging.processor.validation.FormatValidator
-
The number of arguments needed for the format.
- argumentCount() - Method in class org.jboss.logging.processor.validation.StringFormatValidator
- ASCIIDOC - org.jboss.logging.processor.apt.report.ReportType
- asFormat() - Method in class org.jboss.logging.processor.validation.StringFormatValidator
-
Recreates the format using the internal formatting descriptors.
- asType() - Method in interface org.jboss.logging.processor.model.DelegatingElement
- asType() - Method in interface org.jboss.logging.processor.model.DelegatingExecutableElement
- asType() - Method in interface org.jboss.logging.processor.model.DelegatingTypeElement
B
- BaseUrl - Annotation Type in org.jboss.logging.annotations
-
Messages on reports can have a link to a resolution document.
- begin() - Static method in class org.jboss.logging.processor.util.Comparison
-
Begins a new comparison.
- beginAllowNull() - Static method in class org.jboss.logging.processor.util.Comparison
-
Begins a new comparison, but allows for
null
values to be passed. - booleanValue() - Method in annotation type org.jboss.logging.annotations.Field
-
The default
boolean
value if this annotation is used on a method. - booleanValue() - Method in annotation type org.jboss.logging.annotations.Property
-
The default
boolean
value if this annotation is used on a method. - builder() - Static method in class org.jboss.logging.processor.util.Objects.HashCodeBuilder
-
Creates a new builder with 31 as the seed.
- builder(int) - Static method in class org.jboss.logging.processor.util.Objects.HashCodeBuilder
-
Creates a new builder with the seed that is passed.
- byteValue() - Method in annotation type org.jboss.logging.annotations.Field
-
The default boolean value if this annotation is used on a method.
- byteValue() - Method in annotation type org.jboss.logging.annotations.Property
-
The default boolean value if this annotation is used on a method.
C
- cause() - Method in interface org.jboss.logging.processor.model.MessageMethod
- Cause - Annotation Type in org.jboss.logging.annotations
-
Mark a parameter as being the "exception cause" parameter rather than a positional format parameter.
- causeIndex() - Method in annotation type org.jboss.logging.annotations.Signature
-
The index for the cause of the exception being created.
- causeSetInConstructor() - Method in interface org.jboss.logging.processor.model.ThrowableType
-
Indicates whether or not the cause was set in the constructor.
- charValue() - Method in annotation type org.jboss.logging.annotations.Field
-
The default
byte
value if this annotation is used on a method. - charValue() - Method in annotation type org.jboss.logging.annotations.Property
-
The default
byte
value if this annotation is used on a method. - checkNonNull(T) - Static method in class org.jboss.logging.processor.util.Objects
-
Checks to see if an object is
null
, otherwise throws anIllegalArgumentException
. - checkNonNull(T, String) - Static method in class org.jboss.logging.processor.util.Objects
-
Checks to see if an object is
null
, otherwise throws anIllegalArgumentException
. - checkNonNull(T, String, Object...) - Static method in class org.jboss.logging.processor.util.Objects
-
Checks to see if an object is
null
, otherwise throws anIllegalArgumentException
. - ClassModel - Class in org.jboss.logging.processor.generator.model
-
The basic java class model.
- ClassModelFactory - Class in org.jboss.logging.processor.generator.model
-
Creates a class model for the message interface.
- ClassModelHelper - Class in org.jboss.logging.processor.generator.model
-
Utilities for the code model.
- ClassType - Interface in org.jboss.logging.processor.model
-
Date: 23.08.2011
- classValue() - Method in annotation type org.jboss.logging.annotations.Field
-
The default
Class
value if this annotation is used on a method. - classValue() - Method in annotation type org.jboss.logging.annotations.Property
-
The default
Class
value if this annotation is used on a method. - compare(boolean, boolean) - Method in class org.jboss.logging.processor.util.Comparison
-
Compares the left boolean to the double boolean.
- compare(double, double) - Method in class org.jboss.logging.processor.util.Comparison
-
Compares the left double to the double integer.
- compare(float, float) - Method in class org.jboss.logging.processor.util.Comparison
-
Compares the left float to the float integer.
- compare(int, int) - Method in class org.jboss.logging.processor.util.Comparison
-
Compares the left integer to the right integer.
- compare(long, long) - Method in class org.jboss.logging.processor.util.Comparison
-
Compares the left long to the right long.
- compare(Comparable<?>, Comparable<?>) - Method in class org.jboss.logging.processor.util.Comparison
-
Compares the left comparable to the right as specified by the
Comparable.compareTo(Object)
interface. - compare(String, String) - Method in class org.jboss.logging.processor.util.VersionComparator
- compare(T, T, Comparator<T>) - Method in class org.jboss.logging.processor.util.Comparison
-
Compares the left object to the right object as specified by the
Comparator.compare(Object, Object)
interface. - compareVersion(String, String) - Static method in class org.jboss.logging.processor.util.VersionComparator
-
Compares the first version to the second version and returns, 0 if they are equal, a value less than 0 if the first version is less than the second version or a value greater than 0 if the first version is greater than the second version.
- Comparison - Class in org.jboss.logging.processor.util
-
Date: 30.08.2011
- constructionParameters() - Method in interface org.jboss.logging.processor.model.ThrowableType
-
The parameters needed to construct the throwable, if not using the default constructor.
- ConstructType - Annotation Type in org.jboss.logging.annotations
-
Indicates the value of this annotation should be constructed and returned.
- create(Message.Format, String) - Static method in class org.jboss.logging.processor.validation.FormatValidatorFactory
- create(MessageMethod) - Static method in class org.jboss.logging.processor.validation.FormatValidatorFactory
- createError(Element, String) - Static method in class org.jboss.logging.processor.validation.ValidationMessageFactory
- createError(Element, String, Object...) - Static method in class org.jboss.logging.processor.validation.ValidationMessageFactory
- createError(Element, AnnotationMirror, String) - Static method in class org.jboss.logging.processor.validation.ValidationMessageFactory
- createError(Element, AnnotationMirror, String, Object...) - Static method in class org.jboss.logging.processor.validation.ValidationMessageFactory
- createError(Element, AnnotationMirror, AnnotationValue, String) - Static method in class org.jboss.logging.processor.validation.ValidationMessageFactory
- createError(Element, AnnotationMirror, AnnotationValue, String, Object...) - Static method in class org.jboss.logging.processor.validation.ValidationMessageFactory
- createWarning(Element, String) - Static method in class org.jboss.logging.processor.validation.ValidationMessageFactory
- createWarning(Element, String, Object...) - Static method in class org.jboss.logging.processor.validation.ValidationMessageFactory
D
- debug(String, Object...) - Method in class org.jboss.logging.processor.apt.ToolLogger
-
Prints a formatted debug message if debugging is enabled.
- debug(Element, String) - Method in class org.jboss.logging.processor.apt.ToolLogger
-
Prints a debug message.
- debug(Element, String, Object...) - Method in class org.jboss.logging.processor.apt.ToolLogger
-
Prints a formatted debug message if debugging is enabled.
- DEBUG_OPTION - Static variable in class org.jboss.logging.processor.apt.LoggingToolsProcessor
- DelegatingElement - Interface in org.jboss.logging.processor.model
-
A delegating
Element
interface. - DelegatingExecutableElement - Interface in org.jboss.logging.processor.model
-
A delegating
ExecutableElement
interface. - DelegatingTypeElement - Interface in org.jboss.logging.processor.model
-
A delegating
TypeElement
interface. - detailMessage() - Method in interface org.jboss.logging.processor.validation.FormatValidator
-
A detail message if
FormatValidator.isValid()
returnsfalse
, otherwise an empty string. - doubleValue() - Method in annotation type org.jboss.logging.annotations.Field
-
The default
double
value if this annotation is used on a method. - doubleValue() - Method in annotation type org.jboss.logging.annotations.Property
-
The default
double
value if this annotation is used on a method.
E
- ElementHelper - Class in org.jboss.logging.processor.util
-
An utility class to work with element.
- EQUAL - Static variable in class org.jboss.logging.processor.util.Comparison
- equals(Object) - Method in class org.jboss.logging.processor.util.Objects.HashCodeBuilder
-
Should never be invoked on this object.
- error(String, Object...) - Method in class org.jboss.logging.processor.apt.ToolLogger
-
Prints a formatted error message.
- error(Throwable) - Method in class org.jboss.logging.processor.apt.ToolLogger
-
Prints an error message.
- error(Throwable, String, Object...) - Method in class org.jboss.logging.processor.apt.ToolLogger
-
Prints an error message.
- error(Throwable, Element, String) - Method in class org.jboss.logging.processor.apt.ToolLogger
-
Prints a error message.
- error(Element, String) - Method in class org.jboss.logging.processor.apt.ToolLogger
-
Prints a error message.
- error(Element, String, Object...) - Method in class org.jboss.logging.processor.apt.ToolLogger
-
Prints a formatted error message.
- error(Element, Throwable) - Method in class org.jboss.logging.processor.apt.ToolLogger
-
Prints an error message.
- error(Element, Throwable, String, Object...) - Method in class org.jboss.logging.processor.apt.ToolLogger
-
Prints an error message.
- ERROR - org.jboss.logging.processor.validation.ValidationMessage.Type
- expressionProperties() - Method in interface org.jboss.logging.processor.model.MessageInterface
-
The properties used to resolve expressions.
- Expressions - Class in org.jboss.logging.processor.util
- Expressions() - Constructor for class org.jboss.logging.processor.util.Expressions
- extendedInterfaces() - Method in interface org.jboss.logging.processor.model.MessageInterface
-
A set of qualified interface names this interface extends or an empty set.
- extendsLoggerInterface() - Method in interface org.jboss.logging.processor.model.MessageInterface
-
Checks the interface to see if the
logger interface
is being extended in this interface.
F
- Field - Annotation Type in org.jboss.logging.annotations
-
Indicate that a method parameter value should be applied to a field on the resultant exception object.
- Fields - Annotation Type in org.jboss.logging.annotations
-
Defines the default field properties to use on the resultant exception object.
- floatValue() - Method in annotation type org.jboss.logging.annotations.Field
-
The default
float
value if this annotation is used on a method. - floatValue() - Method in annotation type org.jboss.logging.annotations.Property
-
The default
float
value if this annotation is used on a method. - format() - Method in annotation type org.jboss.logging.annotations.Message
-
The format type of this method (defaults to
Message.Format.PRINTF
). - format() - Method in interface org.jboss.logging.processor.model.MessageMethod.Message
-
The message format type for the message.
- format() - Method in interface org.jboss.logging.processor.validation.FormatValidator
-
Returns the format string used for validation.
- format() - Method in class org.jboss.logging.processor.validation.StringFormatValidator
- formatMessageId(String, int, int) - Static method in class org.jboss.logging.processor.generator.model.ClassModelHelper
-
Formats message id.
- formatParameterCount() - Method in interface org.jboss.logging.processor.model.MessageMethod
-
Returns the number of parameters minus the cause parameter count for the method.
- formatterClass() - Method in interface org.jboss.logging.processor.model.Parameter
-
The formatter class, or
null
if there is none. - FormatValidator - Interface in org.jboss.logging.processor.validation
-
Date: 14.06.2011
- FormatValidatorFactory - Class in org.jboss.logging.processor.validation
-
Date: 12.08.2011
- FormatWith - Annotation Type in org.jboss.logging.annotations
-
Indicate that the given parameter should be wrapped with a formatting object of the given class.
G
- generateAndWrite() - Method in class org.jboss.logging.processor.generator.model.ClassModel
-
Writes the generated source file to the file system.
- generatedAnnotation() - Method in interface org.jboss.logging.processor.model.MessageInterface
-
Returns the type to use for the
@Generated
annotation. - GET_CLASS - org.jboss.logging.annotations.Transform.TransformType
-
Gets the class of the object object passed,
Object.getClass()
. - getAnnotation() - Method in exception org.jboss.logging.processor.apt.ProcessingException
-
The annotation where the error occurred.
- getAnnotation(Class<A>) - Method in interface org.jboss.logging.processor.model.DelegatingElement
- getAnnotationMirror() - Method in interface org.jboss.logging.processor.validation.ValidationMessage
-
The annotation the error occurred on.
- getAnnotationMirrors() - Method in interface org.jboss.logging.processor.model.DelegatingElement
- getAnnotations(Element, Class<? extends Annotation>, Class<? extends Annotation>) - Static method in class org.jboss.logging.processor.util.ElementHelper
-
Returns annotations that are associated with the element that match the
annotation
parameter type. - getAnnotationsByType(Class<A>) - Method in interface org.jboss.logging.processor.model.DelegatingElement
- getAnnotationValue() - Method in exception org.jboss.logging.processor.apt.ProcessingException
-
The value for the annotation that is invalid.
- getAnnotationValue() - Method in interface org.jboss.logging.processor.validation.ValidationMessage
-
The value of the annotation which caused the error.
- getClassAnnotationValue(Element, Class<? extends Annotation>) - Static method in class org.jboss.logging.processor.util.ElementHelper
-
Retrieves the first attribute value from the annotation and assumes it's a
class
type. - getClassAnnotationValue(Element, Class<? extends Annotation>, String) - Static method in class org.jboss.logging.processor.util.ElementHelper
-
Retrieves the attribute value from the annotation and assumes it's a
class
type. - getClassArrayAnnotationValue(Element, Class<? extends Annotation>, String) - Static method in class org.jboss.logging.processor.util.ElementHelper
-
Retrieves the attribute value from the annotation and assumes it's an array
classes
. - getComment() - Method in interface org.jboss.logging.processor.model.JavaDocComment
-
The JavaDoc comments if available or
null
if there are no JavaDoc's present. - getDefaultValue() - Method in interface org.jboss.logging.processor.model.DelegatingExecutableElement
- getDelegate() - Method in interface org.jboss.logging.processor.model.DelegatingElement
-
The element to delegate the default methods to.
- getDelegate() - Method in interface org.jboss.logging.processor.model.DelegatingExecutableElement
- getDelegate() - Method in interface org.jboss.logging.processor.model.DelegatingTypeElement
- getElement() - Method in exception org.jboss.logging.processor.apt.ProcessingException
-
The element the error occurred on.
- getElement() - Method in interface org.jboss.logging.processor.validation.ValidationMessage
-
Returns the element that caused the error.
- getEnclosedElements() - Method in interface org.jboss.logging.processor.model.DelegatingElement
- getEnclosedElements() - Method in interface org.jboss.logging.processor.model.DelegatingTypeElement
- getEnclosingElement() - Method in interface org.jboss.logging.processor.model.DelegatingElement
- getEnclosingElement() - Method in interface org.jboss.logging.processor.model.DelegatingTypeElement
- getEnclosingTranslationClassName(String) - Static method in class org.jboss.logging.processor.util.TranslationHelper
-
Returns the enclosing translation class name for the given translation class name.
- getEnclosingTranslationFileName(File) - Static method in class org.jboss.logging.processor.util.TranslationHelper
-
Returns the enclosing translation file name for the given translation file name.
- getExtension() - Method in enum org.jboss.logging.processor.apt.report.ReportType
-
Returns the extension used for the file.
- getIdLength() - Method in interface org.jboss.logging.processor.model.MessageInterface
-
The length to pad the id with.
- getInterfaces() - Method in interface org.jboss.logging.processor.model.DelegatingTypeElement
- getKind() - Method in interface org.jboss.logging.processor.model.DelegatingElement
- getLogger(ProcessingEnvironment) - Static method in class org.jboss.logging.processor.apt.ToolLogger
-
Creates a new tool logger.
- getMessage() - Method in interface org.jboss.logging.processor.validation.ValidationMessage
-
Returns the error message.
- getModifiers() - Method in interface org.jboss.logging.processor.model.DelegatingElement
- getName() - Method in class org.jboss.logging.processor.apt.AbstractGenerator
-
Returns the name of the processor.
- getNestingKind() - Method in interface org.jboss.logging.processor.model.DelegatingTypeElement
- getParameters() - Method in interface org.jboss.logging.processor.model.DelegatingExecutableElement
- getQualifiedName() - Method in interface org.jboss.logging.processor.model.DelegatingTypeElement
- getReceiverType() - Method in interface org.jboss.logging.processor.model.DelegatingExecutableElement
- getReturnType() - Method in interface org.jboss.logging.processor.model.DelegatingExecutableElement
- getSimpleName() - Method in interface org.jboss.logging.processor.model.DelegatingElement
- getSimpleName() - Method in interface org.jboss.logging.processor.model.DelegatingExecutableElement
- getSimpleName() - Method in interface org.jboss.logging.processor.model.DelegatingTypeElement
- getSuperclass() - Method in interface org.jboss.logging.processor.model.DelegatingTypeElement
- getSupportedAnnotationTypes() - Method in class org.jboss.logging.processor.apt.LoggingToolsProcessor
- getSupportedOptions() - Method in class org.jboss.logging.processor.apt.AbstractGenerator
-
Returns the supported options set.
- getSupportedOptions() - Method in class org.jboss.logging.processor.apt.LoggingToolsProcessor
- getSupportedSourceVersion() - Method in class org.jboss.logging.processor.apt.LoggingToolsProcessor
- getThrownTypes() - Method in interface org.jboss.logging.processor.model.DelegatingExecutableElement
- getTranslationClassNameSuffix(String) - Static method in class org.jboss.logging.processor.util.TranslationHelper
-
Get the class name suffix to be added to the generated class for the given translation file name.
- getTypeArguments(Element) - Static method in class org.jboss.logging.processor.util.ElementHelper
-
Returns the type arguments for the element.
- getTypeArguments(TypeMirror) - Static method in class org.jboss.logging.processor.util.ElementHelper
-
Returns the type arguments for the type.
- getTypeParameters() - Method in interface org.jboss.logging.processor.model.DelegatingExecutableElement
- getTypeParameters() - Method in interface org.jboss.logging.processor.model.DelegatingTypeElement
- GREATER - Static variable in class org.jboss.logging.processor.util.Comparison
H
- hasCause() - Method in interface org.jboss.logging.processor.model.MessageMethod
-
Returns
true
if there is a cause element, otherwisefalse
. - hasConstructor(Types, Element, List<TypeMirror>) - Static method in class org.jboss.logging.processor.util.ElementHelper
-
Checks whether or not a constructor matching the parameters exists.
- hasDefaultConstructor() - Method in interface org.jboss.logging.processor.model.ThrowableType
-
Checks to see the throwable has a default constructor.
- HASH_CODE - org.jboss.logging.annotations.Transform.TransformType
-
Gets the hash code of the object,
Object.hashCode()
. - hashCode() - Method in class org.jboss.logging.processor.util.Objects.HashCodeBuilder
-
This method overrides the default
Object#hashCode()
, but does not return a proper hash of this builder. - hasId() - Method in interface org.jboss.logging.processor.model.MessageMethod.Message
-
Checks if the message has an id that was provided.
- hasStringAndThrowableConstructor() - Method in interface org.jboss.logging.processor.model.ThrowableType
-
Checks to see if the throwable has a string and throwable (
Throwable(String, Throwable)
) constructor. - hasStringConstructor() - Method in interface org.jboss.logging.processor.model.ThrowableType
-
Checks to see if the throwable has a string (
Throwable(String)
) constructor. - hasThrowableAndStringConstructor() - Method in interface org.jboss.logging.processor.model.ThrowableType
-
Checks to see if the throwable has a throwable and string (
Throwable(Throwable, String)
) constructor. - hasThrowableConstructor() - Method in interface org.jboss.logging.processor.model.ThrowableType
-
Checks to see if the throwable has a string and throwable (
Throwable(String, Throwable)
) constructor.
I
- id() - Method in annotation type org.jboss.logging.annotations.Message
-
The message ID number.
- id() - Method in interface org.jboss.logging.processor.model.MessageMethod.Message
-
The message id for the message to use.
- IDENTITY_HASH_CODE - org.jboss.logging.annotations.Transform.TransformType
-
Gets the identity hash code of the object,
System.identityHashCode(Object)
. - IdLengthValidator - Class in org.jboss.logging.processor.validation
- IdLengthValidator() - Constructor for class org.jboss.logging.processor.validation.IdLengthValidator
- IdRangeValidator - Class in org.jboss.logging.processor.validation
- IdRangeValidator() - Constructor for class org.jboss.logging.processor.validation.IdRangeValidator
- implementation(ProcessingEnvironment, MessageInterface) - Static method in class org.jboss.logging.processor.generator.model.ClassModelFactory
-
Creates an implementation code model from the message interface.
- implementationClassName(MessageInterface) - Static method in class org.jboss.logging.processor.generator.model.ClassModelHelper
-
Creates the implementation class name for the message interface.
- implementationClassName(MessageInterface, String) - Static method in class org.jboss.logging.processor.generator.model.ClassModelHelper
-
Creates the implementation class name for the message interface.
- INHERIT - Static variable in annotation type org.jboss.logging.annotations.Message
-
Indicates that this message should inherit the ID from another message with the same name.
- inheritsId() - Method in interface org.jboss.logging.processor.model.MessageMethod.Message
-
Checks if the message id was inherited.
- inheritsMessage() - Method in interface org.jboss.logging.processor.model.MessageMethod
-
Indicates whether the message was inherited from another message or not.
- init(ProcessingEnvironment) - Method in class org.jboss.logging.processor.apt.LoggingToolsProcessor
- INSTANCE - Static variable in class org.jboss.logging.processor.util.VersionComparator
- intValue() - Method in annotation type org.jboss.logging.annotations.Field
-
The default
int
value if this annotation is used on a method. - intValue() - Method in annotation type org.jboss.logging.annotations.Property
-
The default
int
value if this annotation is used on a method. - isAnnotatedWith(Class<? extends Annotation>) - Method in interface org.jboss.logging.processor.model.DelegatingElement
-
Checks whether or not the annotation is present on the element.
- isAnnotatedWith(AnnotatedConstruct, Class<? extends Annotation>) - Static method in class org.jboss.logging.processor.util.ElementHelper
-
Check if an element is annotated with the given annotation.
- isArray() - Method in interface org.jboss.logging.processor.model.Parameter
-
Returns
true
if the type is an array, otherwisefalse
. - isAssignableFrom(Class<?>) - Method in interface org.jboss.logging.processor.model.ClassType
-
Determines if this type is either the same as, or is a supertype of, the class represented by the
type
parameter. - isChecked() - Method in interface org.jboss.logging.processor.model.ThrowableType
-
Checks if the throwable is a checked exception.
- isDebugEnabled() - Method in class org.jboss.logging.processor.apt.ToolLogger
-
Returns
true
if debugging is enabled, otherwisefalse
. - isDefault() - Method in interface org.jboss.logging.processor.model.DelegatingExecutableElement
- isFormatParameter() - Method in interface org.jboss.logging.processor.model.Parameter
-
Indicates whether or not the parameter is used a format parameter for the message.
- isLoggerMethod() - Method in interface org.jboss.logging.processor.model.MessageMethod
-
Returns
true
if this is a logger method, otherwisefalse
. - isMessageMethod() - Method in interface org.jboss.logging.processor.model.Parameter
-
Indicates whether or not this parameter represents the message method.
- isOverloaded() - Method in interface org.jboss.logging.processor.model.MessageMethod
-
Returns
true
if the method is overloaded, otherwisefalse
. - isPrimitive() - Method in interface org.jboss.logging.processor.model.Parameter
-
Returns
true
if the type is a primitive type, otherwisefalse
. - isSameAs(Class<?>) - Method in interface org.jboss.logging.processor.model.ClassType
-
Determines if this type is the same type as the class represented by the
type
parameter. - isSubtypeOf(Class<?>) - Method in interface org.jboss.logging.processor.model.ClassType
-
Determines if this type is a subtype of the class represented by the
type
parameter. - isThrowable() - Method in interface org.jboss.logging.processor.model.ReturnType
-
Checks to see if the return type is an exception, extends Throwable or the value of a
Supplier
is a Throwable type. - isValid() - Method in interface org.jboss.logging.processor.validation.FormatValidator
-
Returns
true
of the format is valid, otherwisefalse
. - isValid() - Method in class org.jboss.logging.processor.validation.StringFormatValidator
- isVarArgs() - Method in interface org.jboss.logging.processor.model.DelegatingExecutableElement
- isVarArgs() - Method in interface org.jboss.logging.processor.model.Parameter
-
Returns
true
if the parameter is a var args parameter, otherwisefalse
.
J
- JavaDocComment - Interface in org.jboss.logging.processor.model
-
Represents the
JavaDoc's
documentation.
L
- length() - Method in annotation type org.jboss.logging.annotations.MessageBundle
-
The length of the padding used for each id in the message bundle.
- length() - Method in annotation type org.jboss.logging.annotations.MessageLogger
-
The length of the padding used for each id in the message bundle.
- LESS - Static variable in class org.jboss.logging.processor.util.Comparison
- level() - Method in annotation type org.jboss.logging.annotations.LogMessage
-
The log level at which this message should be logged.
- loggerMethod() - Method in interface org.jboss.logging.processor.model.MessageMethod
-
Returns the LogMessage annotation associated with this method only if
MessageMethod.isLoggerMethod()
returnstrue
. - loggingClass() - Method in annotation type org.jboss.logging.annotations.LogMessage
-
The logging class name to use for this message, if any.
- LoggingClass - Annotation Type in org.jboss.logging.annotations
-
Mark a parameter as specifying the name of the logging class to use.
- loggingFQCN() - Method in interface org.jboss.logging.processor.model.MessageInterface
-
The fully qualified class name to use for log methods.
- LoggingToolsProcessor - Class in org.jboss.logging.processor.apt
-
The main annotation processor for JBoss Logging Tooling.
- LoggingToolsProcessor() - Constructor for class org.jboss.logging.processor.apt.LoggingToolsProcessor
-
Default constructor.
- logLevel() - Method in interface org.jboss.logging.processor.model.MessageMethod
-
Returns the log level parameter associated with the method only if
MessageMethod.isLoggerMethod()
returnstrue
. - LogMessage - Annotation Type in org.jboss.logging.annotations
-
A typed logger method.
- longValue() - Method in annotation type org.jboss.logging.annotations.Field
-
The default
long
value if this annotation is used on a method. - longValue() - Method in annotation type org.jboss.logging.annotations.Property
-
The default
long
value if this annotation is used on a method.
M
- mandatoryWarning(Element, String) - Method in class org.jboss.logging.processor.apt.ToolLogger
-
Prints a warning message.
- mandatoryWarning(Element, String, Object...) - Method in class org.jboss.logging.processor.apt.ToolLogger
-
Prints a formatted warning message.
- max() - Method in annotation type org.jboss.logging.annotations.ValidIdRange
-
The maximum id allowed in the
message id
. - message() - Method in interface org.jboss.logging.processor.model.MessageMethod
-
The
MessageMethod.Message
to be used for the method. - Message - Annotation Type in org.jboss.logging.annotations
-
Assigns a message string to a resource method.
- MESSAGE_FORMAT - org.jboss.logging.annotations.Message.Format
-
A
MessageFormat
-type format string. - Message.Format - Enum in org.jboss.logging.annotations
-
The possible format types.
- MessageBundle - Annotation Type in org.jboss.logging.annotations
-
Signify that an interface is a message bundle interface.
- MessageIdValidator - Class in org.jboss.logging.processor.validation
-
Date: 16.08.2011
- messageIndex() - Method in annotation type org.jboss.logging.annotations.Signature
-
The index for the message.
- messageInterface() - Method in class org.jboss.logging.processor.generator.model.ClassModel
-
Returns the message interface being used.
- MessageInterface - Interface in org.jboss.logging.processor.model
-
Date: 28.07.2011
- MessageInterfaceFactory - Class in org.jboss.logging.processor.apt
-
A factory to create a
MessageInterface
for annotation processors. - MessageLogger - Annotation Type in org.jboss.logging.annotations
-
Signify that an interface is a typed logger interface.
- MessageMethod - Interface in org.jboss.logging.processor.model
-
Date: 29.07.2011
- MessageMethod.Message - Interface in org.jboss.logging.processor.model
-
Represents a
Message
annotation on a method. - messageMethodName() - Method in interface org.jboss.logging.processor.model.MessageMethod
-
Returns the name of the method used to retrieve the message.
- methods() - Method in interface org.jboss.logging.processor.model.MessageInterface
-
A collection of all the methods this interface needs to implement.
- min() - Method in annotation type org.jboss.logging.annotations.ValidIdRange
-
The minimum id allowed in the
message id
.
N
- name() - Method in annotation type org.jboss.logging.annotations.Field
-
The field name.
- name() - Method in annotation type org.jboss.logging.annotations.Property
-
The property name.
- name() - Method in interface org.jboss.logging.processor.model.MessageInterface
-
The qualified name of the message interface.
- name() - Method in interface org.jboss.logging.processor.model.MessageMethod
-
Returns the method name.
- name() - Method in interface org.jboss.logging.processor.model.Parameter
-
The variable name of the parameter.
- name() - Method in interface org.jboss.logging.processor.model.ReturnType
-
Returns the qualified class name of the return type.
- name() - Method in interface org.jboss.logging.processor.model.ThrowableType
-
Returns the qualified class name of the return type.
- NO_FORMAT - org.jboss.logging.annotations.Message.Format
-
Indicates the message should not be formatted.
- NONE - Static variable in annotation type org.jboss.logging.annotations.Message
-
Indicates that this message has no ID.
- note(Element, String) - Method in class org.jboss.logging.processor.apt.ToolLogger
-
Prints a note message.
- note(Element, String, Object...) - Method in class org.jboss.logging.processor.apt.ToolLogger
-
Prints a formatted note message.
O
- Objects - Class in org.jboss.logging.processor.util
-
Date: 30.08.2011
- Objects.HashCodeBuilder - Class in org.jboss.logging.processor.util
-
A builder to simplify the building of hash codes.
- Objects.ToStringBuilder - Class in org.jboss.logging.processor.util
-
A builder to build a default
Object#toString()
value. - of(Class<?>) - Static method in class org.jboss.logging.processor.util.Objects.ToStringBuilder
-
Creates a new string builder for the
clazz
. - of(Object) - Static method in class org.jboss.logging.processor.util.Objects.ToStringBuilder
-
Creates a new string builder for the
self
. - of(String) - Static method in class org.jboss.logging.processor.util.Objects.ToStringBuilder
-
Creates a new string builder for the
className
. - of(String) - Static method in class org.jboss.logging.processor.validation.StringFormatValidator
-
Creates a string format.
- of(String, Object...) - Static method in class org.jboss.logging.processor.validation.StringFormatValidator
-
Creates a string format.
- of(ProcessingEnvironment, TypeElement, Properties, boolean) - Static method in class org.jboss.logging.processor.apt.MessageInterfaceFactory
-
Creates a message interface from the
TypeElement
specified by theinterfaceElement
parameter. - of(ReportType, MessageInterface, BufferedWriter) - Static method in class org.jboss.logging.processor.apt.report.ReportWriter
-
Creates a new report writer based on the report type.
- Once - Annotation Type in org.jboss.logging.annotations
-
Indicates a message should only be logged once.
- org.jboss.logging.annotations - package org.jboss.logging.annotations
- org.jboss.logging.processor.apt - package org.jboss.logging.processor.apt
- org.jboss.logging.processor.apt.report - package org.jboss.logging.processor.apt.report
- org.jboss.logging.processor.generator.model - package org.jboss.logging.processor.generator.model
- org.jboss.logging.processor.model - package org.jboss.logging.processor.model
- org.jboss.logging.processor.util - package org.jboss.logging.processor.util
- org.jboss.logging.processor.validation - package org.jboss.logging.processor.validation
- other(Element, String) - Method in class org.jboss.logging.processor.apt.ToolLogger
-
Prints a message that does not fit the other types.
- other(Element, String, Object...) - Method in class org.jboss.logging.processor.apt.ToolLogger
-
Prints a formatted message that does not fit the other types.
P
- packageName() - Method in interface org.jboss.logging.processor.model.MessageInterface
-
The package name of the message interface.
- Param - Annotation Type in org.jboss.logging.annotations
-
Identifies a parameter is to be used for constructing an exception and excluded from the formatting of the message.
- Parameter - Interface in org.jboss.logging.processor.model
- parameters() - Method in interface org.jboss.logging.processor.model.MessageMethod
-
Returns the parameters for the method.
- parametersAnnotatedWith(Class<? extends Annotation>) - Method in interface org.jboss.logging.processor.model.MessageMethod
-
Returns an unmodifiable collection of the parameters specified by the parameter type or an empty set.
- path() - Method in annotation type org.jboss.logging.annotations.ResolutionDoc
-
The path to the resolution document.
- PATTERN - Static variable in class org.jboss.logging.processor.validation.StringFormatValidator
-
The Regex pattern.
- Pos - Annotation Type in org.jboss.logging.annotations
- PRINTF - org.jboss.logging.annotations.Message.Format
-
A
Formatter
-type format string. - printMessage(Messager) - Method in interface org.jboss.logging.processor.validation.ValidationMessage
-
Prints the message and returns
true
if the message was an error message. - process(Set<? extends TypeElement>, RoundEnvironment) - Method in class org.jboss.logging.processor.apt.LoggingToolsProcessor
- ProcessingException - Exception in org.jboss.logging.processor.apt
-
An exception that can be used to log which element caused the error.
- ProcessingException(Element, String) - Constructor for exception org.jboss.logging.processor.apt.ProcessingException
-
Creates a new exception.
- ProcessingException(Element, String, Object...) - Constructor for exception org.jboss.logging.processor.apt.ProcessingException
-
Creates a new exception.
- ProcessingException(Element, AnnotationMirror, String) - Constructor for exception org.jboss.logging.processor.apt.ProcessingException
-
Creates a new exception.
- ProcessingException(Element, AnnotationMirror, String, Object...) - Constructor for exception org.jboss.logging.processor.apt.ProcessingException
-
Creates a new exception.
- ProcessingException(Element, AnnotationMirror, AnnotationValue, String) - Constructor for exception org.jboss.logging.processor.apt.ProcessingException
-
Creates a new exception.
- ProcessingException(Element, AnnotationMirror, AnnotationValue, String, Object...) - Constructor for exception org.jboss.logging.processor.apt.ProcessingException
-
Creates a new exception.
- processTypeElement(TypeElement, TypeElement, MessageInterface) - Method in class org.jboss.logging.processor.apt.AbstractGenerator
-
Processes a type element.
- processTypeElement(TypeElement, TypeElement, MessageInterface) - Method in class org.jboss.logging.processor.apt.ReportFileGenerator
- Producer - Annotation Type in org.jboss.logging.annotations
-
Identifies a parameter has the ability to produce a
Throwable
or a super type of aThrowable
. - projectCode() - Method in annotation type org.jboss.logging.annotations.MessageBundle
-
Get the project code for messages that have an associated code.
- projectCode() - Method in annotation type org.jboss.logging.annotations.MessageLogger
-
Get the project code for messages that have an associated code.
- projectCode() - Method in interface org.jboss.logging.processor.model.MessageInterface
-
The project code for the message interface or
null
if not annotated with@MessageBundle
or@MessageLogger
. - Properties - Annotation Type in org.jboss.logging.annotations
-
Defines the default properties to use on the resultant exception object.
- Property - Annotation Type in org.jboss.logging.annotations
-
Indicate that a method parameter value should be applied to a property (with a setter method) on the resultant exception object.
Q
- qualifiedClassName() - Method in class org.jboss.logging.processor.generator.model.ClassModel
-
Get the class name.
R
- ReportFileGenerator - Class in org.jboss.logging.processor.apt
-
Generates reports for logging interfaces and message bundles.
- ReportType - Enum in org.jboss.logging.processor.apt.report
-
Defines the report type for generating reports.
- ReportWriter - Class in org.jboss.logging.processor.apt.report
-
Writes reports based on a
MessageInterface
. - ResolutionDoc - Annotation Type in org.jboss.logging.annotations
-
Allows a link to be created for messages on a report which contain a possible resolution to the issue reported .
- resolve(Properties, String) - Static method in class org.jboss.logging.processor.util.Expressions
- resolvedType() - Method in interface org.jboss.logging.processor.model.ReturnType
-
Checks this type to see if there are any type arguments.
- result() - Method in class org.jboss.logging.processor.util.Comparison
-
Ends the comparison and returns 0 if all comparisons were equal, -1 if the any of the left comparisons were less than the right comparisons or 1 if any of the right comparisons were less than the left.
- returnType() - Method in interface org.jboss.logging.processor.model.MessageMethod
-
Returns the return type for the method.
- ReturnType - Interface in org.jboss.logging.processor.model
-
Date: 29.07.2011
- rootLocale() - Method in annotation type org.jboss.logging.annotations.MessageBundle
-
Specifies the locale for formatting bundle messages.
- rootLocale() - Method in annotation type org.jboss.logging.annotations.MessageLogger
-
Specifies the locale for formatting bundle messages.
S
- shortValue() - Method in annotation type org.jboss.logging.annotations.Field
-
The default
short
value if this annotation is used on a method. - shortValue() - Method in annotation type org.jboss.logging.annotations.Property
-
The default
short
value if this annotation is used on a method. - Signature - Annotation Type in org.jboss.logging.annotations
-
Specifies the exact signature to use when creating a
Throwable
return type. - simpleName() - Method in interface org.jboss.logging.processor.model.MessageInterface
-
The name of the interface without the package.
- SIZE - org.jboss.logging.annotations.Transform.TransformType
- skip() - Method in annotation type org.jboss.logging.annotations.ResolutionDoc
-
Allows the creation of a link to be skipped.
- stackTraceToString(Throwable) - Static method in class org.jboss.logging.processor.apt.ToolLogger
-
Converts a stack trace to string output.
- StringFormatValidator - Class in org.jboss.logging.processor.validation
-
A string format representation.
- stringValue() - Method in annotation type org.jboss.logging.annotations.Field
-
The default
String
value if this annotation is used on a method. - stringValue() - Method in annotation type org.jboss.logging.annotations.Property
-
The default
String
value if this annotation is used on a method. - suffix() - Method in annotation type org.jboss.logging.annotations.ResolutionDoc
-
The suffix to append to the path.
- summaryMessage() - Method in interface org.jboss.logging.processor.validation.FormatValidator
-
A summary message if
FormatValidator.isValid()
returnsfalse
, otherwise an empty string. - Suppressed - Annotation Type in org.jboss.logging.annotations
-
Indicates the parameter should be added as a suppressed exception to the returned exception.
T
- targetName() - Method in interface org.jboss.logging.processor.model.Parameter
-
Returns the name of the target field or method.
- throwableReturnType() - Method in interface org.jboss.logging.processor.model.ReturnType
-
Returns the exception return type if
ReturnType.isThrowable()
returnstrue
. - ThrowableType - Interface in org.jboss.logging.processor.model
-
Date: 27.09.2011
- thrownTypes() - Method in interface org.jboss.logging.processor.model.MessageMethod
-
Returns a collection of throwable types the method throws.
- toHashCode() - Method in class org.jboss.logging.processor.util.Objects.HashCodeBuilder
-
Returns the calculated hash code.
- ToolLogger - Class in org.jboss.logging.processor.apt
-
A logger for logging messages for annotation processors.
- toString() - Method in class org.jboss.logging.processor.util.Objects.ToStringBuilder
- toString() - Method in class org.jboss.logging.processor.validation.StringFormatValidator
- toType(ProcessingEnvironment, Class<?>) - Static method in class org.jboss.logging.processor.util.ElementHelper
-
Returns the type as a
TypeMirror
. - toType(Elements, Class<?>) - Static method in class org.jboss.logging.processor.util.ElementHelper
-
Returns the type as a
TypeMirror
. - toTypeElement(ProcessingEnvironment, Class<?>) - Static method in class org.jboss.logging.processor.util.ElementHelper
-
Returns the type as a
TypeMirror
. - toTypeElement(Elements, Class<?>) - Static method in class org.jboss.logging.processor.util.ElementHelper
-
Returns the type as a
TypeMirror
. - transform() - Method in annotation type org.jboss.logging.annotations.Pos
-
The transform types used on the parameter.
- Transform - Annotation Type in org.jboss.logging.annotations
-
Indicate the given parameter should be transformed in each of the
transform types
provided. - Transform.TransformType - Enum in org.jboss.logging.annotations
-
The transform type
- translation(ProcessingEnvironment, MessageInterface, String, Map<MessageMethod, String>) - Static method in class org.jboss.logging.processor.generator.model.ClassModelFactory
-
Creates a class model for created translation implementations of the message interface.
- TranslationHelper - Class in org.jboss.logging.processor.util
-
Utility class to work with translation filename.
- translationKey() - Method in interface org.jboss.logging.processor.model.MessageMethod
-
Returns the name of the key used in the translation files for the message translation.
- type() - Method in interface org.jboss.logging.processor.validation.ValidationMessage
-
The type of the message.
U
- url() - Method in annotation type org.jboss.logging.annotations.ResolutionDoc
-
The URL, fully qualified or relative, to use for the resolution document.
- useConstructionParameters() - Method in interface org.jboss.logging.processor.model.ThrowableType
-
Checks to see if the throwable has and can use a custom constructor.
V
- validate(MessageInterface) - Method in class org.jboss.logging.processor.validation.IdLengthValidator
- validate(MessageInterface) - Method in class org.jboss.logging.processor.validation.IdRangeValidator
- validate(MessageInterface) - Method in class org.jboss.logging.processor.validation.Validator
-
Validates the message interface and returns a collection of validation messages or an empty collection.
- validate(MessageInterface, MessageMethod) - Method in class org.jboss.logging.processor.validation.MessageIdValidator
- ValidationMessage - Interface in org.jboss.logging.processor.validation
-
Date: 12.08.2011
- ValidationMessage.Type - Enum in org.jboss.logging.processor.validation
-
Validation message type enum.
- ValidationMessageFactory - Class in org.jboss.logging.processor.validation
-
Date: 12.08.2011
- Validator - Class in org.jboss.logging.processor.validation
-
Date: 12.08.2011
- Validator(ProcessingEnvironment) - Constructor for class org.jboss.logging.processor.validation.Validator
- ValidIdRange - Annotation Type in org.jboss.logging.annotations
-
Sets a range of valid id's allowed on the
message id
. - validIdRanges() - Method in interface org.jboss.logging.processor.model.MessageInterface
-
Returns a list of
valid id ranges
. - ValidIdRanges - Annotation Type in org.jboss.logging.annotations
- value() - Method in annotation type org.jboss.logging.annotations.BaseUrl
-
The base URL used for links to resolution documentation on reports.
- value() - Method in annotation type org.jboss.logging.annotations.ConstructType
-
The actual type that should be constructed for the return type.
- value() - Method in annotation type org.jboss.logging.annotations.Fields
-
The fields to use on the resultant exception object.
- value() - Method in annotation type org.jboss.logging.annotations.FormatWith
-
The class of the formatting object to use.
- value() - Method in annotation type org.jboss.logging.annotations.Message
-
The default format string of this message.
- value() - Method in annotation type org.jboss.logging.annotations.Param
-
Defines an exact class the parameter must match for unambiguous resolution.
- value() - Method in annotation type org.jboss.logging.annotations.Pos
-
The positions the value should be used at.
- value() - Method in annotation type org.jboss.logging.annotations.Properties
-
The properties to use on the resultant exception object.
- value() - Method in annotation type org.jboss.logging.annotations.Signature
-
An array of types matching the exact signature to use for the exception being created.
- value() - Method in annotation type org.jboss.logging.annotations.Transform
-
The transform types used on the parameter.
- value() - Method in annotation type org.jboss.logging.annotations.ValidIdRanges
-
An array of valid id ranges.
- value() - Method in interface org.jboss.logging.processor.model.MessageMethod.Message
-
A format string that can be used with the
MessageMethod.Message.format()
. - valueOf(String) - Static method in enum org.jboss.logging.annotations.Message.Format
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.jboss.logging.annotations.Transform.TransformType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.jboss.logging.processor.apt.report.ReportType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.jboss.logging.processor.validation.ValidationMessage.Type
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.jboss.logging.annotations.Message.Format
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.jboss.logging.annotations.Transform.TransformType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.jboss.logging.processor.apt.report.ReportType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.jboss.logging.processor.validation.ValidationMessage.Type
-
Returns an array containing the constants of this enum type, in the order they are declared.
- VersionComparator - Class in org.jboss.logging.processor.util
-
Compares 2 different version strings.
W
- warn(Element, String) - Method in class org.jboss.logging.processor.apt.ToolLogger
-
Prints a warning message.
- warn(Element, String, Object...) - Method in class org.jboss.logging.processor.apt.ToolLogger
-
Prints a formatted warning message.
- WARN - org.jboss.logging.processor.validation.ValidationMessage.Type
- withTranslation(String, String) - Static method in class org.jboss.logging.processor.validation.StringFormatValidator
-
Creates a string format.
- writeDetail(MessageMethod) - Method in class org.jboss.logging.processor.apt.report.ReportWriter
-
Writes a detail line for the report.
- writeFooter() - Method in class org.jboss.logging.processor.apt.report.ReportWriter
-
Writes the footer for the report.
- writeHeader(String) - Method in class org.jboss.logging.processor.apt.report.ReportWriter
-
Writes the header for the report.
X
- XML - org.jboss.logging.processor.apt.report.ReportType
All Classes All Packages