• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Community
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
    • Software-verification
      • Kestrel-books
        • Crypto-hdwallet
        • Apt
        • Error-checking
        • Fty-extensions
        • Isar
        • Kestrel-utilities
        • Set
        • C
        • Soft
        • Bv
        • Imp-language
        • Ethereum
        • Event-macros
        • Java
          • Atj
          • Aij
          • Language
            • Syntax
              • Grammar
              • Unicode-escapes
              • Unicode-input-char
              • Escape-sequence
              • Identifiers
              • Primitive-types
              • Reference-types
                • Reference-types-definition
                  • Class-type
                  • Array-type
                  • Reference-type
                    • Reference-type-case
                    • Reference-type-equiv
                    • Reference-type-variable
                    • Reference-type-class
                    • Reference-type-array
                    • Reference-typep
                    • Reference-type-kind
                    • Reference-type-fix
                    • Reference-type-count
                  • Type-argument
                  • Type-argument-list
              • Unicode-characters
              • Keywords
              • Integer-literals
              • String-literals
              • Octal-digits
              • Hexadecimal-digits
              • Decimal-digits
              • Binary-digits
              • Character-literals
              • Null-literal
              • Floating-point-literals
              • Boolean-literals
              • Package-names
              • Literals
            • Semantics
        • Riscv
        • Bitcoin
        • Zcash
        • Yul
        • ACL2-programming-language
        • Prime-fields
        • Json
        • Syntheto
        • File-io-light
        • Cryptography
        • Number-theory
        • Axe
        • Lists-light
        • Builtins
        • Solidity
        • Helpers
        • Htclient
        • Typed-lists-light
        • Arithmetic-light
      • X86isa
      • Axe
      • Execloader
    • Math
    • Testing-utilities
  • Reference-types-definition

Reference-type

Fixtype of Java (unannotated) reference types [JLS14:4.3] [JLS14:8.3].

This is a tagged union type, introduced by fty::deftagsum.

Member Tags → Types
:class → reference-type-class
:array → reference-type-array
:variable → reference-type-variable

This corresponds to the grammar rule for unann-reference-type.

As explained in class-type, our class-type fixtype corresponds to unann-class-or-interface-type, unann-class-type, and unann-interface-type in the grammar.

An (unannotated) type variable is a type identifier, according to the rule for unann-type-variable.

Subtopics

Reference-type-case
Case macro for the different kinds of reference-type structures.
Reference-type-equiv
Basic equivalence relation for reference-type structures.
Reference-type-variable
Reference-type-class
Reference-type-array
Reference-typep
Recognizer for reference-type structures.
Reference-type-kind
Get the kind (tag) of a reference-type structure.
Reference-type-fix
Fixing function for reference-type structures.
Reference-type-count
Measure for recurring over reference-type structures.