Initial import of ADIF API reverse-engineering toolkit
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
package retrofit2;
|
||||
|
||||
import java.lang.annotation.Annotation;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
final class SkipCallbackExecutorImpl implements SkipCallbackExecutor {
|
||||
private static final SkipCallbackExecutor INSTANCE = new SkipCallbackExecutorImpl();
|
||||
|
||||
public static Annotation[] ensurePresent(Annotation[] annotationArr) {
|
||||
if (Utils.isAnnotationPresent(annotationArr, SkipCallbackExecutor.class)) {
|
||||
return annotationArr;
|
||||
}
|
||||
Annotation[] annotationArr2 = new Annotation[annotationArr.length + 1];
|
||||
annotationArr2[0] = INSTANCE;
|
||||
System.arraycopy(annotationArr, 0, annotationArr2, 1, annotationArr.length);
|
||||
return annotationArr2;
|
||||
}
|
||||
|
||||
@Override // java.lang.annotation.Annotation
|
||||
public Class<? extends Annotation> annotationType() {
|
||||
return SkipCallbackExecutor.class;
|
||||
}
|
||||
|
||||
@Override // java.lang.annotation.Annotation
|
||||
public boolean equals(Object obj) {
|
||||
return obj instanceof SkipCallbackExecutor;
|
||||
}
|
||||
|
||||
@Override // java.lang.annotation.Annotation
|
||||
public int hashCode() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@Override // java.lang.annotation.Annotation
|
||||
public String toString() {
|
||||
return "@" + SkipCallbackExecutor.class.getName() + "()";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user