8332597: Remove redundant methods from j.l.classfile.ClassReader API

Reviewed-by: liach, jlahoda
This commit is contained in:
Adam Sotona 2024-05-30 06:12:50 +00:00
parent 57bfd0e393
commit 579cf705ff
5 changed files with 6 additions and 23 deletions

View file

@ -71,22 +71,9 @@ public sealed interface ClassReader extends ConstantPool
/** {@return the constant pool entry describing the name of the superclass, if any} */
Optional<ClassEntry> superclassEntry();
/** {@return the offset into the classfile of the {@code this_class} field} */
int thisClassPos();
/** {@return the length of the classfile, in bytes} */
int classfileLength();
// Buffer related
/**
* {@return the offset following the block of attributes starting at the
* specified position}
* @param offset the offset into the classfile at which the attribute block
* starts
*/
int skipAttributeHolder(int offset);
// Constant pool
/**