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

org.pitest.mutationtest.engine.gregor.ClassInfo Maven / Gradle / Ivy

package org.pitest.mutationtest.engine.gregor;

public class ClassInfo {

  private final int      version;
  private final int      access;
  private final String   name;
  private final String   signature;
  private final String   superName;
  private final String[] interfaces;

  public ClassInfo(final int version, final int access, final String name,
      final String signature, final String superName, final String[] interfaces) {
    this.version = version;
    this.access = access;
    this.name = name;
    this.signature = signature;
    this.superName = superName;
    this.interfaces = interfaces;
  }

  public boolean isEnum() {
    return this.superName.equals("java/lang/Enum");
  }

  public int getVersion() {
    return this.version;
  }

  public int getAccess() {
    return this.access;
  }

  public String getName() {
    return this.name;
  }

  public String getSignature() {
    return this.signature;
  }

  public String getSuperName() {
    return this.superName;
  }

  public String[] getInterfaces() {
    return this.interfaces;
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy