edu.rice.cs.cunit.classFile.attributes
Interface AAnnotationsAttributeInfo.Annotation.IMemberValueVisitor<R,P>

All Known Implementing Classes:
AAnnotationsAttributeInfo.Annotation.ADefaultMemberValueVisitor, AAnnotationsAttributeInfo.Annotation.CheckConstantMemberVisitor
Enclosing class:
AAnnotationsAttributeInfo.Annotation

public static interface AAnnotationsAttributeInfo.Annotation.IMemberValueVisitor<R,P>

Visitor interface for member values.


Method Summary
 R annotationMemberCase(AAnnotationsAttributeInfo.Annotation.AnnotationMemberValue host, P param)
          Case for annotations.
 R arrayMemberCase(AAnnotationsAttributeInfo.Annotation.ArrayMemberValue host, P param)
          Case for arrays.
 R classMemberCase(AAnnotationsAttributeInfo.Annotation.ClassMemberValue host, P param)
          Case for classes.
 R constantMemberCase(AAnnotationsAttributeInfo.Annotation.ConstantMemberValue host, P param)
          Case for constants.
 R enumMemberCase(AAnnotationsAttributeInfo.Annotation.EnumMemberValue host, P param)
          Case for enums.
 

Method Detail

constantMemberCase

R constantMemberCase(AAnnotationsAttributeInfo.Annotation.ConstantMemberValue host,
                     P param)
Case for constants.

Parameters:
host - constant member
param - visitor-specific parameter
Returns:
visitor-specific return value

enumMemberCase

R enumMemberCase(AAnnotationsAttributeInfo.Annotation.EnumMemberValue host,
                 P param)
Case for enums.

Parameters:
host - enum member
param - visitor-specific parameter
Returns:
visitor-specific return value

classMemberCase

R classMemberCase(AAnnotationsAttributeInfo.Annotation.ClassMemberValue host,
                  P param)
Case for classes.

Parameters:
host - class member
param - visitor-specific parameter
Returns:
visitor-specific return value

annotationMemberCase

R annotationMemberCase(AAnnotationsAttributeInfo.Annotation.AnnotationMemberValue host,
                       P param)
Case for annotations.

Parameters:
host - annotation member
param - visitor-specific parameter
Returns:
visitor-specific return value

arrayMemberCase

R arrayMemberCase(AAnnotationsAttributeInfo.Annotation.ArrayMemberValue host,
                  P param)
Case for arrays.

Parameters:
host - array member
param - visitor-specific parameter
Returns:
visitor-specific return value