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

fr.vergne.pester.definition.GetterDefinition Maven / Gradle / Ivy

The newest version!
package fr.vergne.pester.definition;

import java.util.Optional;

import fr.vergne.pester.model.Getter;
import fr.vergne.pester.options.Mutability;
import fr.vergne.pester.options.Scope;
import fr.vergne.pester.options.Visibility;
import fr.vergne.pester.util.namer.Namer;

public class GetterDefinition implements InstanciableDefinition> {

	private final Getter

instance; private final Optional visibility; private final Optional mutability; private final Optional scope; public GetterDefinition(Class

pojoClass, Namer namer, Optional visibility, Optional mutability, Optional scope) { this.instance = new Getter<>(pojoClass, namer); this.visibility = visibility; this.mutability = mutability; this.scope = scope; } @Override public Getter

getInstance() { return instance; } public Optional getVisibility() { return visibility; } public Optional getMutability() { return mutability; } public Optional getScope() { return scope; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy