• 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
            • Atj-implementation
              • Atj-types
              • Atj-java-primitive-array-model
              • Atj-java-abstract-syntax
              • Atj-input-processing
              • Atj-java-pretty-printer
              • Atj-code-generation
              • Atj-java-primitives
              • Atj-java-primitive-arrays
              • Atj-type-macros
              • Atj-java-syntax-operations
                • Jstatems+jblocks-count-ifs
                • Negate-boolean-jexpr
                • Unmake-right-assoc-condand
                • Jstatems+jblocks-methods
                • Mergesort-jmethods
                • Mergesort-jfields
                • Make-right-assoc-condand
                • Merge-jmethods
                • Merge-jfields
                • Jexpr-vars
                • Jexpr-methods
              • Atj-fn
              • Atj-library-extensions
              • Atj-java-input-types
              • Atj-test-structures
              • Aij-notions
              • Atj-macro-definition
            • Atj-tutorial
          • Aij
          • Language
        • 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
  • Atj-implementation

Atj-java-syntax-operations

Operations on the Java abstract syntax used by ATJ.

These operartions, like the abstract syntax of Java, are more general than ATJ and will be eventually moved to a new library for manipulating Java code. For now, these are parts of ATJ, which is their only user so far.

Subtopics

Jstatems+jblocks-count-ifs
Number of ifs in a statement or block.
Negate-boolean-jexpr
Negates a (boolean) Java expression.
Unmake-right-assoc-condand
Split a right-associated conditional conjunction into its conjuncts.
Jstatems+jblocks-methods
Method names in a statement or block.
Mergesort-jmethods
Sort a list of methods according to their names.
Mergesort-jfields
Sort a list of fields according to their names.
Make-right-assoc-condand
Make a right-associated conditional conjunction from a non-empty list of conjuncts.
Merge-jmethods
Merge-jfields
Jexpr-vars
Variables in a Java expression.
Jexpr-methods
Method names in a Java expression.