edu.rice.cs.cunit.classFile.attributes.visitors
Interface IAttributeVisitor<R,D>

All Known Implementing Classes:
ADefaultAttributeVisitor

public interface IAttributeVisitor<R,D>

A visitor that operates on attributes.

Author:
Mathias Ricken

Method Summary
 R annotationDefaultCase(AnnotationDefaultAttributeInfo host, D param)
          Case for an AnnotationDefault attribute.
 R codeCase(CodeAttributeInfo host, D param)
          Case for Code attribute.
 R constantValueCase(ConstantValueAttributeInfo host, D param)
          Case for ConstantValue attribute.
 R deprecatedCase(DeprecatedAttributeInfo host, D param)
          Case for a Deprecated attribute.
 R enclosingMethodCase(EnclosingMethodAttributeInfo host, D param)
          Case for a EnclosingMethod attribute.
 R exceptionsCase(ExceptionsAttributeInfo host, D param)
          Case for Exceptions attribute.
 R innerClassesCase(InnerClassesAttributeInfo host, D param)
          Case for a InnerClasses attribute.
 R instrumentationCase(InstrumentationAttributeInfo host, D param)
          Case for a Instrumentation attribute.
 R lineNumberTableCase(LineNumberTableAttributeInfo host, D param)
          Case for LineNumberTable attribute.
 R localVariableTableCase(LocalVariableTableAttributeInfo host, D param)
          Case for LocalVariableTable attribute.
 R localVariableTypeTableCase(LocalVariableTypeTableAttributeInfo host, D param)
          Case for LocalVariableTypeTable attribute.
 R runtimeInvisibleAnnotationsCase(RuntimeInvisibleAnnotationsAttributeInfo host, D param)
          Case for a RuntimeInvisibleParameterAnnotations attribute.
 R runtimeInvisibleLocalVariableAnnotationsCase(RuntimeInvisibleLocalVariableAnnotationsAttributeInfo host, D param)
          Case for a (non-standard) RuntimeInvisibleLocalVariableAnnotations attribute.
 R runtimeInvisibleParameterAnnotationsCase(RuntimeInvisibleParameterAnnotationsAttributeInfo host, D param)
          Case for a RuntimeInvisibleParameterAnnotations attribute.
 R runtimeVisibleAnnotationsCase(RuntimeVisibleAnnotationsAttributeInfo host, D param)
          Case for a RuntimeVisibleAnnotations attribute.
 R runtimeVisibleLocalVariableAnnotationsCase(RuntimeVisibleLocalVariableAnnotationsAttributeInfo host, D param)
          Case for a (non-standard) RuntimeVisibleLocalVariableAnnotations attribute.
 R runtimeVisibleParameterAnnotationsCase(RuntimeVisibleParameterAnnotationsAttributeInfo host, D param)
          Case for a RuntimeVisibleParameterAnnotations attribute.
 R signatureCase(SignatureAttributeInfo host, D param)
          Case for Signature attribute.
 R sourceFileCase(SourceFileAttributeInfo host, D param)
          Case for SourceFile attribute.
 R syntheticCase(SyntheticAttributeInfo host, D param)
          Case for a Synthetic attribute.
 R unknownCase(UnknownAttributeInfo host, D param)
          Case for an unknown attribute.
 

Method Detail

sourceFileCase

R sourceFileCase(SourceFileAttributeInfo host,
                 D param)
Case for SourceFile attribute.

Parameters:
host - attribute
param - visitor-specific parameter
Returns:
visitor-specific return vakue

constantValueCase

R constantValueCase(ConstantValueAttributeInfo host,
                    D param)
Case for ConstantValue attribute.

Parameters:
host - attribute
param - visitor-specific parameter
Returns:
visitor-specific return vakue

codeCase

R codeCase(CodeAttributeInfo host,
           D param)
Case for Code attribute.

Parameters:
host - attribute
param - visitor-specific parameter
Returns:
visitor-specific return vakue

exceptionsCase

R exceptionsCase(ExceptionsAttributeInfo host,
                 D param)
Case for Exceptions attribute.

Parameters:
host - attribute
param - visitor-specific parameter
Returns:
visitor-specific return vakue

lineNumberTableCase

R lineNumberTableCase(LineNumberTableAttributeInfo host,
                      D param)
Case for LineNumberTable attribute.

Parameters:
host - attribute
param - visitor-specific parameter
Returns:
visitor-specific return vakue

localVariableTableCase

R localVariableTableCase(LocalVariableTableAttributeInfo host,
                         D param)
Case for LocalVariableTable attribute.

Parameters:
host - attribute
param - visitor-specific parameter
Returns:
visitor-specific return vakue

localVariableTypeTableCase

R localVariableTypeTableCase(LocalVariableTypeTableAttributeInfo host,
                             D param)
Case for LocalVariableTypeTable attribute.

Parameters:
host - attribute
param - visitor-specific parameter
Returns:
visitor-specific return vakue

signatureCase

R signatureCase(SignatureAttributeInfo host,
                D param)
Case for Signature attribute.

Parameters:
host - attribute
param - visitor-specific parameter
Returns:
visitor-specific return vakue

annotationDefaultCase

R annotationDefaultCase(AnnotationDefaultAttributeInfo host,
                        D param)
Case for an AnnotationDefault attribute.

Parameters:
host - attribute
param - visitor-specific parameter
Returns:
visitor-specific return vakue

runtimeVisibleAnnotationsCase

R runtimeVisibleAnnotationsCase(RuntimeVisibleAnnotationsAttributeInfo host,
                                D param)
Case for a RuntimeVisibleAnnotations attribute.

Parameters:
host - attribute
param - visitor-specific parameter
Returns:
visitor-specific return vakue

runtimeInvisibleAnnotationsCase

R runtimeInvisibleAnnotationsCase(RuntimeInvisibleAnnotationsAttributeInfo host,
                                  D param)
Case for a RuntimeInvisibleParameterAnnotations attribute.

Parameters:
host - attribute
param - visitor-specific parameter
Returns:
visitor-specific return vakue

runtimeVisibleParameterAnnotationsCase

R runtimeVisibleParameterAnnotationsCase(RuntimeVisibleParameterAnnotationsAttributeInfo host,
                                         D param)
Case for a RuntimeVisibleParameterAnnotations attribute.

Parameters:
host - attribute
param - visitor-specific parameter
Returns:
visitor-specific return vakue

runtimeInvisibleParameterAnnotationsCase

R runtimeInvisibleParameterAnnotationsCase(RuntimeInvisibleParameterAnnotationsAttributeInfo host,
                                           D param)
Case for a RuntimeInvisibleParameterAnnotations attribute.

Parameters:
host - attribute
param - visitor-specific parameter
Returns:
visitor-specific return vakue

innerClassesCase

R innerClassesCase(InnerClassesAttributeInfo host,
                   D param)
Case for a InnerClasses attribute.

Parameters:
host - attribute
param - visitor-specific parameter
Returns:
visitor-specific return vakue

syntheticCase

R syntheticCase(SyntheticAttributeInfo host,
                D param)
Case for a Synthetic attribute.

Parameters:
host - attribute
param - visitor-specific parameter
Returns:
visitor-specific return vakue

enclosingMethodCase

R enclosingMethodCase(EnclosingMethodAttributeInfo host,
                      D param)
Case for a EnclosingMethod attribute.

Parameters:
host - attribute
param - visitor-specific parameter
Returns:
visitor-specific return vakue

deprecatedCase

R deprecatedCase(DeprecatedAttributeInfo host,
                 D param)
Case for a Deprecated attribute.

Parameters:
host - attribute
param - visitor-specific parameter
Returns:
visitor-specific return vakue

instrumentationCase

R instrumentationCase(InstrumentationAttributeInfo host,
                      D param)
Case for a Instrumentation attribute.

Parameters:
host - attribute
param - visitor-specific parameter
Returns:
visitor-specific return vakue

unknownCase

R unknownCase(UnknownAttributeInfo host,
              D param)
Case for an unknown attribute.

Parameters:
host - attribute
param - visitor-specific parameter
Returns:
visitor-specific return vakue

runtimeInvisibleLocalVariableAnnotationsCase

R runtimeInvisibleLocalVariableAnnotationsCase(RuntimeInvisibleLocalVariableAnnotationsAttributeInfo host,
                                               D param)
Case for a (non-standard) RuntimeInvisibleLocalVariableAnnotations attribute.

Parameters:
host - attribute
param - visitor-specific parameter
Returns:
visitor-specific return vakue

runtimeVisibleLocalVariableAnnotationsCase

R runtimeVisibleLocalVariableAnnotationsCase(RuntimeVisibleLocalVariableAnnotationsAttributeInfo host,
                                             D param)
Case for a (non-standard) RuntimeVisibleLocalVariableAnnotations attribute.

Parameters:
host - attribute
param - visitor-specific parameter
Returns:
visitor-specific return vakue