1417 |
return VMClass.isAnnotation(this); |
return VMClass.isAnnotation(this); |
1418 |
} |
} |
1419 |
|
|
1420 |
|
/** |
1421 |
|
* Returns the simple name for this class, as used in the source |
1422 |
|
* code. For normal classes, this is the content returned by |
1423 |
|
* <code>getName()</code> which follows the last ".". Anonymous |
1424 |
|
* classes have no name, and so the result of calling this method is |
1425 |
|
* "". The simple name of an array consists of the simple name of |
1426 |
|
* its component type, followed by "[]". Thus, an array with the |
1427 |
|
* component type of an anonymous class has a simple name of simply |
1428 |
|
* "[]". |
1429 |
|
* |
1430 |
|
* @return the simple name for this class. |
1431 |
|
*/ |
1432 |
|
public String getSimpleName() |
1433 |
|
{ |
1434 |
|
return VMClass.getSimpleName(this); |
1435 |
|
} |
1436 |
|
|
1437 |
} |
} |