org.apache.commons.classscan.bcel
Class BcelProperty
java.lang.Object
org.apache.commons.classscan.bcel.BcelProperty
- All Implemented Interfaces:
- HasName, MetaAnnotation.Property, HasResolve, SpiMetaAnnotation.SpiProperty
public class BcelProperty
- extends Object
- implements SpiMetaAnnotation.SpiProperty
Constructor Summary |
BcelProperty(org.apache.bcel.classfile.ElementValuePair evPair)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BcelProperty
public BcelProperty(org.apache.bcel.classfile.ElementValuePair evPair)
resolve
public boolean resolve(SpiMetaClassLoader classLoader)
- Description copied from interface:
HasResolve
- Resolve names into model entries
- Specified by:
resolve
in interface HasResolve
getName
public String getName()
- Description copied from interface:
HasName
- Get the name of the instance
- Specified by:
getName
in interface HasName
getValue
public Object getValue()
- Description copied from interface:
MetaAnnotation.Property
- Get the property value. This will be
- a String for String value,
- an Object of the wrapper type for primitive values,
- an
MetaAnnotation.EnumValue
for Enum values,
- a MetaAnnotation for Annotations,
- an Object[] for any array value
- Specified by:
getValue
in interface MetaAnnotation.Property
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.