Author Topic: Java enum values not shown in autolist of an enum  (Read 228 times)

rowbearto

  • Senior Community Member
  • Posts: 1617
  • Hero Points: 118
Java enum values not shown in autolist of an enum
« on: December 21, 2019, 08:19:32 pm »
Look for analyzer_issues.7z on support.

See "ISSUE B" in the README file.

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 5145
  • Hero Points: 425
Re: Java enum values not shown in autolist of an enum
« Reply #1 on: December 22, 2019, 01:37:35 am »
I can't seem to find where "CellType" is defined. I searched your source and didn't find it. Search the JDK 11.0.5 source and didn't find it there either.

rowbearto

  • Senior Community Member
  • Posts: 1617
  • Hero Points: 118
Re: Java enum values not shown in autolist of an enum
« Reply #2 on: December 22, 2019, 04:05:31 am »
CellType is in one of the dependencies pulled in by Gradle, not in my source or the JDK 11.0.5.

I think you may need to use Build->Gradle Options to pull it down. Be careful though, Build->Gradle Options overwrites the vpj file so you need to put back the old vpj file after you do that (Patrick has an upcoming fix for that vpj overwriting issue - https://community.slickedit.com/index.php/topic,17345.0.html).

On my machine it is at: C:\Users\Rob\.gradle\caches\modules-2\files-2.1\org.apache.poi\poi\4.1.1\45d063946e80a2d08a209bebc7d87c7ad8d6d2cb\poi-4.1.1-sources.jar\org\apache\poi\ss\usermodel\CellType.java

From the build.gradle, it is from one of these 2:

Code: [Select]
    // https://mvnrepository.com/artifact/org.apache.poi/poi
    implementation group: 'org.apache.poi', name: 'poi', version: '4.1.1'

    // https://mvnrepository.com/artifact/org.apache.poi/poi-ooxml
    implementation group: 'org.apache.poi', name: 'poi-ooxml', version: '4.1.1'