Skip navigation links
A C D E F G H I L N O P Q R S T V W 

A

annotatedElements(FiniteIterable<? extends TypeElement>, RoundEnvironment) - Static method in class net.digitalid.utility.processing.logging.ProcessingLog
Logs the elements which are annotated with one of the given annotations of the given round environment.
AnnotationValueVisitor() - Constructor for class net.digitalid.utility.processing.utility.ProcessingUtility.AnnotationValueVisitor
 

C

correspond(TypeMirror, Class<?>) - Static method in class net.digitalid.utility.processing.utility.ProcessingUtility
Returns whether the given mirror corresponds to the given type.
correspond(Element, Class<?>) - Static method in class net.digitalid.utility.processing.utility.ProcessingUtility
Returns whether the type of the given element corresponds to the given type.

D

debugging(CharSequence, SourcePosition, Object...) - Static method in class net.digitalid.utility.processing.logging.ProcessingLog
Logs the given message with the given position for debugging.
debugging(CharSequence, Object...) - Static method in class net.digitalid.utility.processing.logging.ProcessingLog
Logs the given message for debugging.
defaultAction(TypeMirror, Void) - Method in class net.digitalid.utility.processing.utility.ProcessingUtility.QualifiedNameTypeVisitor
 

E

environment - Static variable in class net.digitalid.utility.processing.utility.StaticProcessingEnvironment
Stores the processing environment of the current annotation processor.
error(CharSequence, SourcePosition, Object...) - Static method in class net.digitalid.utility.processing.logging.ProcessingLog
Logs the given message with the given position as an error.
error(CharSequence, Object...) - Static method in class net.digitalid.utility.processing.logging.ProcessingLog
Logs the given message as an error.
ErrorLogger - Class in net.digitalid.utility.processing.logging
This class allows to inject other behavior into the usage checks of annotation handlers for testing.
ErrorLogger() - Constructor for class net.digitalid.utility.processing.logging.ErrorLogger
 

F

filter(FiniteIterable<Element>, ElementKind, Class<E>) - Static method in class net.digitalid.utility.processing.utility.ProcessingUtility
Returns the elements in the given iterable which are of the given kind cast to the given type.

G

