Function: semantic-java-type

semantic-java-type is a byte-compiled function defined in java.el.gz.

Signature

(semantic-java-type TAG)

Documentation

Return the type of TAG, taking care of array notation.

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/semantic/java.el.gz
(defsubst semantic-java-type (tag)
  "Return the type of TAG, taking care of array notation."
  (let ((type (semantic-tag-type tag))
        (dim  (semantic-tag-get-attribute tag :dereference)))
    (when dim
      (while (> dim 0)
        (setq type (concat type "[]")
              dim (1- dim))))
    type))