com.googlecode.lightest.core.filter
Class AnnotationField
java.lang.Object
com.googlecode.lightest.core.filter.AnnotationField
- All Implemented Interfaces:
- groovy.lang.GroovyObject
public class AnnotationField
- extends Object
- implements groovy.lang.GroovyObject
Identifies an annotation field by name, or name and member, where the member
is an attribute of the annotation. For example, for the annotation
"@Test(groups = [ 'foo', 'bar' ])", the name is "Test" and the member is
"groups".
AnnotationField
public AnnotationField(String name)
AnnotationField
public AnnotationField(String name,
String member)
getName
public String getName()
setName
public void setName(String value)
getMember
public String getMember()
setMember
public void setMember(String value)
toString
public String toString()
- Overrides:
toString in class Object
getMetaClass
public groovy.lang.MetaClass getMetaClass()
- Specified by:
getMetaClass in interface groovy.lang.GroovyObject
setMetaClass
public void setMetaClass(groovy.lang.MetaClass metaClass)
- Specified by:
setMetaClass in interface groovy.lang.GroovyObject
invokeMethod
public Object invokeMethod(String name,
Object args)
- Specified by:
invokeMethod in interface groovy.lang.GroovyObject
getProperty
public Object getProperty(String name)
- Specified by:
getProperty in interface groovy.lang.GroovyObject
setProperty
public void setProperty(String name,
Object value)
- Specified by:
setProperty in interface groovy.lang.GroovyObject
Copyright © 2009. All Rights Reserved.