Function: semantic-java-prototype-variable

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

Signature

(semantic-java-prototype-variable TAG &optional PARENT COLOR)

Documentation

Return a variable (field) prototype for TAG.

Optional argument PARENT is a parent (containing) item. Optional argument COLOR indicates that color should be mixed in. See also semantic-format-tag-prototype.

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/semantic/java.el.gz
(defun semantic-java-prototype-variable (tag &optional _parent color)
  "Return a variable (field) prototype for TAG.
Optional argument PARENT is a parent (containing) item.
Optional argument COLOR indicates that color should be mixed in.
See also `semantic-format-tag-prototype'."
  (let ((name (semantic-tag-name tag))
        (type (semantic-java-type tag)))
    (concat (if color
                (semantic--format-colorize-text type 'type)
              type)
            " "
            (if color
                (semantic--format-colorize-text name 'variable)
              name))))