本文整理汇总了Java中proguard.classfile.attribute.annotation.visitor.ElementValueVisitor类的典型用法代码示例。如果您正苦于以下问题:Java ElementValueVisitor类的具体用法?Java ElementValueVisitor怎么用?Java ElementValueVisitor使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
ElementValueVisitor类属于proguard.classfile.attribute.annotation.visitor包,在下文中一共展示了ElementValueVisitor类的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: elementValuesAccept
import proguard.classfile.attribute.annotation.visitor.ElementValueVisitor; //导入依赖的package包/类
/**
* Applies the given visitor to all nested element values.
*/
public void elementValuesAccept(Clazz clazz, Annotation annotation, ElementValueVisitor elementValueVisitor)
{
for (int index = 0; index < u2elementValuesCount; index++)
{
elementValues[index].accept(clazz, annotation, elementValueVisitor);
}
}
示例2: elementValuesAccept
import proguard.classfile.attribute.annotation.visitor.ElementValueVisitor; //导入依赖的package包/类
/**
* Applies the given visitor to all element value pairs.
*/
public void elementValuesAccept(Clazz clazz, ElementValueVisitor elementValueVisitor)
{
for (int index = 0; index < u2elementValuesCount; index++)
{
elementValues[index].accept(clazz, this, elementValueVisitor);
}
}
示例3: accept
import proguard.classfile.attribute.annotation.visitor.ElementValueVisitor; //导入依赖的package包/类
public void accept(Clazz clazz, Annotation annotation, ElementValueVisitor elementValueVisitor)
{
elementValueVisitor.visitArrayElementValue(clazz, annotation, this);
}
示例4: accept
import proguard.classfile.attribute.annotation.visitor.ElementValueVisitor; //导入依赖的package包/类
public void accept(Clazz clazz, Annotation annotation, ElementValueVisitor elementValueVisitor)
{
elementValueVisitor.visitAnnotationElementValue(clazz, annotation, this);
}
示例5: accept
import proguard.classfile.attribute.annotation.visitor.ElementValueVisitor; //导入依赖的package包/类
public void accept(Clazz clazz, Annotation annotation, ElementValueVisitor elementValueVisitor)
{
elementValueVisitor.visitEnumConstantElementValue(clazz, annotation, this);
}
示例6: accept
import proguard.classfile.attribute.annotation.visitor.ElementValueVisitor; //导入依赖的package包/类
public void accept(Clazz clazz, Annotation annotation, ElementValueVisitor elementValueVisitor)
{
elementValueVisitor.visitClassElementValue(clazz, annotation, this);
}
示例7: defaultValueAccept
import proguard.classfile.attribute.annotation.visitor.ElementValueVisitor; //导入依赖的package包/类
/**
* Applies the given visitor to the default element value.
*/
public void defaultValueAccept(Clazz clazz, ElementValueVisitor elementValueVisitor)
{
defaultValue.accept(clazz, null, elementValueVisitor);
}
示例8: accept
import proguard.classfile.attribute.annotation.visitor.ElementValueVisitor; //导入依赖的package包/类
public void accept(Clazz clazz, Annotation annotation, ElementValueVisitor elementValueVisitor)
{
elementValueVisitor.visitConstantElementValue(clazz, annotation, this);
}
示例9: accept
import proguard.classfile.attribute.annotation.visitor.ElementValueVisitor; //导入依赖的package包/类
/**
* Accepts the given visitor.
*/
public abstract void accept(Clazz clazz, Annotation annotation, ElementValueVisitor elementValueVisitor);