Variable: java-font-lock-keywords-2

java-font-lock-keywords-2 is a variable defined in cc-fonts.el.gz.

Value

Large value
(c-maybe-font-lock-wrong-style-comments
 (eval list "\240" 0
       (progn
	 (unless (c-face-name-p 'c-nonbreakable-space-face)
	   (c-make-inverse-face 'font-lock-warning-face
				'c-nonbreakable-space-face))
	 ''c-nonbreakable-space-face))
 ("\\s|" 0 font-lock-warning-face t nil)
 c-font-lock-invalid-single-quotes
 (eval list "\\_<\\(\\_<\\(false\\|null\\|true\\)\\_>\\)\\_>" 1
       c-constant-face-name)
 ("\\_<\\_<\\(@interface\\|a\\(?:\\(?:bstrac\\|sser\\)t\\)\\|break\\|c\\(?:a\\(?:se\\|tch\\)\\|lass\\|on\\(?:st\\|tinue\\)\\)\\|d\\(?:efault\\|o\\)\\|e\\(?:lse\\|num\\|xtends\\)\\|f\\(?:inal\\(?:ly\\)?\\|or\\)\\|goto\\|i\\(?:f\\|mp\\(?:lements\\|ort\\)\\|n\\(?:stanceof\\|terface\\)\\)\\|n\\(?:ative\\|ew\\)\\|p\\(?:ackage\\|r\\(?:ivate\\|otected\\)\\|ublic\\)\\|return\\|s\\(?:t\\(?:atic\\|rictfp\\)\\|uper\\|witch\\|ynchronized\\)\\|t\\(?:h\\(?:is\\|rows?\\)\\|r\\(?:ansient\\|y\\)\\)\\|v\\(?:ar\\|olatile\\)\\|while\\)\\_>"
  1 font-lock-keyword-face)
 #[257
   "\302\300!\303!\210`W\203g�\304\305\306#\203g�\307\224b\210\303!\204�\307\225b\210\310 \311\312\"\216\313\307\224Tb\210`Sf\314=\203]�\315u\210\316 \266`\317\313x\307W\203]�\320`\321\"\204]�\322`\321	$\210\316 \210\2021�)\266\307\225b\210\202�)\313\207"
   [parse-sexp-lookup-properties c-reference-face-name boundp
				 c-skip-comments-and-strings
				 re-search-forward
				 "\\(\\.\\)\\(\\s \\|[\n
]\\)*\\([[:upper:]][[:alnum:]_$]*\\|\\*\\)"
				 t 0 match-data make-closure
				 #[0 "\301\300\302\"\207"
				     [V0 set-match-data t] 3]
				 nil 46 -1 c-backward-sws
				 "[:alnum:]_$" get-text-property face
				 put-text-property]
   8 "\n\n(fn LIMIT)"]
 (eval list "\\(!\\)[^=]" 1 c-negation-char-face-name)
 (eval list
       #[257
	 "\302\300!\303!\210`W\203]�\304	\305#\203]�\306\224b\210\303!\204�\306\225b\210\307 \310\311\"\216\312\313\224\313\225\314\315$)\266\307 \310\311\"\216\313\225b\210\316 )\266\307 \310\311\"\216\317\305\320\211$)\266\313\225b\210\202�)\320\207"
	 [parse-sexp-lookup-properties c-known-type-key boundp
				       c-skip-comments-and-strings
				       re-search-forward t 0
				       match-data make-closure
				       #[0 "\301\300\302\"\207"
					   [V0 set-match-data t] 3]
				       put-text-property 1 face
				       font-lock-type-face
				       c-forward-sws
				       c-font-lock-declarators nil]
	 7 "\n\n(fn LIMIT)"])
 (#[257
    "\301\300!\302!\210`W\203K�\303\304\305#\203K�\306\224b\210\302!\204�\306\225b\210\307 \310\311\"\216\312\225b\210\313 )\266\307 \310\311\"\216\314\305\315\211$)\266\312\225b\210\202�)\315\207"
    [parse-sexp-lookup-properties boundp c-skip-comments-and-strings
				  re-search-forward
				  "\\_<\\(@interface\\|class\\|enum\\|interface\\)\\_>"
				  t 0 match-data make-closure
				  #[0 "\301\300\302\"\207"
				      [V0 set-match-data t] 3]
				  1 c-forward-sws
				  c-font-lock-declarators nil]
    7 "\n\n(fn LIMIT)"])
 c-font-lock-labels c-font-lock-enum-tail c-font-lock-enum-body
 (eval list
       "\\_<\\(\\_<\\(break\\|continue\\|goto\\)\\_>\\)\\_>\\s *\\([[:alpha:]_@][[:alnum:]_$]\\{,1000\\}\\)"
       (list 3 c-label-face-name nil t))
 (#[257
    "\304 \211\203	�\211b\210\210\305\300!\306\307!`\310!@\311=\203�\210`b\210\312!\210\313\314\315#\203\\�\316\224b\210\312!\204$�\316\225b\210\317 \320\321\"\216\315\322\315\323\324!\210`V\203T�b\210\325 ,\266\202$�)\322\207"
    [parse-sexp-lookup-properties c-record-type-identifiers
				  c-record-ref-identifiers
				  c-promote-possible-types
				  c-literal-start boundp
				  c-determine-limit 1000
				  c-beginning-of-decl-1 same
				  c-skip-comments-and-strings
				  re-search-forward
				  "\\_<\\(\\_<\\(extends\\|imp\\(?:lements\\|ort\\)\\|new\\|package\\|super\\|throws\\)\\_>\\)\\_>"
				  t 0 match-data make-closure
				  #[0 "\301\300\302\"\207"
				      [V0 set-match-data t] 3]
				  nil c-forward-keyword-clause 1
				  c-fontify-recorded-types-and-refs]
    8 "\n\n(fn LIMIT)"])
 (eval list "\\_<\\(@[a-zA-Z0-9]+\\)\\_>" 1 c-annotation-face))

Documentation

Fast normal font locking for Java mode.

In addition to java-font-lock-keywords-1, this adds fontification of keywords, simple types, declarations that are easy to recognize, the user defined types on java-font-lock-extra-types, and the doc comment styles specified by c-doc-comment-style.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/cc-fonts.el.gz
(defconst java-font-lock-keywords-2 (c-lang-const c-matchers-2 java)
  "Fast normal font locking for Java mode.
In addition to `java-font-lock-keywords-1', this adds fontification of
keywords, simple types, declarations that are easy to recognize, the
user defined types on `java-font-lock-extra-types', and the doc
comment styles specified by `c-doc-comment-style'.")