All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.yworks.yshrink.model.AnnotationUsage Maven / Gradle / Ivy

Go to download

The open-source Java obfuscation tool working with Ant and Gradle by yWorks - the diagramming experts

There is a newer version: 4.1.1
Show newest version
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;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy