/** * {@link PackageOutline} that contains this class. */ public PackageOutline _package() { return parent().getPackageContext(implClass._package()); }
/** * {@link PackageOutline} that contains this class. */ public PackageOutline _package() { return parent().getPackageContext(implClass._package()); }
/** * {@link PackageOutline} that contains this class. */ public PackageOutline _package() { return parent().getPackageContext(implClass._package()); }
/** * {@link PackageOutline} that contains this class. */ public PackageOutline _package() { return parent().getPackageContext(implClass._package()); }
/** * {@link PackageOutline} that contains this class. */ public PackageOutline _package() { return parent().getPackageContext(implClass._package()); }
protected void removeAnnotationFromElementOutline(final JCodeModel codeModel, final ElementOutline elementOutline, final CCustomizations customizations, final ErrorHandler errorHandler) { for (final CPluginCustomization customization : customizations) { final Element element = customization.element; final QName name = new QName(element.getNamespaceURI(), element.getLocalName()); if (isCustomizationElementName(name)) { customization.markAsAcknowledged(); final AnnotationTarget annotationTarget = AnnotationTarget .getAnnotationTarget(element, AnnotationTarget.ELEMENT); try { final JAnnotatable annotatable = annotationTarget .getAnnotatable(elementOutline.parent(), elementOutline); removeAnnotation(codeModel, errorHandler, customization, element, annotatable); } catch (IllegalArgumentException iaex) { logger.error("Error applying the annotation.", iaex); } } } }
protected void annotateElementOutline(final JCodeModel codeModel, final ElementOutline elementOutline, final CCustomizations customizations, final ErrorHandler errorHandler) { for (final CPluginCustomization customization : customizations) { final Element element = customization.element; final QName name = new QName(element.getNamespaceURI(), element.getLocalName()); if (isCustomizationElementName(name)) { customization.markAsAcknowledged(); final AnnotationTarget annotationTarget = AnnotationTarget .getAnnotationTarget(element, AnnotationTarget.ELEMENT); try { final JAnnotatable annotatable = annotationTarget .getAnnotatable(elementOutline.parent(), elementOutline); annotate(codeModel, errorHandler, customization, element, annotatable); } catch (IllegalArgumentException iaex) { logger.error("Error applying the annotation.", iaex); } } } }