- AbstractGenerator - Class in org.jboss.logging.processor.apt
-
An abstract processor used process annotations.
- 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(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(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(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(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.
- Annotations - Interface in org.jboss.logging.processor.apt
-
An interface used to extract information about the logging annotations.
- annotations() - Static method in class org.jboss.logging.processor.Tools
-
- Annotations.FormatType - Enum in org.jboss.logging.processor.apt
-
The message format type.
- Annotations.Void - Annotation Type in org.jboss.logging.processor.apt
-
A simple annotation to allow an annotation to be ignored.
- AnnotationsImpl - Class in org.jboss.logging.processor.apt
-
An implementation for an annotation processor.
- AnnotationsImpl() - Constructor for class org.jboss.logging.processor.apt.AnnotationsImpl
-
- 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(long, long) - Static method in class org.jboss.logging.processor.util.Objects
-
Checks to see if two longs are equal.
- areEqual(float, float) - Static method in class org.jboss.logging.processor.util.Objects
-
Checks to see if two floats are equal.
- areEqual(double, double) - Static method in class org.jboss.logging.processor.util.Objects
-
Checks to see if two doubles 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
-
- asFormat() - Method in class org.jboss.logging.processor.validation.StringFormatValidator
-
Recreates the format using the internal formatting descriptors.
- getAnnotatedType() - Method in interface org.jboss.logging.processor.model.MessageInterface
-
Returns the annotation type on the interface.
- getAnnotationValue(Element, String, String) - Static method in class org.jboss.logging.processor.util.ElementHelper
-
Returns the annotation value for the annotation.
- getComment() - Method in interface org.jboss.logging.processor.model.JavaDocComment
-
The JavaDoc comments if available or null
if there are no JavaDoc's present.
- 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.
- getFormatWithAnnotationName(VariableElement) - Method in interface org.jboss.logging.processor.apt.Annotations
-
Returns the name of the @FormatWith
class.
- getFormatWithAnnotationName(VariableElement) - Method in class org.jboss.logging.processor.apt.AnnotationsImpl
-
- getIdLength() - Method in interface org.jboss.logging.processor.model.MessageInterface
-
The length to pad the id with.
- getInstance() - Method in class org.jboss.logging.processor.util.Comparison
-
Returns the comparison instance being used.
- 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.
- getMessageLoggerAnnotationName(TypeElement) - Method in interface org.jboss.logging.processor.apt.Annotations
-
Returns the name of the @MessageLogger
class.
- getMessageLoggerAnnotationName(TypeElement) - Method in class org.jboss.logging.processor.apt.AnnotationsImpl
-
- getMessageObject() - Method in interface org.jboss.logging.processor.validation.ValidationMessage
-
Returns the message object that caused the error.
- getName() - Method in class org.jboss.logging.processor.apt.AbstractGenerator
-
Returns the name of the processor.
- getPrimaryClassNamePrefix(TypeElement) - Static method in class org.jboss.logging.processor.util.ElementHelper
-
Returns the primary class simple name prefix for an element
who represents a MessageBundle or MessageLogger interface.
- getSupportedAnnotations() - Method in interface org.jboss.logging.processor.apt.Annotations
-
Returns a set of the supported annotations.
- getSupportedAnnotations() - Method in class org.jboss.logging.processor.apt.AnnotationsImpl
-
- 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
-
- 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.
- GREATER - Static variable in class org.jboss.logging.processor.util.Comparison
-
- hasCause() - Method in interface org.jboss.logging.processor.model.MessageMethod
-
Returns true
if there is a cause element, otherwise false
.
- hasCause(Collection<? extends VariableElement>) - Static method in class org.jboss.logging.processor.util.ElementHelper
-
Checks to see if there is a cause parameter.
- hasCauseAnnotation(VariableElement) - Method in interface org.jboss.logging.processor.apt.Annotations
-
Checks to see if the parameter has a cause annotation.
- hasCauseAnnotation(VariableElement) - Method in class org.jboss.logging.processor.apt.AnnotationsImpl
-
- hasDefaultConstructor() - Method in interface org.jboss.logging.processor.model.ThrowableType
-
Checks to see the throwable has a default constructor.
- hasFieldAnnotation(VariableElement) - Method in interface org.jboss.logging.processor.apt.Annotations
-
Checks to see if the parameter has a field annotation.
- hasFieldAnnotation(VariableElement) - Method in class org.jboss.logging.processor.apt.AnnotationsImpl
-
- hasFieldFor(Parameter) - Method in interface org.jboss.logging.processor.model.ReturnType
-
Checks to see if the return type has a field with the name with the same name and type as the
parameter
.
- hasFieldFor(Parameter) - Method in class org.jboss.logging.processor.model.ReturnType.VoidReturnType
-
- hashCode() - Method in class org.jboss.logging.processor.model.ReturnType.VoidReturnType
-
- 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.
- hasLoggingClassAnnotation(VariableElement) - Method in interface org.jboss.logging.processor.apt.Annotations
-
Checks to see if the parameter has a logging class annotation.
- hasLoggingClassAnnotation(VariableElement) - Method in class org.jboss.logging.processor.apt.AnnotationsImpl
-
- hasMessageAnnotation(ExecutableElement) - Method in interface org.jboss.logging.processor.apt.Annotations
-
Checks to see if the method is annotated with the message annotation.
- hasMessageAnnotation(ExecutableElement) - Method in class org.jboss.logging.processor.apt.AnnotationsImpl
-
- hasMessageId(ExecutableElement) - Method in interface org.jboss.logging.processor.apt.Annotations
-
Checks to see if the method has a message id.
- hasMessageId(ExecutableElement) - Method in class org.jboss.logging.processor.apt.AnnotationsImpl
-
- hasMethodFor(Parameter) - Method in interface org.jboss.logging.processor.model.ReturnType
-
Checks to see if the return type has a method with the name with the same name and parameter type as the
parameter
.
- hasMethodFor(Parameter) - Method in class org.jboss.logging.processor.model.ReturnType.VoidReturnType
-
- hasParamAnnotation(VariableElement) - Method in interface org.jboss.logging.processor.apt.Annotations
-
Checks to see if the parameter has a parameter annotation.
- hasParamAnnotation(VariableElement) - Method in class org.jboss.logging.processor.apt.AnnotationsImpl
-
- hasPropertyAnnotation(VariableElement) - Method in interface org.jboss.logging.processor.apt.Annotations
-
Checks to see if the parameter has a property annotation.
- hasPropertyAnnotation(VariableElement) - Method in class org.jboss.logging.processor.apt.AnnotationsImpl
-
- 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.
- id() - Method in interface org.jboss.logging.processor.model.MessageMethod.Message
-
The message id for the message to use.
- idLength(TypeElement) - Method in interface org.jboss.logging.processor.apt.Annotations
-
The length the id should be padded.
- idLength(TypeElement) - Method in class org.jboss.logging.processor.apt.AnnotationsImpl
-
- 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(MessageInterface, boolean) - 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.
- inheritsMessage(Collection<ExecutableElement>, ExecutableElement) - Static method in class org.jboss.logging.processor.util.ElementHelper
-
Checks to see if the method has or inherits a
Message
annotation.
- inheritsMessageId(ExecutableElement) - Method in interface org.jboss.logging.processor.apt.Annotations
-
Checks to see if the method should inherit the message id from a different method if applicable.
- inheritsMessageId(ExecutableElement) - Method in class org.jboss.logging.processor.apt.AnnotationsImpl
-
- init(ProcessingEnvironment) - Method in class org.jboss.logging.processor.apt.LoggingToolsProcessor
-
- INSTANCE - Static variable in class org.jboss.logging.processor.util.VersionComparator
-
- isAnnotatedWith(Element, Class<? extends Annotation>) - Static method in class org.jboss.logging.processor.util.ElementHelper
-
Check if an element is annotated with the given annotation.
- isAnnotatedWith(Element, String) - 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, otherwise false
.
- isAssignableFrom(Class<?>) - Method in interface org.jboss.logging.processor.model.MessageObjectType
-
Determines if this type is either the same as, or is a supertype of, the class represented by the type
parameter.
- isAssignableFrom(Class<?>) - Method in class org.jboss.logging.processor.model.ReturnType.VoidReturnType
-
- 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, otherwise false
.
- isLoggerMethod(ExecutableElement) - Method in interface org.jboss.logging.processor.apt.Annotations
-
Checks to see if the method is a logger method.
- isLoggerMethod(ExecutableElement) - Method in class org.jboss.logging.processor.apt.AnnotationsImpl
-
- isLoggerMethod() - Method in interface org.jboss.logging.processor.model.MessageMethod
-
Returns true
if this is a logger method, otherwise false
.
- isMessageBundle(TypeElement) - Method in interface org.jboss.logging.processor.apt.Annotations
-
Checks the
element
to see it's a message bundle.
- isMessageBundle(TypeElement) - Method in class org.jboss.logging.processor.apt.AnnotationsImpl
-
- isMessageLogger(TypeElement) - Method in interface org.jboss.logging.processor.apt.Annotations
-
Checks the
element
to see it's a message logger.
- isMessageLogger(TypeElement) - Method in class org.jboss.logging.processor.apt.AnnotationsImpl
-
- isOverloaded() - Method in interface org.jboss.logging.processor.model.MessageMethod
-
Returns true
if the method is overloaded, otherwise false
.
- isOverloaded(Collection<ExecutableElement>, ExecutableElement) - Static method in class org.jboss.logging.processor.util.ElementHelper
-
Checks to see if the method is overloaded.
- isPrimitive() - Method in interface org.jboss.logging.processor.model.Parameter
-
Returns true
if the type is a primitive type, otherwise false
.
- isPrimitive() - Method in interface org.jboss.logging.processor.model.ReturnType
-
Indicates whether or not the return type is a primitive.
- isPrimitive() - Method in class org.jboss.logging.processor.model.ReturnType.VoidReturnType
-
- isSameAs(Class<?>) - Method in interface org.jboss.logging.processor.model.MessageObjectType
-
Determines if this type is the same type as the class represented by the type
parameter.
- isSameAs(Class<?>) - Method in class org.jboss.logging.processor.model.ReturnType.VoidReturnType
-
- isSubtypeOf(Class<?>) - Method in interface org.jboss.logging.processor.model.MessageObjectType
-
Determines if this type is a subtype of the class represented by the type
parameter.
- isSubtypeOf(Class<?>) - Method in class org.jboss.logging.processor.model.ReturnType.VoidReturnType
-
- isSupportedInterfaceAnnotation(TypeElement) - Method in interface org.jboss.logging.processor.apt.Annotations
-
Checks that the annotation is a supported interface annotation.
- isSupportedInterfaceAnnotation(TypeElement) - Method in class org.jboss.logging.processor.apt.AnnotationsImpl
-
- isThrowable() - Method in interface org.jboss.logging.processor.model.ReturnType
-
Checks to see if the return type is an exception, extends Throwable.
- isThrowable() - Method in class org.jboss.logging.processor.model.ReturnType.VoidReturnType
-
- isValid() - Method in interface org.jboss.logging.processor.validation.FormatValidator
-
Returns true
of the format is valid, otherwise false
.
- isValid() - Method in class org.jboss.logging.processor.validation.StringFormatValidator
-
- isVarArgs() - Method in interface org.jboss.logging.processor.model.Parameter
-
Returns true
if the parameter is a var args parameter, otherwise false
.
- validate(MessageInterface) - Method in class org.jboss.logging.processor.validation.IdLengthValidator
-
- validate(MessageInterface) - Method in class org.jboss.logging.processor.validation.IdRangeValidator
-
- validate(MessageInterface, MessageMethod) - Method in class org.jboss.logging.processor.validation.MessageIdValidator
-
- 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.
- 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() - 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 - Annotation Type in org.jboss.logging.annotations
-
- validIdRanges() - Method in interface org.jboss.logging.processor.model.MessageInterface
-
- value() - Method in interface org.jboss.logging.processor.model.MessageMethod.Message
-
- 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.Annotations.FormatType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.jboss.logging.processor.model.MessageInterface.AnnotatedType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.jboss.logging.processor.model.Parameter.ParameterType
-
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.Annotations.FormatType
-
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.model.MessageInterface.AnnotatedType
-
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.model.Parameter.ParameterType
-
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.
- VOID - Static variable in interface org.jboss.logging.processor.model.ReturnType
-