com.yworks.yguard.test.annotations.AnnoTest7KEEP Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of yguard Show documentation
Show all versions of yguard Show documentation
The open-source Java obfuscation tool working with Ant and Gradle by yWorks - the diagramming experts
package com.yworks.yguard.test.annotations;
import com.yworks.util.annotation.Obfuscation;
/**
* Tests the annotation config inheritance
*/
public class AnnoTest7KEEP {
@Obfuscation(exclude = true, applyToMembers = true)
public class KEEP1 {
@Obfuscation(exclude = false, applyToMembers = true)
public class InnerOBFUSCATE {
boolean innerFieldOBFUSCATE;
}
}
@Obfuscation(exclude = true, applyToMembers = true)
public class KEEP2 {
@Obfuscation(exclude = false, applyToMembers = false)
public class InnerOBFUSCATE {
boolean innerFieldKEEP;
}
}
@Obfuscation(exclude = true, applyToMembers = true)
public class KEEP3 {
@Obfuscation(exclude = false, applyToMembers = true)
public class InnerOBFUSCATE {
boolean innerFieldOBFUSCATE;
class InnerInnerOBFUSCATE {
// inherits from InnerObfuscate
boolean innerFieldOBFUSCATE;
}
}
}
@Obfuscation(exclude = true, applyToMembers = true)
public class KEEP4 {
@Obfuscation(exclude = false, applyToMembers = false)
public class InnerOBFUSCATE {
// inherits from KEEP4
boolean innerFieldKEEP;
@Obfuscation(exclude = false, applyToMembers = false)
class InnerInnerOBFUSCATE {
// inherits from KEEP4
boolean innerFieldKEEP;
}
}
}
}