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

se.bjurr.jmib.model.ClassModel Maven / Gradle / Ivy

There is a newer version: 1.4
Show newest version
package se.bjurr.jmib.model;

import java.util.List;

public class ClassModel {

  private final String classFullyQualified;
  private final List methods;
  private final String packageName;

  public ClassModel(String packageName, String classFullyQualified, List methods) {
    this.packageName = packageName;
    this.classFullyQualified = classFullyQualified;
    this.methods = methods;
  }

  public String getClassFullyQualifiedName() {
    return this.classFullyQualified;
  }

  public String getClassName() {
    String[] parts = this.classFullyQualified.split("\\.");
    return parts[parts.length - 1];
  }

  public List getMethods() {
    return this.methods;
  }

  public String getPackageName() {
    return this.packageName;
  }

  @Override
  public String toString() {
    return "ClassModel [classFullyQualified="
        + this.classFullyQualified
        + ", methods="
        + this.methods
        + ", packageName="
        + this.packageName
        + "]";
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy