File: OffsetField.java

package info (click to toggle)
jcdf 1.2.4%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 568 kB
  • sloc: java: 5,318; makefile: 198; sh: 98
file content (22 lines) | stat: -rw-r--r-- 653 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package uk.ac.bristol.star.cdf.record;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Marks field members of {@link Record} subclasses which represent
 * absolute file offsets.  Fields marked with this annotation must also
 * be marked with {@link CdfField}, and must be of type
 * <code>Long</code> or <code>long[]</code>.
 *
 * @author   Mark Taylor
 * @since    26 Jun 2013
 */
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
public @interface OffsetField {
}