classfile,passes,jar: model PermittedSubclasses, normalize interface flags, name class in write errors
This commit is contained in:
parent
e9d5e44b9e
commit
9a33cef9b1
11 changed files with 299 additions and 85 deletions
|
|
@ -23,6 +23,9 @@ pub enum Attribute {
|
|||
NestHost(String),
|
||||
/// `NestMembers`: the member classes of this nest host (JVMS §4.7.29).
|
||||
NestMembers(Vec<String>),
|
||||
/// `PermittedSubclasses`: who may extend a sealed class (JVMS §4.7.31).
|
||||
/// Stored as names: pool indices go stale when the pool is rebuilt.
|
||||
PermittedSubclasses(Vec<String>),
|
||||
/// A field's `ConstantValue` (`static final`): a value from the pool.
|
||||
ConstantValue(Const),
|
||||
/// `BootstrapMethods` for `invokedynamic` (lambdas): method + arguments.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue