de.beosign.snakeyamlanno.property.AliasedProperty Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of snakeyaml-anno Show documentation
Show all versions of snakeyaml-anno Show documentation
This is the snakeyaml-anno library by github.com/beosign/snakeyaml-anno - released so we can use it on
Maven Central. It otherwise has no changes.
The newest version!
package de.beosign.snakeyamlanno.property;
import org.yaml.snakeyaml.introspector.Property;
/**
* This special property type is used to indicate that a property is being accessed by a different name.
*
* @author florian
*/
public class AliasedProperty extends AnnotatedProperty {
/**
* New instance.
*
* @param targetProperty property that was discovered and is now registered by an alias
* @param alias the alias under which the property is now accessible
*/
public AliasedProperty(Property targetProperty, String alias) {
super(alias, targetProperty);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy