Java Code Examples for proguard.classfile.attribute.annotation.visitor.ElementValueVisitor

The following examples show how to use proguard.classfile.attribute.annotation.visitor.ElementValueVisitor. These examples are extracted from open source projects. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source Project: java-n-IDE-for-Android   Source File: ArrayElementValue.java    License: Apache License 2.0 5 votes vote down vote up
/**
 * 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);
    }
}
 
Example 2
Source Project: java-n-IDE-for-Android   Source File: Annotation.java    License: Apache License 2.0 5 votes vote down vote up
/**
 * 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);
    }
}
 
Example 3
Source Project: proguard   Source File: ArrayElementValue.java    License: GNU General Public License v2.0 5 votes vote down vote up
/**
 * 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);
    }
}
 
Example 4
Source Project: proguard   Source File: Annotation.java    License: GNU General Public License v2.0 5 votes vote down vote up
/**
 * 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);
    }
}
 
Example 5
Source Project: bazel   Source File: ArrayElementValue.java    License: Apache License 2.0 5 votes vote down vote up
/**
 * 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);
    }
}
 
Example 6
Source Project: bazel   Source File: Annotation.java    License: Apache License 2.0 5 votes vote down vote up
/**
 * 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);
    }
}
 
Example 7
Source Project: java-n-IDE-for-Android   Source File: ArrayElementValue.java    License: Apache License 2.0 4 votes vote down vote up
public void accept(Clazz clazz, Annotation annotation, ElementValueVisitor elementValueVisitor)
{
    elementValueVisitor.visitArrayElementValue(clazz, annotation, this);
}
 
Example 8
public void accept(Clazz clazz, Annotation annotation, ElementValueVisitor elementValueVisitor)
{
    elementValueVisitor.visitAnnotationElementValue(clazz, annotation, this);
}
 
Example 9
public void accept(Clazz clazz, Annotation annotation, ElementValueVisitor elementValueVisitor)
{
    elementValueVisitor.visitEnumConstantElementValue(clazz, annotation, this);
}
 
Example 10
Source Project: java-n-IDE-for-Android   Source File: ClassElementValue.java    License: Apache License 2.0 4 votes vote down vote up
public void accept(Clazz clazz, Annotation annotation, ElementValueVisitor elementValueVisitor)
{
    elementValueVisitor.visitClassElementValue(clazz, annotation, this);
}
 
Example 11
/**
 * Applies the given visitor to the default element value.
 */
public void defaultValueAccept(Clazz clazz, ElementValueVisitor elementValueVisitor)
{
    defaultValue.accept(clazz, null, elementValueVisitor);
}
 
Example 12
public void accept(Clazz clazz, Annotation annotation, ElementValueVisitor elementValueVisitor)
{
    elementValueVisitor.visitConstantElementValue(clazz, annotation, this);
}
 
Example 13
Source Project: proguard   Source File: ArrayElementValue.java    License: GNU General Public License v2.0 4 votes vote down vote up
public void accept(Clazz clazz, Annotation annotation, ElementValueVisitor elementValueVisitor)
{
    elementValueVisitor.visitArrayElementValue(clazz, annotation, this);
}
 
Example 14
public void accept(Clazz clazz, Annotation annotation, ElementValueVisitor elementValueVisitor)
{
    elementValueVisitor.visitEnumConstantElementValue(clazz, annotation, this);
}
 
Example 15
Source Project: proguard   Source File: ClassElementValue.java    License: GNU General Public License v2.0 4 votes vote down vote up
public void accept(Clazz clazz, Annotation annotation, ElementValueVisitor elementValueVisitor)
{
    elementValueVisitor.visitClassElementValue(clazz, annotation, this);
}
 
Example 16
/**
 * Applies the given visitor to the default element value.
 */
public void defaultValueAccept(Clazz clazz, ElementValueVisitor elementValueVisitor)
{
    defaultValue.accept(clazz, null, elementValueVisitor);
}
 
Example 17
public void accept(Clazz clazz, Annotation annotation, ElementValueVisitor elementValueVisitor)
{
    elementValueVisitor.visitConstantElementValue(clazz, annotation, this);
}
 
Example 18
Source Project: bazel   Source File: ArrayElementValue.java    License: Apache License 2.0 4 votes vote down vote up
public void accept(Clazz clazz, Annotation annotation, ElementValueVisitor elementValueVisitor)
{
    elementValueVisitor.visitArrayElementValue(clazz, annotation, this);
}
 
Example 19
Source Project: bazel   Source File: EnumConstantElementValue.java    License: Apache License 2.0 4 votes vote down vote up
public void accept(Clazz clazz, Annotation annotation, ElementValueVisitor elementValueVisitor)
{
    elementValueVisitor.visitEnumConstantElementValue(clazz, annotation, this);
}
 
Example 20
Source Project: bazel   Source File: ClassElementValue.java    License: Apache License 2.0 4 votes vote down vote up
public void accept(Clazz clazz, Annotation annotation, ElementValueVisitor elementValueVisitor)
{
    elementValueVisitor.visitClassElementValue(clazz, annotation, this);
}
 
Example 21
Source Project: bazel   Source File: AnnotationDefaultAttribute.java    License: Apache License 2.0 4 votes vote down vote up
/**
 * Applies the given visitor to the default element value.
 */
public void defaultValueAccept(Clazz clazz, ElementValueVisitor elementValueVisitor)
{
    defaultValue.accept(clazz, null, elementValueVisitor);
}
 
Example 22
Source Project: bazel   Source File: ConstantElementValue.java    License: Apache License 2.0 4 votes vote down vote up
public void accept(Clazz clazz, Annotation annotation, ElementValueVisitor elementValueVisitor)
{
    elementValueVisitor.visitConstantElementValue(clazz, annotation, this);
}
 
Example 23
Source Project: java-n-IDE-for-Android   Source File: ElementValue.java    License: Apache License 2.0 2 votes vote down vote up
/**
 * Accepts the given visitor.
 */
public abstract void accept(Clazz clazz, Annotation annotation, ElementValueVisitor elementValueVisitor);
 
Example 24
Source Project: proguard   Source File: ElementValue.java    License: GNU General Public License v2.0 2 votes vote down vote up
/**
 * Accepts the given visitor.
 */
public abstract void accept(Clazz clazz, Annotation annotation, ElementValueVisitor elementValueVisitor);
 
Example 25
Source Project: bazel   Source File: ElementValue.java    License: Apache License 2.0 2 votes vote down vote up
/**
 * Accepts the given visitor.
 */
public abstract void accept(Clazz clazz, Annotation annotation, ElementValueVisitor elementValueVisitor);