Chapter 13 Annotations Notes Flashcards

1
Q

Introducing Annotations

A

test

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

UNDERSTANDING METADATA

A

test

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

PURPOSE OF ANNOTATIONS

A

test

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

EXTERNAL METADATA FILES

A

test

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

THE SPRING FRAMEWORK

A

test

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Creating Custom Annotations

A

test

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

CREATING AN ANNOTATION

A

test

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

SPECIFYING A REQUIRED ELEMENT

A

test

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

PROVIDING AN OPTIONAL ELEMENT

A

test

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

DEFINING A DEFAULT ELEMENT VALUE

A

test

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

SELECTING AN ELEMENT TYPE

A

test

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

APPLYING ELEMENT MODIFIERS

A

test

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

ADDING A CONSTANT VARIABLE

A

test

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

REVIEWING ANNOTATION RULES

A

test

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Applying Annotations

A

test

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

USING ANNOTATIONS IN DECLARATIONS

A

test

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

MIXING REQUIRED AND OPTIONAL ELEMENTS

18
Q

CREATING A VALUE() ELEMENT

19
Q

PASSING AN ARRAY OF VALUES

20
Q

COMBINING SHORTHAND NOTATIONS

21
Q

Declaring Annotation‐Specific Annotations

22
Q

LIMITING USAGE WITH @TARGET

23
Q

Learning the ElementType Values

24
Q

Understanding the TYPE_USE Value

25
STORING ANNOTATIONS WITH @RETENTION
test
26
GENERATING JAVADOC WITH @DOCUMENTED
test
27
JAVA VS. JAVADOC ANNOTATIONS
test
28
INHERITING ANNOTATIONS WITH @INHERITED
test
29
SUPPORTING DUPLICATES WITH @REPEATABLE
test
30
REPEATABLE ANNOTATIONS VS. AN ARRAY OF ANNOTATIONS
test
31
REVIEWING ANNOTATION‐SPECIFIC ANNOTATIONS
test
32
WHY DOESN'T @TARGET'S DEFAULT BEHAVIOR APPLY TO ALL TYPES?
test
33
Using Common Annotations
test
34
MARKING METHODS WITH @OVERRIDE
test
35
DECLARING INTERFACES WITH @FUNCTIONALINTERFACE
test
36
RETIRING CODE WITH @DEPRECATED
test
37
ALWAYS DOCUMENT THE REASON FOR DEPRECATION
test
38
IGNORING WARNINGS WITH @SUPPRESSWARNINGS
test
39
PROTECTING ARGUMENTS WITH @SAFEVARARGS
test
40
REVIEWING COMMON ANNOTATIONS
test
41
JAVABEAN VALIDATION
test