com.appland.appmap.test.util.NewClass Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of appmap-agent Show documentation
Show all versions of appmap-agent Show documentation
Inspect and record the execution of Java for use with App Land
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