/** * Detect "javaType" customizations placed directly on simple types, rather * than being enclosed by "property" and "baseType" customizations (see * sec 6.8.1 of the spec). * * Report an error if any exist. */ private void detectJavaTypeCustomization() { BindInfo info = builder.getBindInfo(getReferer()); BIConversion conv = info.get(BIConversion.class); if( conv != null ) { // ack this conversion to prevent further error messages conv.markAsAcknowledged(); // report the error getErrorReporter().error( conv.getLocation(), Messages.ERR_UNNESTED_JAVATYPE_CUSTOMIZATION_ON_SIMPLETYPE ); } }
/** * Detect "javaType" customizations placed directly on simple types, rather * than being enclosed by "property" and "baseType" customizations (see * sec 6.8.1 of the spec). * * Report an error if any exist. */ private void detectJavaTypeCustomization() { BindInfo info = builder.getBindInfo(getReferer()); BIConversion conv = info.get(BIConversion.class); if( conv != null ) { // ack this conversion to prevent further error messages conv.markAsAcknowledged(); // report the error getErrorReporter().error( conv.getLocation(), Messages.ERR_UNNESTED_JAVATYPE_CUSTOMIZATION_ON_SIMPLETYPE ); } }
/** * Detect "javaType" customizations placed directly on simple types, rather * than being enclosed by "property" and "baseType" customizations (see * sec 6.8.1 of the spec). * * Report an error if any exist. */ private void detectJavaTypeCustomization() { BindInfo info = builder.getBindInfo(getReferer()); BIConversion conv = info.get(BIConversion.class); if( conv != null ) { // ack this conversion to prevent further error messages conv.markAsAcknowledged(); // report the error getErrorReporter().error( conv.getLocation(), Messages.ERR_UNNESTED_JAVATYPE_CUSTOMIZATION_ON_SIMPLETYPE ); } }
/** * Detect "javaType" customizations placed directly on simple types, rather * than being enclosed by "property" and "baseType" customizations (see * sec 6.8.1 of the spec). * * Report an error if any exist. */ private void detectJavaTypeCustomization() { BindInfo info = builder.getBindInfo(getReferer()); BIConversion conv = info.get(BIConversion.class); if( conv != null ) { // ack this conversion to prevent further error messages conv.markAsAcknowledged(); // report the error getErrorReporter().error( conv.getLocation(), Messages.ERR_UNNESTED_JAVATYPE_CUSTOMIZATION_ON_SIMPLETYPE ); } }
/** * Detect "javaType" customizations placed directly on simple types, rather * than being enclosed by "property" and "baseType" customizations (see * sec 6.8.1 of the spec). * * Report an error if any exist. */ private void detectJavaTypeCustomization() { BindInfo info = builder.getBindInfo(getReferer()); BIConversion conv = info.get(BIConversion.class); if( conv != null ) { // ack this conversion to prevent further error messages conv.markAsAcknowledged(); // report the error getErrorReporter().error( conv.getLocation(), Messages.ERR_UNNESTED_JAVATYPE_CUSTOMIZATION_ON_SIMPLETYPE ); } }