src/org/jnetpcap/packet/JRegistry.java
public static AnnotatedHeader lookupAnnotatedHeader(Class<? extends JHeader> c)
			throws UnregisteredHeaderException {

		if (JSubHeader.class.isAssignableFrom(c)) {
			return lookupAnnotatedSubHeader((Class<? extends JSubHeader<? extends JSubHeader<?>>>) c);
		}

		return lookupAnnotatedHeader(lookupIdNoCreate(c));
	}
/**
	 * Lookup annotated header.
	 * 
	 * @param c
	 *          the c
	 * @return the annotated header
	 * @throws UnregisteredHeaderException
	 *           the unregistered header exception
	 */
Lookup annotated header.

@param c
the c
@return the annotated header
@throws UnregisteredHeaderException
the unregistered header exception
Lookup annotated header . @param c the c @return the annotated header @throws UnregisteredHeaderException the unregistered header exception
public static AnnotatedHeader lookupAnnotatedHeader(Class<? extends JHeader> c)
			throws UnregisteredHeaderException {
		if (JSubHeader.class.isAssignableFrom(c)) {
			return lookupAnnotatedSubHeader((Class<? extends JSubHeader<? extends JSubHeader<?>>>) c);
		}
		return lookupAnnotatedHeader(lookupIdNoCreate(c));
	}
public static AnnotatedHeader lookupAnnotatedHeader ( Class < ? extends JHeader > c ) throws UnregisteredHeaderException { if ( JSubHeader . class . isAssignableFrom ( c ) ) { return lookupAnnotatedSubHeader ( ( Class < ? extends JSubHeader < ? extends JSubHeader < ? > > > ) c ) ; } return lookupAnnotatedHeader ( lookupIdNoCreate ( c ) ) ; }
Lookup annotated header.
Lookup annotated header .