Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7934367
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T21:37:41+00:00 2026-06-03T21:37:41+00:00

I decompiled some java classes and I get a source with special characters: this.val$b.dispose();

  • 0

I decompiled some java classes and I get a source with special characters:

this.val$b.dispose();
this.val$domainLabel.setText((String)domains_config.get("description"));

what does this mean: this.val$b?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T21:37:43+00:00Added an answer on June 3, 2026 at 9:37 pm

    According to the Java spec (see http://docs.oracle.com/javase/specs/jls/se5.0/html/lexical.html#3.8) $ is a valid value in an identifier. However, note that “The $ character should be used only in mechanically generated source code or, rarely, to access preexisting names on legacy systems.”

    There are two common reasons for seeing dollar signs in a variable name in decompiled code:

    1. Your source code contains an inner class (perhaps, but not necessarily an anonymous one), in which case things for the inner class will have variable and constructor names like outerclass$innerclass. (See, for example http://docstore.mik.ua/orelly/java/exp/ch05_09.htm in the section on how inner classes really work). If the class is anonymous, the names will have a naming scheme/form like outerclass$ followed by outerclass$1 and so forth

    2. The code has been run through an obfuscator. An obfuscator meets the criterion of “mechanically generating” the source code, so it can use dollar signs in the ame. An example would be RetroGuard, which explains in an FAQ on their website, the criterion for using $ in variable and class names. Essentially, the obfuscator uses the $ as a disambiguator and will rename classes or variables with generated names (typically single character letters used when possible to minimize code size), and what is renamed and what isn’t depends on the variable’s scope, etc.

    In your particular example, val$b looks to me like it might be a variable name that has been obfuscated.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a program where some Java classes are available. It is possible to
I decompiled a source file and found some JVM instructions like JVM INSTR monitorenter
This could be a rather crazy question, but I wanted to get some insight
Will the fact that java class files can be decompiled and need of third
I'm looking for a program to batch decompile Java classes. I found JAD, but
I'm trying to inject some Scala code into my existing Java app. (So, being
Do .net source encryption programs really works? .Net IL codes can easily be decompiled.
When decompiling a specific jar using java decompiler (http://java.decompiler.free.fr/) I got some strange code
Little bit of background, I'm more experienced with Java, and have some C/C++ experience.
Is there a good tool that can help to reverse engineer Java classes to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.