com.yworks.yshrink.model.AnnotationUsage 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.yshrink.model;
import java.util.List;
import java.util.ArrayList;
/** @author schroede */
public class AnnotationUsage {
private String descriptor;
private List fieldUsages = new ArrayList();
public AnnotationUsage(String descriptor) {
this.descriptor = descriptor;
}
public void addFieldUsage(String name) {
if (name != null) {
fieldUsages.add(name);
}
}
public String getDescriptor() {
return descriptor;
}
public List getFieldUsages() {
return fieldUsages;
}
}