- 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.
- 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.
- generateAndWrite() - Method in class org.jboss.logging.processor.generator.model.ClassModel
-
Writes the generated source file to the file system.
- getAnnotatedType() - Method in interface org.jboss.logging.processor.model.MessageInterface
-
Returns the annotation type on the interface.
- 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.
- 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.
- 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.
- 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.
- 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
-
- id() - Method in interface org.jboss.logging.processor.model.MessageMethod.Message
-
The message id for the message to use.
- 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(Filer, 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.
- 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.
- 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.
- 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() - Method in interface org.jboss.logging.processor.model.MessageMethod
-
Returns true
if this is a logger method, otherwise false
.
- 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
-
- 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
.