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

The following examples show how to use proguard.classfile.attribute.annotation.visitor.ElementValueVisitor. 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 File: ArrayElementValue.java    From java-n-IDE-for-Android with 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 File: Annotation.java    From bazel with 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 File: ArrayElementValue.java    From bazel with 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 #4
Source File: Annotation.java    From proguard with 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 File: ArrayElementValue.java    From proguard with 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 #6
Source File: Annotation.java    From java-n-IDE-for-Android with 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 File: AnnotationDefaultAttribute.java    From proguard with GNU General Public License v2.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 #8
Source File: ConstantElementValue.java    From bazel with 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 #9
Source File: AnnotationDefaultAttribute.java    From bazel with 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 #10
Source File: ClassElementValue.java    From bazel with 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
Source File: EnumConstantElementValue.java    From bazel with 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 #12
Source File: ArrayElementValue.java    From java-n-IDE-for-Android with 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 #13
Source File: ArrayElementValue.java    From bazel with 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 #14
Source File: ConstantElementValue.java    From proguard with GNU General Public License v2.0 4 votes vote down vote up
public void accept(Clazz clazz, Annotation annotation, ElementValueVisitor elementValueVisitor)
{
    elementValueVisitor.visitConstantElementValue(clazz, annotation, this);
}
 
Example #15
Source File: EnumConstantElementValue.java    From java-n-IDE-for-Android with 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 #16
Source File: ClassElementValue.java    From proguard with 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 #17
Source File: EnumConstantElementValue.java    From proguard with GNU General Public License v2.0 4 votes vote down vote up
public void accept(Clazz clazz, Annotation annotation, ElementValueVisitor elementValueVisitor)
{
    elementValueVisitor.visitEnumConstantElementValue(clazz, annotation, this);
}
 
Example #18
Source File: AnnotationElementValue.java    From java-n-IDE-for-Android with Apache License 2.0 4 votes vote down vote up
public void accept(Clazz clazz, Annotation annotation, ElementValueVisitor elementValueVisitor)
{
    elementValueVisitor.visitAnnotationElementValue(clazz, annotation, this);
}
 
Example #19
Source File: ArrayElementValue.java    From proguard with 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 #20
Source File: ConstantElementValue.java    From java-n-IDE-for-Android with 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 #21
Source File: AnnotationDefaultAttribute.java    From java-n-IDE-for-Android with 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 File: ClassElementValue.java    From java-n-IDE-for-Android with 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 #23
Source File: ElementValue.java    From proguard with 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 #24
Source File: ElementValue.java    From java-n-IDE-for-Android with 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 #25
Source File: ElementValue.java    From bazel with Apache License 2.0 2 votes vote down vote up
/**
 * Accepts the given visitor.
 */
public abstract void accept(Clazz clazz, Annotation annotation, ElementValueVisitor elementValueVisitor);