Java Code Examples for org.jf.dexlib2.iface.AnnotationElement#getName()

The following examples show how to use org.jf.dexlib2.iface.AnnotationElement#getName() . 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: ImmutableAnnotationElement.java    From ZjDroid with Apache License 2.0 5 votes vote down vote up
public static ImmutableAnnotationElement of(AnnotationElement annotationElement) {
    if (annotationElement instanceof ImmutableAnnotationElement) {
        return (ImmutableAnnotationElement)annotationElement;
    }
    return new ImmutableAnnotationElement(
            annotationElement.getName(),
            annotationElement.getValue());
}
 
Example 2
Source File: ImmutableAnnotationElement.java    From zjdroid with Apache License 2.0 5 votes vote down vote up
public static ImmutableAnnotationElement of(AnnotationElement annotationElement) {
    if (annotationElement instanceof ImmutableAnnotationElement) {
        return (ImmutableAnnotationElement)annotationElement;
    }
    return new ImmutableAnnotationElement(
            annotationElement.getName(),
            annotationElement.getValue());
}
 
Example 3
Source File: ImmutableAnnotationElement.java    From HeyGirl with Apache License 2.0 5 votes vote down vote up
public static ImmutableAnnotationElement of(AnnotationElement annotationElement) {
    if (annotationElement instanceof ImmutableAnnotationElement) {
        return (ImmutableAnnotationElement)annotationElement;
    }
    return new ImmutableAnnotationElement(
            annotationElement.getName(),
            annotationElement.getValue());
}
 
Example 4
Source File: ImmutableAnnotationElement.java    From ZjDroid with Apache License 2.0 5 votes vote down vote up
public static ImmutableAnnotationElement of(AnnotationElement annotationElement) {
    if (annotationElement instanceof ImmutableAnnotationElement) {
        return (ImmutableAnnotationElement)annotationElement;
    }
    return new ImmutableAnnotationElement(
            annotationElement.getName(),
            annotationElement.getValue());
}
 
Example 5
Source File: AnnotationPool.java    From ZjDroid with Apache License 2.0 4 votes vote down vote up
@Nonnull @Override public CharSequence getElementName(@Nonnull AnnotationElement annotationElement) {
    return annotationElement.getName();
}
 
Example 6
Source File: AnnotationPool.java    From zjdroid with Apache License 2.0 4 votes vote down vote up
@Nonnull @Override public CharSequence getElementName(@Nonnull AnnotationElement annotationElement) {
    return annotationElement.getName();
}
 
Example 7
Source File: AnnotationPool.java    From HeyGirl with Apache License 2.0 4 votes vote down vote up
@Nonnull @Override public CharSequence getElementName(@Nonnull AnnotationElement annotationElement) {
    return annotationElement.getName();
}
 
Example 8
Source File: AnnotationPool.java    From ZjDroid with Apache License 2.0 4 votes vote down vote up
@Nonnull @Override public CharSequence getElementName(@Nonnull AnnotationElement annotationElement) {
    return annotationElement.getName();
}