|
com.sun.mirror.type
Class MirroredTypesException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.sun.mirror.type.MirroredTypesException
-
All Implemented Interfaces:
-
Serializable
-
public class MirroredTypesException
- extends
RuntimeException
Thrown when an application attempts to access a sequence of
Class
objects each corresponding to a
TypeMirror .
-
See Also:
-
MirroredTypeException ,
Declaration.getAnnotation(Class) ,
Serialized Form
Methods inherited from class java.lang.
Throwable
|
fillInStackTrace,
getCause,
getLocalizedMessage,
getMessage,
getStackTrace,
initCause,
printStackTrace,
printStackTrace,
printStackTrace,
setStackTrace,
toString
|
MirroredTypesException
public MirroredTypesException(
Collection<
TypeMirror> types)
- Constructs a new MirroredTypesException for the specified types.
-
Parameters:
-
types - an ordered collection of the types being accessed
getTypeMirrors
public
Collection<
TypeMirror> getTypeMirrors()
- Returns the type mirrors corresponding to the types being accessed.
The type mirrors may be unavailable if this exception has been
serialized and then read back in.
-
-
Returns:
- the type mirrors in order, or null if unavailable
getQualifiedNames
public
Collection<
String> getQualifiedNames()
- Returns the fully qualified names of the types being accessed.
More precisely, returns the canonical names of each class,
interface, array, or primitive, and "void" for
the pseudo-type representing the type of void.
-
-
Returns:
- the fully qualified names, in order, of the types being
accessed
Copyright (c) IBM Corp. and others 2000, 2008. All Rights Reserved.
|
|