Function: semantic-java-prototype-type

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

Signature

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

Documentation

Return a type (class/interface) 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-type (tag &optional _parent color)
  "Return a type (class/interface) 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-tag-type tag))
        (tmpl (semantic-tag-get-attribute tag :template-specifier)))
    (concat type " "
            (if color
                (semantic--format-colorize-text name 'type)
              name)
            (or tmpl ""))))