asn1-tool icon indicating copy to clipboard operation
asn1-tool copied to clipboard

Java generator has problem with components named class

Open yafred opened this issue 6 years ago • 2 comments

Cit-pat ::= SEQUENCE {                  -- patent citation
    title VisibleString ,
    authors Auth-list,                  -- author/inventor
    country VisibleString ,             -- Patent Document Country
    doc-type VisibleString ,            -- Patent Document Type
    number VisibleString OPTIONAL,      -- Patent Document Number
    date-issue Date OPTIONAL,           -- Patent Issue/Pub Date
    class SEQUENCE OF VisibleString OPTIONAL ,      -- Patent Doc Class Code 
    app-number VisibleString OPTIONAL , -- Patent Doc Appl Number
    app-date Date OPTIONAL ,            -- Patent Appl File Date
    applicants Auth-list OPTIONAL ,     -- Applicants
    assignees Auth-list OPTIONAL ,      -- Assignees
    priority SEQUENCE OF Patent-priority OPTIONAL , -- Priorities
    abstract VisibleString OPTIONAL }   -- abstract of patent

yafred avatar Dec 08 '19 18:12 yafred

java.lang.Object already has a getClass() method

yafred avatar Dec 08 '19 18:12 yafred

From what I remember this issue would not happen in Kotlin. Is this correct?

odiferousmint avatar Jul 24 '21 01:07 odiferousmint