public class KeepClassSpecification extends ClassSpecification
| Modifier and Type | Field and Description |
|---|---|
boolean |
allowObfuscation |
boolean |
allowOptimization |
boolean |
allowShrinking |
ClassSpecification |
condition |
boolean |
markClasses |
boolean |
markClassMembers |
boolean |
markCodeAttributes |
boolean |
markConditionally |
boolean |
markDescriptorClasses |
annotationType, attributeNames, className, comments, extendsAnnotationType, extendsClassName, fieldSpecifications, memberComments, methodSpecifications, requiredSetAccessFlags, requiredUnsetAccessFlags| Constructor and Description |
|---|
KeepClassSpecification(boolean markClasses,
boolean markClassMembers,
boolean markConditionally,
boolean markDescriptorClasses,
boolean markCodeAttributes,
boolean allowShrinking,
boolean allowOptimization,
boolean allowObfuscation,
ClassSpecification condition,
ClassSpecification classSpecification)
Creates a new KeepClassSpecification.
|
KeepClassSpecification(boolean markClassesAndMembers,
boolean markConditionally,
boolean markDescriptorClasses,
boolean markCodeAttributes,
boolean allowShrinking,
boolean allowOptimization,
boolean allowObfuscation,
ClassSpecification condition,
ClassSpecification classSpecification)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
boolean |
equals(java.lang.Object object) |
int |
hashCode() |
addField, addMethodpublic final boolean markClasses
public final boolean markClassMembers
public final boolean markConditionally
public final boolean markDescriptorClasses
public final boolean markCodeAttributes
public final boolean allowShrinking
public final boolean allowOptimization
public final boolean allowObfuscation
public final ClassSpecification condition
public KeepClassSpecification(boolean markClasses,
boolean markClassMembers,
boolean markConditionally,
boolean markDescriptorClasses,
boolean markCodeAttributes,
boolean allowShrinking,
boolean allowOptimization,
boolean allowObfuscation,
ClassSpecification condition,
ClassSpecification classSpecification)
markClasses - specifies whether to mark the classes.markClassMembers - specifies whether to mark the class
members.markConditionally - specifies whether to mark the classes and
class members conditionally. If true,
classes and class members are marked, on
the condition that all specified class
members are present.markDescriptorClasses - specifies whether to mark the classes in
the descriptors of the marked class members.markCodeAttributes - specified whether to mark the code attributes
of the marked class methods.allowShrinking - specifies whether shrinking is allowed.allowOptimization - specifies whether optimization is allowed.allowObfuscation - specifies whether obfuscation is allowed.condition - an optional extra condition.classSpecification - the specification of classes and class
members.@Deprecated
public KeepClassSpecification(boolean markClassesAndMembers,
boolean markConditionally,
boolean markDescriptorClasses,
boolean markCodeAttributes,
boolean allowShrinking,
boolean allowOptimization,
boolean allowObfuscation,
ClassSpecification condition,
ClassSpecification classSpecification)
markClassesAndMembers - specifies whether to mark the classes.markConditionally - specifies whether to mark the classes and
class members conditionally. If true,
classes and class members are marked, on
the condition that all specified class
members are present.markDescriptorClasses - specifies whether to mark the classes in
the descriptors of the marked class members.markCodeAttributes - specified whether to mark the code attributes
of the marked class methods.allowShrinking - specifies whether shrinking is allowed.allowOptimization - specifies whether optimization is allowed.allowObfuscation - specifies whether obfuscation is allowed.condition - an optional extra condition.classSpecification - the specification of classes and class
members.public boolean equals(java.lang.Object object)
equals in class ClassSpecificationpublic int hashCode()
hashCode in class ClassSpecificationpublic java.lang.Object clone()
clone in class ClassSpecification