Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.infinispan.protostream.descriptors;
 
 
 import java.util.Map;

Author(s):
anistor@redhat.com
Since:
2.0
public interface AnnotatedDescriptor {
   String getName();
   String getDocumentation();

   
Get the documentation annotations in the form of a map of abstract syntax trees of AnnotationElement nodes.

Returns:
the map of annotations
Throws:
org.infinispan.protostream.AnnotationParserException
Get the annotation object created by the registered AnnotationMetadataCreator or null if the annotation is missing or no AnnotationMetadataCreator was registered.

Parameters:
annotationName
<T>
Returns:
Throws:
org.infinispan.protostream.AnnotationParserException
   <T> T getProcessedAnnotation(String annotationNamethrows AnnotationParserException;
New to GrepCode? Check out our FAQ X