Chapter 13 Annotations 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

A

test

18
Q

CREATING A VALUE() ELEMENT

A

test

19
Q

PASSING AN ARRAY OF VALUES

A

test

20
Q

COMBINING SHORTHAND NOTATIONS

A

test

21
Q

Declaring Annotation‐Specific Annotations

A

test

22
Q

LIMITING USAGE WITH @TARGET

A

test

23
Q

Learning the ElementType Values

A

test

24
Q

Understanding the TYPE_USE Value

A

test

25
Q

STORING ANNOTATIONS WITH @RETENTION

A

test

26
Q

GENERATING JAVADOC WITH @DOCUMENTED

A

test

27
Q

JAVA VS. JAVADOC ANNOTATIONS

A

test

28
Q

INHERITING ANNOTATIONS WITH @INHERITED

A

test

29
Q

SUPPORTING DUPLICATES WITH @REPEATABLE

A

test

30
Q

REPEATABLE ANNOTATIONS VS. AN ARRAY OF ANNOTATIONS

A

test

31
Q

REVIEWING ANNOTATION‐SPECIFIC ANNOTATIONS

A

test

32
Q

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

A

test

33
Q

Using Common Annotations

A

test

34
Q

MARKING METHODS WITH @OVERRIDE

A

test

35
Q

DECLARING INTERFACES WITH @FUNCTIONALINTERFACE

A

test

36
Q

RETIRING CODE WITH @DEPRECATED

A

test

37
Q

ALWAYS DOCUMENT THE REASON FOR DEPRECATION

A

test

38
Q

IGNORING WARNINGS WITH @SUPPRESSWARNINGS

A

test

39
Q

PROTECTING ARGUMENTS WITH @SAFEVARARGS

A

test

40
Q

REVIEWING COMMON ANNOTATIONS

A

test

41
Q

JAVABEAN VALIDATION

A

test