| EMMA Coverage Report (generated Sat Feb 02 18:43:55 MSK 2008) |
|---|
| [all classes][net.sourceforge.retroweaver.runtime.java.lang.annotation] |
| name | class, % | method, % | block, % | line, % |
|---|---|---|---|---|
| AnnotationTypeMismatchException.java | 0% (0/1) | 0% (0/3) | 0% (0/27) | 0% (0/6) |
| name | class, % | method, % | block, % | line, % |
|---|---|---|---|---|
| class AnnotationTypeMismatchException | 0% (0/1) | 0% (0/3) | 0% (0/27) | 0% (0/6) |
| AnnotationTypeMismatchException (Method, String): void | 0% (0/1) | 0% (0/21) | 0% (0/4) | |
| element (): Method | 0% (0/1) | 0% (0/3) | 0% (0/1) | |
| foundType (): String | 0% (0/1) | 0% (0/3) | 0% (0/1) |
| 1 | package net.sourceforge.retroweaver.runtime.java.lang.annotation; |
| 2 | |
| 3 | import java.lang.reflect.Method; |
| 4 | |
| 5 | /** |
| 6 | * A mirror of java.lang.annotation.AnnotationTypeMismatchException |
| 7 | * |
| 8 | * @author Toby Reyelts |
| 9 | */ |
| 10 | public class AnnotationTypeMismatchException extends RuntimeException { |
| 11 | |
| 12 | private final Method element_; |
| 13 | |
| 14 | private final String foundType_; |
| 15 | |
| 16 | public AnnotationTypeMismatchException(final Method element, final String foundType) { |
| 17 | super("type error: " + foundType + " for " + element); |
| 18 | this.element_ = element; |
| 19 | this.foundType_ = foundType; |
| 20 | } |
| 21 | |
| 22 | public Method element() { |
| 23 | return element_; |
| 24 | } |
| 25 | |
| 26 | public String foundType() { |
| 27 | return foundType_; |
| 28 | } |
| 29 | |
| 30 | } |
| [all classes][net.sourceforge.retroweaver.runtime.java.lang.annotation] |
| EMMA 2.0.8001 (unsupported private build) (C) Vladimir Roubtsov |