private void checkExpectedContentTypes(XSComponent c) { if(c.getForeignAttribute(WellKnownNamespace.XML_MIME_URI, Const.EXPECTED_CONTENT_TYPES)==null) return; // no such attribute if(c instanceof XSParticle) return; // particles get the same foreign attributes as local element decls, // so we need to skip them if(!stb.isAcknowledgedXmimeContentTypes(c)) { // this is not used getErrorReporter().warning(c.getLocator(),Messages.WARN_UNUSED_EXPECTED_CONTENT_TYPES); } }
private void checkExpectedContentTypes(XSComponent c) { if(c.getForeignAttribute(WellKnownNamespace.XML_MIME_URI, Const.EXPECTED_CONTENT_TYPES)==null) return; // no such attribute if(c instanceof XSParticle) return; // particles get the same foreign attributes as local element decls, // so we need to skip them if(!stb.isAcknowledgedXmimeContentTypes(c)) { // this is not used getErrorReporter().warning(c.getLocator(),Messages.WARN_UNUSED_EXPECTED_CONTENT_TYPES); } }
private void checkExpectedContentTypes(XSComponent c) { if(c.getForeignAttribute(WellKnownNamespace.XML_MIME_URI, Const.EXPECTED_CONTENT_TYPES)==null) return; // no such attribute if(c instanceof XSParticle) return; // particles get the same foreign attributes as local element decls, // so we need to skip them if(!stb.isAcknowledgedXmimeContentTypes(c)) { // this is not used getErrorReporter().warning(c.getLocator(),Messages.WARN_UNUSED_EXPECTED_CONTENT_TYPES); } }
private void checkExpectedContentTypes(XSComponent c) { if(c.getForeignAttribute(WellKnownNamespace.XML_MIME_URI, Const.EXPECTED_CONTENT_TYPES)==null) return; // no such attribute if(c instanceof XSParticle) return; // particles get the same foreign attributes as local element decls, // so we need to skip them if(!stb.isAcknowledgedXmimeContentTypes(c)) { // this is not used getErrorReporter().warning(c.getLocator(),Messages.WARN_UNUSED_EXPECTED_CONTENT_TYPES); } }
private void checkExpectedContentTypes(XSComponent c) { if(c.getForeignAttribute(WellKnownNamespace.XML_MIME_URI, Const.EXPECTED_CONTENT_TYPES)==null) return; // no such attribute if(c instanceof XSParticle) return; // particles get the same foreign attributes as local element decls, // so we need to skip them if(!stb.isAcknowledgedXmimeContentTypes(c)) { // this is not used getErrorReporter().warning(c.getLocator(),Messages.WARN_UNUSED_EXPECTED_CONTENT_TYPES); } }
getErrorReporter().warning(type.getLocator(), Messages.WARN_ENUM_MEMBER_SIZE_CAP, type.getName(), facets.size(), builder.getGlobalBinding().getDefaultEnumMemberSizeCap());
getErrorReporter().warning(type.getLocator(), Messages.WARN_ENUM_MEMBER_SIZE_CAP, type.getName(), facets.size(), builder.getGlobalBinding().getDefaultEnumMemberSizeCap());
getErrorReporter().warning(type.getLocator(), Messages.WARN_ENUM_MEMBER_SIZE_CAP, type.getName(), facets.size(), builder.getGlobalBinding().getDefaultEnumMemberSizeCap());
ErrorReporter errorReporter = Ring.get(ErrorReporter.class); errorReporter.warning(prop.getLocator(), Messages.WARN_DEFAULT_VALUE_PRIMITIVE_TYPE, prop.baseType.name());
ErrorReporter errorReporter = Ring.get(ErrorReporter.class); errorReporter.warning(prop.getLocator(), Messages.WARN_DEFAULT_VALUE_PRIMITIVE_TYPE, prop.baseType.name());
ErrorReporter errorReporter = Ring.get(ErrorReporter.class); errorReporter.warning(prop.getLocator(), Messages.WARN_DEFAULT_VALUE_PRIMITIVE_TYPE, prop.baseType.name());