SourceID attribute, which records
the last modified time of the source file from which this class file
was compiled.
This attribute only appears on classes, and does not permit multiple instances in a class. It has a data dependency on the constant pool.
This attribute is not predefined in the Java SE Platform. This is a
JDK-specific nonstandard attribute produced by the reference implementation
of the system Java compiler, defined by the jdk.compiler module.
Attributes#sourceId(), CompilationIDAttribute, CharacterRangeTableAttribute
| Modifier and Type | Method and Description |
|---|---|
| public static SourceIDAttribute | |
| public static SourceIDAttribute | |
| public Utf8Entry | Returns: the source idReturns the source id. The source id is the last modified time of the
source file (as reported by the file system, in milliseconds) when this
|
| of | back to summary |
|---|---|
| public static SourceIDAttribute of(Utf8Entry sourceId) Returns a
| |
| of | back to summary |
|---|---|
| public static SourceIDAttribute of(String sourceId) Returns a
| |
| sourceId | back to summary |
|---|---|
| public Utf8Entry sourceId() Returns the source id. The source id is the last modified time of the
source file (as reported by the file system, in milliseconds) when this
| |