getAllFields(TypeElement) - Static method in class net.digitalid.utility.processing.utility.ProcessingUtility
Returns the directly declared and inherited fields of the given type element.
getAllMembers(TypeElement) - Static method in class net.digitalid.utility.processing.utility.ProcessingUtility
Returns the directly declared and inherited members of the given type element.
getAllMethods(TypeElement) - Static method in class net.digitalid.utility.processing.utility.ProcessingUtility
Returns the directly declared and inherited methods of the given type element.
getAnnotationAsString(AnnotationMirror, TypeImporter) - Static method in class net.digitalid.utility.processing.utility.ProcessingUtility
Returns the given annotation with its values as a string.
getAnnotationMirror() - Method in class net.digitalid.utility.processing.logging.SourcePosition
Returns the annotation mirror of this position.
getAnnotationMirror(Element, Class<? extends Annotation>) - Static method in class net.digitalid.utility.processing.utility.ProcessingUtility
Returns the annotation mirror corresponding to the given annotation type of the given element or null if not found.
getAnnotationMirrors(Element) - Static method in class net.digitalid.utility.processing.utility.ProcessingUtility
Returns the annotation mirrors that are present on the given element or its (return) (component) type.
getAnnotationsAsString(FiniteIterable<? extends AnnotationMirror>, TypeImporter) - Static method in class net.digitalid.utility.processing.utility.ProcessingUtility
Returns the given annotations with their values as a string.
getAnnotationsAsString(TypeMirror, TypeImporter) - Static method in class net.digitalid.utility.processing.utility.ProcessingUtility
Returns the annotations of the given type mirror with their values as a string.
getAnnotationValue() - Method in class net.digitalid.utility.processing.logging.SourcePosition
Returns the annotation value of this position.
getAnnotationValue(AnnotationMirror, String) - Static method in class net.digitalid.utility.processing.utility.ProcessingUtility
Returns the annotation value for the given method name of the given annotation mirror or null if not found.
getAnnotationValue(AnnotationMirror) - Static method in class net.digitalid.utility.processing.utility.ProcessingUtility
Returns the annotation value for the value method of the given annotation mirror or null if not found.
getAnnotationValue(Element, Class<? extends Annotation>, String) - Static method in class net.digitalid.utility.processing.utility.ProcessingUtility
Returns the annotation value for the given method name of the given annotation type on the given element or null if not found.
getAnnotationValue(Element, Class<? extends Annotation>) - Static method in class net.digitalid.utility.processing.utility.ProcessingUtility
Returns the annotation value for the default value method of the given annotation type on the given element or null if not found.
getAnnotationValueAsString(AnnotationValue, TypeImporter) - Static method in class net.digitalid.utility.processing.utility.ProcessingUtility
Returns the given annotation value as a string.
getAnnotationValues(AnnotationMirror) - Static method in class net.digitalid.utility.processing.utility.ProcessingUtility
Returns the annotation values mapped from their name for all methods of the given annotation mirror.
getBoxedType(TypeMirror) - Static method in class net.digitalid.utility.processing.utility.ProcessingUtility
Returns the boxed type of the given type mirror or its component type in case of arrays.
getClass(TypeMirror) - Static method in class net.digitalid.utility.processing.utility.ProcessingUtility
Returns the given type mirror as a class object.
getClass(AnnotationValue) - Static method in class net.digitalid.utility.processing.utility.ProcessingUtility
Returns the given annotation value as a class object or propagates null.
getComponentType(TypeMirror, ErrorLogger) - Static method in class net.digitalid.utility.processing.utility.ProcessingUtility
Returns the component type of the given type if it is an array or an iterable and logs errors with the given logger otherwise.
getComponentType(TypeMirror) - Static method in class net.digitalid.utility.processing.utility.ProcessingUtility
Returns the component type of the given type if it is an array or an iterable.
getComponentType(Element, ErrorLogger) - Static method in class net.digitalid.utility.processing.utility.ProcessingUtility
Returns the component type of the type of the given element if it is an array or an iterable and logs errors with the given logger otherwise.
getComponentType(Element) - Static method in class net.digitalid.utility.processing.utility.ProcessingUtility
Returns the component type of the type of the given element if it is an array or an iterable.
getComponentTypes(TypeMirror, ErrorLogger) - Static method in class net.digitalid.utility.processing.utility.ProcessingUtility
Returns the component types of the given type if it is an array or an iterable and logs errors with the given logger otherwise.
getComponentTypes(TypeMirror) - Static method in class net.digitalid.utility.processing.utility.ProcessingUtility
Returns the component types of the given type if it is an array or an iterable.
getComponentTypes(Element, ErrorLogger) - Static method in class net.digitalid.utility.processing.utility.ProcessingUtility
Returns the component types of the type of the given element if it is an array or an iterable and logs errors with the given logger otherwise.
getComponentTypes(Element) - Static method in class net.digitalid.utility.processing.utility.ProcessingUtility
Returns the component types of the type of the given element if it is an array or an iterable.
getConstructors(TypeElement) - Static method in class net.digitalid.utility.processing.utility.ProcessingUtility
Returns the directly declared constructors of the given type element.
getElement() - Method in class net.digitalid.utility.processing.logging.SourcePosition
Returns the element of this position.
getElementUtils() - Static method in class net.digitalid.utility.processing.utility.StaticProcessingEnvironment
Returns a implementation of some utility methods for operating on elements.
getEnum(AnnotationValue, Class<T>) - Static method in class net.digitalid.utility.processing.utility.ProcessingUtility
Returns the given annotation value as a constant of the given enum type or propagates null.
getEnums(AnnotationValue, Class<T>) - Static method in class net.digitalid.utility.processing.utility.ProcessingUtility
Returns the given annotation value as constants of the given enum type or returns an empty iterable if the given annotation value is null.
getErasedTypeMirror(Class<?>) - Static method in class net.digitalid.utility.processing.utility.ProcessingUtility
Returns the given class object as an erased type mirror.
getFields(TypeElement) - Static method in class net.digitalid.utility.processing.utility.ProcessingUtility
Returns the directly declared fields of the given type element.
getFieldsOfType(TypeElement, Class<?>) - Static method in class net.digitalid.utility.processing.utility.ProcessingUtility
Returns a list of all the fields with the given type in the given type element.
getFirstPublicStaticFieldOfType(TypeElement, Class<?>) - Static method in class net.digitalid.utility.processing.utility.ProcessingUtility
Returns the first public and static field with the given type in the given type element.
getInstance(AnnotationValue, Class<T>) - Static method in class net.digitalid.utility.processing.utility.ProcessingUtility
Returns the given annotation value as a new instance of the given type or propagates null.
getMembers(TypeElement) - Static method in class net.digitalid.utility.processing.utility.ProcessingUtility
Returns the directly declared members of the given type element.
getMethods(TypeElement) - Static method in class net.digitalid.utility.processing.utility.ProcessingUtility
Returns the directly declared methods of the given type element.
getNonPrivateMethod(TypeElement, String, Class<?>, Class<?>...) - Static method in class net.digitalid.utility.processing.utility.ProcessingUtility
Returns the non-private method with the given name, return type, parameter types and no thrown types in the given type element or null if no such method is found.
getQualifiedName(AnnotationMirror) - Static method in class net.digitalid.utility.processing.utility.ProcessingUtility
Returns the qualified name of the annotation type of the given annotation mirror.
getQualifiedName(TypeMirror) - Static method in class net.digitalid.utility.processing.utility.ProcessingUtility
Returns the qualified name of the given type mirror without generic parameters.
getQualifiedPackageName(Element) - Static method in class net.digitalid.utility.processing.utility.ProcessingUtility
Returns the qualified name of the package in which the given element is declared.
getSimpleName(AnnotationMirror) - Static method in class net.digitalid.utility.processing.utility.ProcessingUtility
Returns the simple name of the given annotation mirror.
getSimpleName(TypeMirror) - Static method in class net.digitalid.utility.processing.utility.ProcessingUtility
Returns the simple name of the given type mirror without generic parameters.
getSimpleNameWithLeadingAt(AnnotationMirror) - Static method in class net.digitalid.utility.processing.utility.ProcessingUtility
Returns the simple name of the given annotation mirror with a leading at symbol.
getString(AnnotationValue) - Static method in class net.digitalid.utility.processing.utility.ProcessingUtility
Returns the given annotation value as a string or propagates null.
getSupertype(DeclaredType, Class<?>) - Static method in class net.digitalid.utility.processing.utility.ProcessingUtility
Returns the supertype of the given source type that corresponds to the given target type or null (without logged errors) if not found.
getSurroundingType(Element) - Static method in class net.digitalid.utility.processing.utility.ProcessingUtility
Returns the type in which the given element is declared.
getType(TypeMirror) - Static method in class net.digitalid.utility.processing.utility.ProcessingUtility
Returns the given type or the return type if the given type is an executable type.
getType(Element) - Static method in class net.digitalid.utility.processing.utility.ProcessingUtility
Returns the type of the given element or the return type if the given element is an executable element.
getTypeElement(TypeMirror) - Static method in class net.digitalid.utility.processing.utility.ProcessingUtility
Returns the given type mirror or its component type in case of arrays as a type element.
getTypeMirror(Class<?>) - Static method in class net.digitalid.utility.processing.utility.ProcessingUtility
Returns the given class object as a type mirror.
getTypeUtils() - Static method in class net.digitalid.utility.processing.utility.StaticProcessingEnvironment
Returns a implementation of some utility methods for operating on types.

H

hasAnnotation(Element, Class<? extends Annotation>) - Static method in class net.digitalid.utility.processing.utility.ProcessingUtility
Returns whether the given element has an annotation of the given type.
hasNonPrivateMethod(TypeElement, String, Class<?>, Class<?>...) - Static method in class net.digitalid.utility.processing.utility.ProcessingUtility
Returns whether the given type element contains a non-private method with the given name, return type, parameter types and no thrown types.
hasPublicDefaultConstructor(TypeElement) - Static method in class net.digitalid.utility.processing.utility.ProcessingUtility
Returns whether the given type element has a public default constructor.

I

importIfPossible(String) - Method in interface net.digitalid.utility.processing.utility.TypeImporter
Imports the given qualified type name if its simple name is not yet mapped to a different type.
importIfPossible(Class<?>) - Method in interface net.digitalid.utility.processing.utility.TypeImporter
Imports the given type if its simple name is not yet mapped to a different type.
importIfPossible(Element) - Method in interface net.digitalid.utility.processing.utility.TypeImporter
Imports the given element, which has to be qualified nameable, if its simple name is not yet mapped to a different type.
importIfPossible(TypeMirror) - Method in interface net.digitalid.utility.processing.utility.TypeImporter
Imports the given type mirror with its generic parameters if their simple names are not yet mapped to different types.
importStaticallyIfPossible(String) - Method in interface net.digitalid.utility.processing.utility.TypeImporter
Imports the given qualified member name if its simple name is not yet mapped to a different member.
information(CharSequence, SourcePosition, Object...) - Static method in class net.digitalid.utility.processing.logging.ProcessingLog
Logs the given message with the given position as information.
information(CharSequence, Object...) - Static method in class net.digitalid.utility.processing.logging.ProcessingLog
Logs the given message as information.
initialize(String) - Static method in class net.digitalid.utility.processing.logging.ProcessingLog
Initializes the output file of the logger with the given name.
INSTANCE - Static variable in class net.digitalid.utility.processing.logging.ErrorLogger
Stores an immutable instance of the error logger, which can be shared.
isDeclaredInDigitalIDLibrary(Element) - Static method in class net.digitalid.utility.processing.utility.ProcessingUtility
Returns whether the given element is declared in the Digital ID library (DID SDK).
isDeclaredInRuntimeEnvironment(Element) - Static method in class net.digitalid.utility.processing.utility.ProcessingUtility
Returns whether the given element is declared in the Java Runtime Environment (JRE).
isGetter(ExecutableElement) - Static method in class net.digitalid.utility.processing.utility.ProcessingUtility
Returns whether the given method is a (potentially static) getter.
isPrimitive(TypeMirror) - Static method in class net.digitalid.utility.processing.utility.ProcessingUtility
Returns whether the given type mirror or its component type in case of arrays is primitive.
isRawlyAssignable(TypeMirror, Class<?>) - Static method in class net.digitalid.utility.processing.utility.ProcessingUtility
Returns whether the given declared type is rawly assignable to the given desired type.
isRawlyAssignable(Element, Class<?>) - Static method in class net.digitalid.utility.processing.utility.ProcessingUtility
Returns whether the given element is rawly assignable to the given type.
isRawSubtype(TypeMirror, Class<?>) - Static method in class net.digitalid.utility.processing.utility.ProcessingUtility
Returns whether the given declared type is a raw subtype of the given desired type.
isRawSubtype(Element, Class<?>) - Static method in class net.digitalid.utility.processing.utility.ProcessingUtility
Returns whether the type of the given element is a raw subtype of the given type.
isSetter(ExecutableElement) - Method in class net.digitalid.utility.processing.utility.ProcessingUtility
Returns whether the given method is a (potentially static) setter.

L

log(CharSequence, SourcePosition, Object...) - Method in class net.digitalid.utility.processing.logging.ErrorLogger
Logs the given message with the given position as an error.
log(Level, CharSequence, SourcePosition, Object...) - Static method in class net.digitalid.utility.processing.logging.ProcessingLog
Logs the given message with the given position at the given level.
LogsErrorWhenReturningNull - Annotation Type in net.digitalid.utility.processing.annotations
This annotation indicates that the annotated method logs a processing error when returning null.

N

net.digitalid.utility.processing.annotations - package net.digitalid.utility.processing.annotations
Provides annotations for annotation processing.
net.digitalid.utility.processing.logging - package net.digitalid.utility.processing.logging
Provides classes for logging during annotation processing.
net.digitalid.utility.processing.utility - package net.digitalid.utility.processing.utility
Provides utility classes for annotation processing.

O

of(Element, AnnotationMirror, AnnotationValue) - Static method in class net.digitalid.utility.processing.logging.SourcePosition
Returns a source position with the given arguments.
of(Element, AnnotationMirror) - Static method in class net.digitalid.utility.processing.logging.SourcePosition
Returns a source position with the given arguments.
of(Element) - Static method in class net.digitalid.utility.processing.logging.SourcePosition
Returns a source position with the given element.

P

ProcessingLog - Class in net.digitalid.utility.processing.logging
This class makes it easier to log messages during annotation processing.
ProcessingLog() - Constructor for class net.digitalid.utility.processing.logging.ProcessingLog
 
ProcessingUtility - Class in net.digitalid.utility.processing.utility
This class provides useful methods for annotation processing.
ProcessingUtility() - Constructor for class net.digitalid.utility.processing.utility.ProcessingUtility
 
ProcessingUtility.AnnotationValueVisitor - Class in net.digitalid.utility.processing.utility
Important: Do not call AbstractAnnotationValueVisitor6.visit(javax.lang.model.element.AnnotationValue) as this passes null as the visitor-specified parameter instead of a type importer.
ProcessingUtility.QualifiedNameTypeVisitor - Class in net.digitalid.utility.processing.utility
This type visitor returns the qualified name of the given type without generic parameters.
ProcessingUtility.SimpleNameTypeVisitor - Class in net.digitalid.utility.processing.utility
This type visitor returns the simple name of the given type without generic parameters.

Q

