org.modeshape.sequencer.classfile.metadata
Class EnumMetadata

java.lang.Object
  extended by org.modeshape.sequencer.classfile.metadata.ClassMetadata
      extended by org.modeshape.sequencer.classfile.metadata.EnumMetadata

public class EnumMetadata
extends ClassMetadata


Constructor Summary
EnumMetadata(javassist.bytecode.ClassFile clazz)
           
 
Method Summary
 List<FieldMetadata> getFields()
           
 List<String> getValues()
           
 boolean isEnumeration()
           
 
Methods inherited from class org.modeshape.sequencer.classfile.metadata.ClassMetadata
getAnnotations, getClassName, getConstructors, getInterfaces, getMethods, getSuperclassName, getVisibility, isAbstract, isFinal, isInterface, isStrictFp, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EnumMetadata

public EnumMetadata(javassist.bytecode.ClassFile clazz)
Method Detail

getValues

public List<String> getValues()

getFields

public List<FieldMetadata> getFields()
Overrides:
getFields in class ClassMetadata

isEnumeration

public boolean isEnumeration()
Overrides:
isEnumeration in class ClassMetadata


Copyright © 2008-2010 JBoss, a division of Red Hat. All Rights Reserved.