org.apache.felix.ipojo.manipulation
Class ClassChecker.EnumAttribute

java.lang.Object
  extended by org.apache.felix.ipojo.manipulation.ClassChecker.EnumAttribute
Enclosing class:
ClassChecker

public static final class ClassChecker.EnumAttribute
extends java.lang.Object

Describes an attribute. The value of this attribute is an enumerated value. This class is able to visit an annotation enumeration attribute, and to recreate this attribute on another annotation.

Author:
Felix Project Team

Field Summary
private  java.lang.String m_desc
          The descriptor of the enumeration.
private  java.lang.String m_name
          The name of the attribute.
private  java.lang.String m_value
          The value of the attribute.
 
Constructor Summary
private ClassChecker.EnumAttribute(java.lang.String name, java.lang.String desc, java.lang.String value)
          Creates a enumeration attribute.
 
Method Summary
 void visit(org.objectweb.asm.AnnotationVisitor visitor)
          Recreates the attribute on the given annotation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_name

private java.lang.String m_name
The name of the attribute.


m_desc

private java.lang.String m_desc
The descriptor of the enumeration.


m_value

private java.lang.String m_value
The value of the attribute.

Constructor Detail

ClassChecker.EnumAttribute

private ClassChecker.EnumAttribute(java.lang.String name,
                                   java.lang.String desc,
                                   java.lang.String value)
Creates a enumeration attribute.

Parameters:
name - the name of the attribute.
desc - the descriptor of the Enum
value - the enumerated value
Method Detail

visit

public void visit(org.objectweb.asm.AnnotationVisitor visitor)
Recreates the attribute on the given annotation.

Parameters:
visitor - the visitor on which the attribute needs to be injected.


Copyright © 2006-2010 The Apache Software Foundation. All Rights Reserved.