Skip to content

Constant properties defined in a .java file do not count toward that module's declarations #207

Closed

Description

@RBusarow

Given:

package com.example;

public class Constants {

  public static final int MY_VALUE = 250;
}

There should be a declaration of com.example.Constants.MyValue for that module, and importing that name should make the module count as "used".

Activity

  1. added
    bug
    on Oct 11, 2021
  2. added a commit that references this issue on Oct 11, 2021
    f52fa40
  3. added a commit that references this issue on Oct 11, 2021
    758bbe5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions