Class Conditional.ConditionalProcessor
- java.lang.Object
-
- de.bmiag.tapir.annotationprocessing.AbstractDynamicAnnotationProcessor
-
- de.bmiag.tapir.conditional.annotations.Conditional.ConditionalProcessor
-
- All Implemented Interfaces:
org.eclipse.xtend.lib.macro.CodeGenerationParticipant<org.eclipse.xtend.lib.macro.declaration.NamedElement>
,org.eclipse.xtend.lib.macro.RegisterGlobalsParticipant<org.eclipse.xtend.lib.macro.declaration.NamedElement>
,org.eclipse.xtend.lib.macro.TransformationParticipant<org.eclipse.xtend.lib.macro.declaration.MutableNamedElement>
,org.eclipse.xtend.lib.macro.ValidationParticipant<org.eclipse.xtend.lib.macro.declaration.NamedElement>
- Enclosing class:
- Conditional
public static class Conditional.ConditionalProcessor extends AbstractDynamicAnnotationProcessor
Annotation Processor for @{link Conditional}.
-
-
Constructor Summary
Constructors Constructor Description ConditionalProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.String
getProcessorKey()
Returns the processorKey which is normally the fully qualified name of the annotation which is annotated byDynamicActive
.protected boolean
isRequired()
Returns true if there has to be an annotation processor which handles the annotation.-
Methods inherited from class de.bmiag.tapir.annotationprocessing.AbstractDynamicAnnotationProcessor
doGenerateCode, doRegisterGlobals, doTransform, doValidate, getProcessorOptional
-
-
-
-
Method Detail
-
getProcessorKey
protected java.lang.String getProcessorKey()
Description copied from class:AbstractDynamicAnnotationProcessor
Returns the processorKey which is normally the fully qualified name of the annotation which is annotated byDynamicActive
.- Specified by:
getProcessorKey
in classAbstractDynamicAnnotationProcessor
- Returns:
- the processor key
-
isRequired
protected boolean isRequired()
Description copied from class:AbstractDynamicAnnotationProcessor
Returns true if there has to be an annotation processor which handles the annotation.- Specified by:
isRequired
in classAbstractDynamicAnnotationProcessor
- Returns:
- true if there has to be an Annotation Processor which handles the annotation, otherwise false
-
-