Skip to content

Commit

Permalink
Add a literal for @Generic
Browse files Browse the repository at this point in the history
  • Loading branch information
pmuir committed Sep 6, 2010
1 parent 205eb9a commit 3f69f80
Showing 1 changed file with 24 additions and 0 deletions.
@@ -0,0 +1,24 @@
package org.jboss.weld.extensions.bean.generic;

import java.lang.annotation.Annotation;

import javax.enterprise.util.AnnotationLiteral;

public class GenericLiteral extends AnnotationLiteral<Generic> implements Generic
{

private static final long serialVersionUID = -1931707390692943775L;

private final Class<? extends Annotation> value;

public GenericLiteral(Class<? extends Annotation> value)
{
this.value = value;
}

public Class<? extends Annotation> value()
{
return value;
}

}

0 comments on commit 3f69f80

Please sign in to comment.