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

com.appland.appmap.test.util.NewClass Maven / Gradle / Ivy

There is a newer version: 1.27.1
Show newest version
package com.appland.appmap.test.util;

import javassist.CtClass;

/**
 * A data structure for dynamic class information after being built by a {@link ClassBuilder}.
 */
public class NewClass {
  private CtClass ctClass;
  private Class reflectClass;

  public NewClass(CtClass ctClass, Class reflectClass) {
    this.ctClass = ctClass;
    this.reflectClass = reflectClass;
  }

  /**
   * Get this class.
   * @return As a CtClass
   */
  public CtClass asCtClass() {
    return this.ctClass;
  }

  /**
   * Get this class.
   * @return As a System Class
   */
  public Class asClass() {
    return this.reflectClass;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy