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

org.sfm.reflect.ConstructorPropertyMeta Maven / Gradle / Ivy

package org.sfm.reflect;

import org.sfm.reflect.asm.ConstructorParameter;

public class ConstructorPropertyMeta extends PropertyMeta {

	public ConstructorPropertyMeta(String name, ReflectionService reflectService, ConstructorParameter constructorParameter) {
		super(name, reflectService);
		this.constructorParameter = constructorParameter;
	}

	private final ConstructorParameter constructorParameter;
	
	@Override
	protected Setter newSetter() {
		throw new UnsupportedOperationException();
	}

	@SuppressWarnings("unchecked")
	@Override
	public Class getType() {
		return (Class) constructorParameter.getType();
	}

	public ConstructorParameter getConstructorParameter() {
		return constructorParameter;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy