Class WorkbenchPopupProcessor
- java.lang.Object
-
- javax.annotation.processing.AbstractProcessor
-
- org.uberfire.annotations.processors.AbstractErrorAbsorbingProcessor
-
- org.uberfire.annotations.processors.WorkbenchPopupProcessor
-
- All Implemented Interfaces:
Processor
@SupportedAnnotationTypes("org.uberfire.client.annotations.WorkbenchPopup") @SupportedSourceVersion(RELEASE_8) public class WorkbenchPopupProcessor extends AbstractErrorAbsorbingProcessor
Processor forWorkbenchPopupand related annotations
-
-
Field Summary
-
Fields inherited from class javax.annotation.processing.AbstractProcessor
processingEnv
-
-
Constructor Summary
Constructors Constructor Description WorkbenchPopupProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanprocessWithExceptions(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)Same contract asAbstractErrorAbsorbingProcessor.process(Set, RoundEnvironment), except that any exceptions thrown are caught and printed as messages of typeDiagnostic.Kind.ERROR.-
Methods inherited from class org.uberfire.annotations.processors.AbstractErrorAbsorbingProcessor
init, process, rememberInitializationError, writeCode
-
Methods inherited from class javax.annotation.processing.AbstractProcessor
getCompletions, getSupportedAnnotationTypes, getSupportedOptions, getSupportedSourceVersion, isInitialized
-
-
-
-
Method Detail
-
processWithExceptions
public boolean processWithExceptions(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv) throws IOException
Description copied from class:AbstractErrorAbsorbingProcessorSame contract asAbstractErrorAbsorbingProcessor.process(Set, RoundEnvironment), except that any exceptions thrown are caught and printed as messages of typeDiagnostic.Kind.ERROR. This is done to keep Eclipse JDT from going into an infinite processing loop.- Specified by:
processWithExceptionsin classAbstractErrorAbsorbingProcessor- Throws:
IOException
-
-