57 */
58 String name();
59
60 /**
61 * Gets the <a href="{@docRoot}/../specs/jni/types.html#type-signatures">
62 * type signature</a> for this type component. The
63 * signature is encoded type information as defined
64 * in the JNI documentation. It is a convenient, compact format for
65 * for manipulating type information internally, not necessarily
66 * for display to an end user. See {@link Field#typeName} and
67 * {@link Method#returnTypeName} for ways to help get a more readable
68 * representation of the type.
69 *
70 * @return a string containing the signature
71 */
72 String signature();
73
74 /**
75 * Gets the generic signature for this TypeComponent if there is one.
76 * Generic signatures are described in the
77 * <cite>The Java™ Virtual Machine Specification</cite>.
78 *
79 * @return a string containing the generic signature, or <code>null</code>
80 * if there is no generic signature.
81 *
82 * @since 1.5
83 */
84 String genericSignature();
85
86 /**
87 * Returns the type in which this component was declared. The
88 * returned {@link ReferenceType} mirrors either a class or an
89 * interface in the target VM.
90 *
91 * @return a {@link ReferenceType} for the type that declared
92 * this type component.
93 */
94 ReferenceType declaringType();
95
96 /**
97 * Determines if this TypeComponent is static.
|
57 */
58 String name();
59
60 /**
61 * Gets the <a href="{@docRoot}/../specs/jni/types.html#type-signatures">
62 * type signature</a> for this type component. The
63 * signature is encoded type information as defined
64 * in the JNI documentation. It is a convenient, compact format for
65 * for manipulating type information internally, not necessarily
66 * for display to an end user. See {@link Field#typeName} and
67 * {@link Method#returnTypeName} for ways to help get a more readable
68 * representation of the type.
69 *
70 * @return a string containing the signature
71 */
72 String signature();
73
74 /**
75 * Gets the generic signature for this TypeComponent if there is one.
76 * Generic signatures are described in the
77 * <cite>The Java Virtual Machine Specification</cite>.
78 *
79 * @return a string containing the generic signature, or <code>null</code>
80 * if there is no generic signature.
81 *
82 * @since 1.5
83 */
84 String genericSignature();
85
86 /**
87 * Returns the type in which this component was declared. The
88 * returned {@link ReferenceType} mirrors either a class or an
89 * interface in the target VM.
90 *
91 * @return a {@link ReferenceType} for the type that declared
92 * this type component.
93 */
94 ReferenceType declaringType();
95
96 /**
97 * Determines if this TypeComponent is static.
|