|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.backport175.compiler.parser.AnnotationValidator
public class AnnotationValidator
Validates that the type for an annotation value that has been parsed is the correct type, e.g. has a method in the annotation interface that has a return type that is of the same type.
Constructor Summary | |
---|---|
AnnotationValidator()
|
Method Summary | |
---|---|
static void |
validateAnnotation(org.codehaus.backport175.compiler.parser.ParseContext ctx)
Validates an annotation value type. |
static void |
validateArray(org.codehaus.backport175.compiler.parser.ParseContext ctx)
Validates a boolean value type. |
static void |
validateBoolean(org.codehaus.backport175.compiler.parser.ParseContext ctx)
Validates a boolean value type. |
static void |
validateCharacter(org.codehaus.backport175.compiler.parser.ParseContext ctx)
Validates a char value type. |
static void |
validateClass(org.codehaus.backport175.compiler.parser.ParseContext ctx)
Validates a class value type. |
static void |
validateDouble(org.codehaus.backport175.compiler.parser.ParseContext ctx)
Validates a double value type. |
static void |
validateEnum(org.codehaus.backport175.compiler.parser.ParseContext ctx)
Validates an enum value type. |
static void |
validateFloat(org.codehaus.backport175.compiler.parser.ParseContext ctx)
Validates a float value type. |
static void |
validateInteger(org.codehaus.backport175.compiler.parser.ParseContext ctx)
Validates a int value type. |
static void |
validateLong(org.codehaus.backport175.compiler.parser.ParseContext ctx)
Validates a long value type. |
static void |
validateString(org.codehaus.backport175.compiler.parser.ParseContext ctx)
Validates a string value type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AnnotationValidator()
Method Detail |
---|
public static void validateString(org.codehaus.backport175.compiler.parser.ParseContext ctx)
ctx
- public static void validateLong(org.codehaus.backport175.compiler.parser.ParseContext ctx)
ctx
- public static void validateInteger(org.codehaus.backport175.compiler.parser.ParseContext ctx)
ctx
- public static void validateDouble(org.codehaus.backport175.compiler.parser.ParseContext ctx)
ctx
- public static void validateFloat(org.codehaus.backport175.compiler.parser.ParseContext ctx)
ctx
- public static void validateCharacter(org.codehaus.backport175.compiler.parser.ParseContext ctx)
ctx
- public static void validateBoolean(org.codehaus.backport175.compiler.parser.ParseContext ctx)
ctx
- public static void validateArray(org.codehaus.backport175.compiler.parser.ParseContext ctx)
ctx
- public static void validateAnnotation(org.codehaus.backport175.compiler.parser.ParseContext ctx)
ctx
- public static void validateClass(org.codehaus.backport175.compiler.parser.ParseContext ctx)
ctx
- public static void validateEnum(org.codehaus.backport175.compiler.parser.ParseContext ctx)
ctx
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |