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
Q

STORING ANNOTATIONS WITH @RETENTION

26
Q

GENERATING JAVADOC WITH @DOCUMENTED

27
Q

JAVA VS. JAVADOC ANNOTATIONS

28
Q

INHERITING ANNOTATIONS WITH @INHERITED

29
Q

SUPPORTING DUPLICATES WITH @REPEATABLE

30
Q

REPEATABLE ANNOTATIONS VS. AN ARRAY OF ANNOTATIONS

31
Q

REVIEWING ANNOTATION‐SPECIFIC ANNOTATIONS

32
Q

WHY DOESN’T @TARGET’S DEFAULT BEHAVIOR APPLY TO ALL TYPES?

33
Q

Using Common Annotations

34
Q

MARKING METHODS WITH @OVERRIDE

35
Q

DECLARING INTERFACES WITH @FUNCTIONALINTERFACE

36
Q

RETIRING CODE WITH @DEPRECATED

37
Q

ALWAYS DOCUMENT THE REASON FOR DEPRECATION

38
Q

IGNORING WARNINGS WITH @SUPPRESSWARNINGS

39
Q

PROTECTING ARGUMENTS WITH @SAFEVARARGS

40
Q

REVIEWING COMMON ANNOTATIONS

41
Q

JAVABEAN VALIDATION