Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

How can I get information of scala attributes? #22244

Discussion options

Hello!

I want to know the types of attributes in the scala language. I understand scala adds some attributes into class file which is a result of compilation process.

Screenshot 2024年12月19日 at 6 02 02 PM

This is a JVM specification and it shows all attribute types from the JVM. However, I cannot find scala specific attributes. Can I get your help?

Thanks!

You must be logged in to vote

Replies: 1 comment 1 reply

Comment options

This parser should tell you what you need: https://github.com/scalacenter/tasty-query/blob/main/tasty-query/shared/src/main/scala/tastyquery/reader/classfiles/ClassfileParser.scala

I dont know if there is a spec published of class file additions

You must be logged in to vote
1 reply
Comment options

Thank you for your response! I will check it!

Answer selected by som-snytt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /