src/org/jnetpcap/packet/JHeader.java
private void initFromAnnotatedHeader(AnnotatedHeader header) {
		this.annotatedHeader = header;

		this.name = header.getName();
		this.nicname = header.getNicname();

		this.fields = DefaultField.fromAnnotatedFields(header.getFields());
	}
/**
	 * Initialize this header directly from annotated header definition class.
	 * 
	 * @param header
	 *          annotation to initialize from
	 */
Initialize this header directly from annotated header definition class.

@param header
annotation to initialize from
Initialize this header directly from annotated header definition class . @param header annotation to initialize from
private void initFromAnnotatedHeader(AnnotatedHeader header) {
		this.annotatedHeader = header;
		this.name = header.getName();
		this.nicname = header.getNicname();
		this.fields = DefaultField.fromAnnotatedFields(header.getFields());
	}
private void initFromAnnotatedHeader ( AnnotatedHeader header ) { this . annotatedHeader = header ; this . name = header . getName ( ) ; this . nicname = header . getNicname ( ) ; this . fields = DefaultField . fromAnnotatedFields ( header . getFields ( ) ) ; }
Initialize this header directly from annotated header definition class.
Initialize this header directly from annotated header definition class .