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

com.greenpepper.annotation.IgnoredAnnotation Maven / Gradle / Ivy

There is a newer version: 4.2.4
Show newest version
package com.greenpepper.annotation;

import com.greenpepper.Text;
import com.greenpepper.TypeConversion;

/**
 * 

IgnoredAnnotation class.

* * @author oaouattara * @version $Id: $Id */ public class IgnoredAnnotation implements Annotation { private final Object actual; /** *

Constructor for IgnoredAnnotation.

* * @param actual a {@link java.lang.Object} object. */ public IgnoredAnnotation(Object actual) { this.actual = actual; } /** {@inheritDoc} */ public void writeDown(Text text) { text.setStyle( Styles.BACKGROUND_COLOR, Colors.GRAY ); text.setStatus( Status.IGNORED ); text.setContent( TypeConversion.toString( actual ) ); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy