toothpick.compiler.factory.targets.ConstructorInjectionTarget Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of toothpick-compiler Show documentation
Show all versions of toothpick-compiler Show documentation
'Annotation Processors of toothpick'
package toothpick.compiler.factory.targets;
import java.util.ArrayList;
import java.util.List;
import javax.lang.model.element.TypeElement;
import toothpick.compiler.common.generators.targets.ParamInjectionTarget;
/**
* Basically all information to create an object / call a constructor of a class.
*/
public final class ConstructorInjectionTarget {
public final List parameters = new ArrayList<>();
public final TypeElement builtClass;
public String scopeName;
public final boolean hasScopeInstancesAnnotation;
/** true if the class as @Injected members */
public final TypeElement superClassThatNeedsMemberInjection;
public ConstructorInjectionTarget(TypeElement builtClass, String scopeName, boolean hasScopeInstancesAnnotation,
TypeElement superClassThatNeedsMemberInjection) {
this.builtClass = builtClass;
this.scopeName = scopeName;
this.hasScopeInstancesAnnotation = hasScopeInstancesAnnotation;
this.superClassThatNeedsMemberInjection = superClassThatNeedsMemberInjection;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy