Package com.tngtech.archunit.core.domain
Class JavaAnnotation.DefaultParameterVisitor
java.lang.Object
com.tngtech.archunit.core.domain.JavaAnnotation.DefaultParameterVisitor
- All Implemented Interfaces:
JavaAnnotation.ParameterVisitor
- Enclosing class:
- JavaAnnotation<OWNER extends HasDescription>
@PublicAPI(usage=INHERITANCE)
public static class JavaAnnotation.DefaultParameterVisitor
extends Object
implements JavaAnnotation.ParameterVisitor
Default implementation of
JavaAnnotation.ParameterVisitor
implementing a no-op
behavior, i.e. this Visitor will do nothing on any type encountered.visit
-methods for relevant types can be selectively overridden
(compare JavaAnnotation.accept(ParameterVisitor)
).-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
visitAnnotation
(String propertyName, JavaAnnotation<?> propertyValue) void
visitBoolean
(String propertyName, boolean propertyValue) void
void
visitCharacter
(String propertyName, Character propertyValue) void
visitClass
(String propertyName, JavaClass propertyValue) void
visitDouble
(String propertyName, Double propertyValue) void
visitEnumConstant
(String propertyName, JavaEnumConstant propertyValue) void
visitFloat
(String propertyName, Float propertyValue) void
visitInteger
(String propertyName, int propertyValue) void
void
visitShort
(String propertyName, Short propertyValue) void
visitString
(String propertyName, String propertyValue)
-
Constructor Details
-
DefaultParameterVisitor
public DefaultParameterVisitor()
-
-
Method Details
-
visitBoolean
- Specified by:
visitBoolean
in interfaceJavaAnnotation.ParameterVisitor
-
visitByte
- Specified by:
visitByte
in interfaceJavaAnnotation.ParameterVisitor
-
visitCharacter
- Specified by:
visitCharacter
in interfaceJavaAnnotation.ParameterVisitor
-
visitDouble
- Specified by:
visitDouble
in interfaceJavaAnnotation.ParameterVisitor
-
visitFloat
- Specified by:
visitFloat
in interfaceJavaAnnotation.ParameterVisitor
-
visitInteger
- Specified by:
visitInteger
in interfaceJavaAnnotation.ParameterVisitor
-
visitLong
- Specified by:
visitLong
in interfaceJavaAnnotation.ParameterVisitor
-
visitShort
- Specified by:
visitShort
in interfaceJavaAnnotation.ParameterVisitor
-
visitString
- Specified by:
visitString
in interfaceJavaAnnotation.ParameterVisitor
-
visitClass
- Specified by:
visitClass
in interfaceJavaAnnotation.ParameterVisitor
-
visitEnumConstant
- Specified by:
visitEnumConstant
in interfaceJavaAnnotation.ParameterVisitor
-
visitAnnotation
- Specified by:
visitAnnotation
in interfaceJavaAnnotation.ParameterVisitor
-