
main.java.com.debughelper.tools.r8.shaking.ProguardKeepPackageNamesRule Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of debughelper Show documentation
Show all versions of debughelper Show documentation
A gradle plugin help to debug android lib module include native code.
The newest version!
// Copyright (c) 2017, the R8 project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
package com.debughelper.tools.r8.shaking;
import com.debughelper.tools.r8.shaking.ProguardClassNameList;
import com.debughelper.tools.r8.shaking.ProguardMemberRule;
import java.util.List;
public class ProguardKeepPackageNamesRule extends ProguardConfigurationRule {
public static class Builder extends ProguardConfigurationRule.Builder {
private Builder() {
}
public ProguardKeepPackageNamesRule build() {
return new ProguardKeepPackageNamesRule(classAnnotation, classAccessFlags,
negatedClassAccessFlags, classTypeNegated, classType, classNames, inheritanceAnnotation,
inheritanceClassName, inheritanceIsExtends, memberRules);
}
}
private ProguardKeepPackageNamesRule(
ProguardTypeMatcher classAnnotation,
ProguardAccessFlags classAccessFlags,
ProguardAccessFlags negatedClassAccessFlags,
boolean classTypeNegated,
ProguardClassType classType,
ProguardClassNameList classNames,
ProguardTypeMatcher inheritanceAnnotation,
ProguardTypeMatcher inheritanceClassName,
boolean inheritanceIsExtends,
List memberRules) {
super(classAnnotation, classAccessFlags, negatedClassAccessFlags, classTypeNegated, classType,
classNames, inheritanceAnnotation, inheritanceClassName, inheritanceIsExtends, memberRules);
}
public static ProguardKeepPackageNamesRule.Builder builder() {
return new ProguardKeepPackageNamesRule.Builder();
}
@Override
String typeString() {
return "keeppackagenames";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy