Class object
corresponding to a TypeMirror.
MirroredTypesException, Element#getAnnotation(Class)
| Modifier and Type | Field and Description |
|---|---|
| private static final long | |
| private transient TypeMirror |
| Access | Constructor and Description |
|---|---|
| public | MirroredTypeException(TypeMirror
the type being accessed type)Constructs a new MirroredTypeException for the specified type. |
| Modifier and Type | Method and Description |
|---|---|
| public TypeMirror | Returns: the type mirror, ornull if unavailableReturns the type mirror corresponding to the type being accessed. |
| private void | readObject(ObjectInputStream
the serial stream s)Hides javax. Explicitly set all transient fields. |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides javax. | |
| type | back to summary |
|---|---|
| private transient TypeMirror type | |
| MirroredTypeException | back to summary |
|---|---|
| public MirroredTypeException(TypeMirror type) Constructs a new MirroredTypeException for the specified type.
| |
| getTypeMirror | back to summary |
|---|---|
| public TypeMirror getTypeMirror() Returns the type mirror corresponding to the type being accessed. The type mirror may be unavailable if this exception has been serialized and then read back in.
| |
| readObject | back to summary |
|---|---|
| private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException Hides javax. Explicitly set all transient fields.
| |