/** * Convenience constructor to generate property descriptors without comments. * * @return the created parser instance. */ public static PropertyMetaDataParser createWithoutContextAccess() { return new PropertyMetaDataParser(null); }
/** * Convenience constructor to generate property descriptors with access to * property comments. * * @param context the context to access comment information for properties. * @return the created parser instance. * @throws NullPointerException if {@code context} is <code>null</code>. */ public static PropertyMetaDataParser create(final PropertiesContext context) throws NullPointerException { Arg.checkNotNull("context", context); return new PropertyMetaDataParser(context); }