use of com.helger.jcodemodel.JEnumConstantRef in project androidannotations by androidannotations.
the class AnnotationArrayParamExtractor method visitEnumConstant.
@Override
public Void visitEnumConstant(VariableElement c, JAnnotationArrayMember p) {
AbstractJClass annotationClass = helper.typeMirrorToJClass(c.asType());
JEnumConstantRef ref = JExpr.enumConstantRef(annotationClass, c.getSimpleName().toString());
p.param(ref);
return null;
}
use of com.helger.jcodemodel.JEnumConstantRef in project androidannotations by androidannotations.
the class AnnotationParamExtractor method visitEnumConstant.
@Override
public Void visitEnumConstant(VariableElement c, String p) {
AbstractJClass annotationClass = helper.typeMirrorToJClass(c.asType());
JEnumConstantRef ref = JExpr.enumConstantRef(annotationClass, c.getSimpleName().toString());
use.param(p, ref);
return null;
}
Aggregations