src/org/jnetpcap/packet/JRegistry.java
public static void addBindings(Class<?> container) {
		clearErrors();

		if (JHeader.class.isAssignableFrom(container)) {
			addBindings(AnnotatedBinding
					.inspectJHeaderClass((Class<? extends JHeader>) container, errors));

		} else {
			addBindings(AnnotatedBinding.inspectClass(container, errors));
		}
	}
/**
	 * Adds bindings found in the container class. Any static methods that have
	 * the <code>Bind</code> annotation defined will be extracted and wrapped as
	 * <code>JBinding</code> interface objects, suitable to be registered with for
	 * a target header. Bindings contained in any class that does not extend
	 * <code>JHeader</code> is required to provide both "to" and "from" parameters
	 * to <code>Bind</code> annotation.
	 * 
	 * @param container
	 *          container that has static bind methods
	 */
Adds bindings found in the container class. Any static methods that have
the Bind annotation defined will be extracted and wrapped as
JBinding interface objects, suitable to be registered with for
a target header. Bindings contained in any class that does not extend
JHeader is required to provide both "to" and "from" parameters
to Bind annotation.

@param container
container that has static bind methods
Adds bindings found in the container class . Any static methods that have the Bind annotation defined will be extracted and wrapped as JBinding interface objects suitable to be registered with for a target header . Bindings contained in any class that does not extend JHeader is required to provide both " to " and " from " parameters to Bind annotation . @param container container that has static bind methods
public static void addBindings(Class<?> container) {
		clearErrors();
		if (JHeader.class.isAssignableFrom(container)) {
			addBindings(AnnotatedBinding
					.inspectJHeaderClass((Class<? extends JHeader>) container, errors));
		} else {
			addBindings(AnnotatedBinding.inspectClass(container, errors));
		}
	}
public static void addBindings ( Class < ? > container ) { clearErrors ( ) ; if ( JHeader . class . isAssignableFrom ( container ) ) { addBindings ( AnnotatedBinding . inspectJHeaderClass ( ( Class < ? extends JHeader > ) container , errors ) ) ; } else { addBindings ( AnnotatedBinding . inspectClass ( container , errors ) ) ; } }
Adds bindings found in the container class.
Adds bindings found in the container class .