Variable: java-font-lock-keywords-2
java-font-lock-keywords-2 is a variable defined in cc-fonts.el.gz.
Value
Large value
((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\\|abstract\\|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\\)\\)\\|\\(?:volat\\|wh\\)ile\\)\\)\\([^[:alnum:]_$]\\|$\\)"
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\316\"\216\313\225b\210\317 )\266\307 \310\320\"\216\321\305\322\211$)\266\313\225b\210\202)\322\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
#[0 "\301\300\302\"\207"
[V0 set-match-data t] 3]
c-forward-sws
#[0 "\301\300\302\"\207"
[V0 set-match-data t] 3]
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\314\"\216\315\305\316\211$)\266\312\225b\210\202)\316\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
#[0 "\301\300\302\"\207"
[V0 set-match-data t] 3]
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 2 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\203Tb\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'.")