Skip to content

Bytecode enhancement - handle default annotation value #1409

@greenlaw110

Description

@greenlaw110

Annotation could have default value, e.g. Before

public @interface Before {
    int priority() default 0;
   ...
}

However the bytecode scanner will not be able to set default value when app didn't provide default value. This is the root case of #1407

We need a systematic way to handle default annotation value when doing bytecode scanning

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions