Chapter 3. Generics

Table of Contents

Generics in Java 5
Declaring Parameterized Types
Using Parameterized Types
Assignments and Wildcards
Generic Methods
Parameterized Aspect Types

Generics in Java 5

This section provides the essential information about generics in Java 5 needed to understand how generics are treated in AspectJ 5. For a full introduction to generics in Java, please see the documentation for the Java 5 SDK.

Declaring Parameterized Types

Using Parameterized Types

Assignments and Wildcards

Generic Methods