QualifiedNameTypeVisitor() - Constructor for class net.digitalid.utility.processing.utility.ProcessingUtility.QualifiedNameTypeVisitor
 

R

rootElements(RoundEnvironment) - Static method in class net.digitalid.utility.processing.logging.ProcessingLog
Logs the root elements of the given round environment.

S

SimpleNameTypeVisitor() - Constructor for class net.digitalid.utility.processing.utility.ProcessingUtility.SimpleNameTypeVisitor
 
SourcePosition - Class in net.digitalid.utility.processing.logging
This class models a position in the source code.
SourcePosition(Element, AnnotationMirror, AnnotationValue) - Constructor for class net.digitalid.utility.processing.logging.SourcePosition
 
StaticProcessingEnvironment - Class in net.digitalid.utility.processing.utility
This class provides the environment for annotation processing.
StaticProcessingEnvironment() - Constructor for class net.digitalid.utility.processing.utility.StaticProcessingEnvironment
 

T

toString() - Method in class net.digitalid.utility.processing.logging.SourcePosition
 
TypeImporter - Interface in net.digitalid.utility.processing.utility
This interface allows a code generator to import the referenced types.

V

verbose(CharSequence, SourcePosition, Object...) - Static method in class net.digitalid.utility.processing.logging.ProcessingLog
Logs the given message with the given position only in verbose mode.
verbose(CharSequence, Object...) - Static method in class net.digitalid.utility.processing.logging.ProcessingLog
Logs the given message only in verbose mode.
visitAnnotation(AnnotationMirror, TypeImporter) - Method in class net.digitalid.utility.processing.utility.ProcessingUtility.AnnotationValueVisitor
 
visitArray(List<? extends AnnotationValue>, TypeImporter) - Method in class net.digitalid.utility.processing.utility.ProcessingUtility.AnnotationValueVisitor
 
visitArray(ArrayType, Void) - Method in class net.digitalid.utility.processing.utility.ProcessingUtility.QualifiedNameTypeVisitor
 
visitBoolean(boolean, TypeImporter) - Method in class net.digitalid.utility.processing.utility.ProcessingUtility.AnnotationValueVisitor
 
visitByte(byte, TypeImporter) - Method in class net.digitalid.utility.processing.utility.ProcessingUtility.AnnotationValueVisitor
 
visitChar(char, TypeImporter) - Method in class net.digitalid.utility.processing.utility.ProcessingUtility.AnnotationValueVisitor
 
visitDeclared(DeclaredType, Void) - Method in class net.digitalid.utility.processing.utility.ProcessingUtility.QualifiedNameTypeVisitor
 
visitDeclared(DeclaredType, Void) - Method in class net.digitalid.utility.processing.utility.ProcessingUtility.SimpleNameTypeVisitor
 
visitDouble(double, TypeImporter) - Method in class net.digitalid.utility.processing.utility.ProcessingUtility.AnnotationValueVisitor
 
visitEnumConstant(VariableElement, TypeImporter) - Method in class net.digitalid.utility.processing.utility.ProcessingUtility.AnnotationValueVisitor
 
visitFloat(float, TypeImporter) - Method in class net.digitalid.utility.processing.utility.ProcessingUtility.AnnotationValueVisitor
 
visitInt(int, TypeImporter) - Method in class net.digitalid.utility.processing.utility.ProcessingUtility.AnnotationValueVisitor
 
visitLong(long, TypeImporter) - Method in class net.digitalid.utility.processing.utility.ProcessingUtility.AnnotationValueVisitor
 
visitShort(short, TypeImporter) - Method in class net.digitalid.utility.processing.utility.ProcessingUtility.AnnotationValueVisitor
 
visitString(String, TypeImporter) - Method in class net.digitalid.utility.processing.utility.ProcessingUtility.AnnotationValueVisitor
 
visitType(TypeMirror, TypeImporter) - Method in class net.digitalid.utility.processing.utility.ProcessingUtility.AnnotationValueVisitor
 
visitWildcard(WildcardType, Void) - Method in class net.digitalid.utility.processing.utility.ProcessingUtility.QualifiedNameTypeVisitor
 

W

warning(CharSequence, SourcePosition, Object...) - Static method in class net.digitalid.utility.processing.logging.ProcessingLog
Logs the given message with the given position as a warning.
warning(CharSequence, Object...) - Static method in class net.digitalid.utility.processing.logging.ProcessingLog
Logs the given message as a warning.
A C D E F G H I L N O P Q R S T V W 
Skip navigation links

Copyright © 2017. All rights reserved.