mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8332597: Remove redundant methods from j.l.classfile.ClassReader API
Reviewed-by: liach, jlahoda
This commit is contained in:
parent
57bfd0e393
commit
579cf705ff
5 changed files with 6 additions and 23 deletions
|
@ -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
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue