X Tutup
Skip to content
This repository was archived by the owner on Feb 26, 2023. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@
*/
package org.androidannotations.handler;

import javax.annotation.processing.ProcessingEnvironment;
import javax.lang.model.element.Element;

import org.androidannotations.holder.EComponentHolder;
import org.androidannotations.model.AnnotationElements;
import org.androidannotations.process.IsValid;

import javax.annotation.processing.ProcessingEnvironment;
import javax.lang.model.element.Element;

public abstract class SupposeThreadHandler extends BaseAnnotationHandler<EComponentHolder> {

public SupposeThreadHandler(Class<?> targetClass, ProcessingEnvironment processingEnvironment) {
Expand All @@ -32,6 +32,7 @@ public SupposeThreadHandler(Class<?> targetClass, ProcessingEnvironment processi
protected void validate(Element element, AnnotationElements validatedElements, IsValid valid) {
validatorHelper.enclosingElementHasEnhancedComponentAnnotation(element, validatedElements, valid);
validatorHelper.isNotPrivate(element, valid);
validatorHelper.isNotFinal(element, valid);
}

}
X Tutup