Methods Summary |
---|
public long | getAnnotationTime()
return classAnnotationTime;
|
public short | getFlags()
return annotationFlags;
|
public long | getModTime()
return classModTime;
|
public short | getVersion()
/* public accessors */
return attrVersion;
|
void | print(java.io.PrintStream out, int indent)
ClassPrint.spaces(out, indent);
out.println("version: " + attrVersion);//NOI18N
out.println(" flags: " + annotationFlags);//NOI18N
out.println(" modTime: " + classModTime);//NOI18N
out.println(" annTime: " + classAnnotationTime);//NOI18N
|
static com.sun.jdo.api.persistence.enhancer.classfile.AnnotatedClassAttribute | read(ConstUtf8 attrName, java.io.DataInputStream data, ConstantPool pool)
short version = data.readShort();
short annFlags = data.readShort();
long modTime = data.readLong();
long annTime = data.readLong();
return new AnnotatedClassAttribute(attrName, version, annFlags,
modTime, annTime);
|
public void | setAnnotationTime(long time)
classAnnotationTime = time;
|
public void | setFlags(short flags)
annotationFlags = flags;
|
public void | setModTime(long time)
classModTime = time;
|
public void | setVersion(short version)
attrVersion = version;
|
void | write(java.io.DataOutputStream out)
out.writeShort(attrName().getIndex());
out.writeShort(20);
out.writeShort(attrVersion);
out.writeShort(annotationFlags);
out.writeLong(classModTime);
out.writeLong(classAnnotationTime);
|