|
Préférences
Moteurs de recherche
|
|||||||||||||||||
JavaTM 2 Platform Std. Ed. v1.6.0
javax.lang.model.util
|
Constructor Summary | |
---|---|
protected |
AbstractAnnotationValueVisitor6()
Constructor for concrete subclasses to call. |
Method Summary | |
---|---|
R |
visit(AnnotationValue av)
Visits an annotation value as if by passing itself to that value's accept method passing
null for the additional parameter. |
R |
visit(AnnotationValue av,
P p)
Visits an annotation value as if by passing itself to that value's accept . |
R |
visitUnknown(AnnotationValue av,
P p)
Visits an unknown kind of annotation value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.lang.model.element.AnnotationValueVisitor |
---|
visitAnnotation, visitArray, visitBoolean, visitByte, visitChar, visitDouble, visitEnumConstant, visitFloat, visitInt, visitLong, visitShort, visitString, visitType |
Constructor Detail |
---|
protected AbstractAnnotationValueVisitor6()
Method Detail |
---|
public final R visit(AnnotationValue av, P p)
accept
. The invocation
v.visit(av)
is equivalent to av.accept(v, p)
.
visit
in interface AnnotationValueVisitor<R,P>
av
- the value to visitp
- a visitor-specified parameter
public final R visit(AnnotationValue av)
accept
method passing
null
for the additional parameter. The invocation
v.visit(av)
is equivalent to av.accept(v,
null)
.
visit
in interface AnnotationValueVisitor<R,P>
av
- the value to visit
public R visitUnknown(AnnotationValue av, P p)
The default implementation of this method in AbstractAnnotationValueVisitor6
will always throw UnknownAnnotationValueException
. This behavior is not
required of a subclass.
visitUnknown
in interface AnnotationValueVisitor<R,P>
av
- the unknown value being visitedp
- a visitor-specified parameter