Package net.officefloor.compile.type
Interface AnnotatedType
- 
- All Known Subinterfaces:
- ManagedFunctionFlowType<F>,- ManagedFunctionObjectType<M>,- ManagedFunctionType<M,F>,- ManagedObjectDependencyType<D>,- OfficeSectionInputType,- OfficeSectionOutputType,- SectionInputType,- SectionObjectType,- SectionOutputType
 - All Known Implementing Classes:
- ManagedFunctionFlowTypeImpl,- ManagedFunctionObjectTypeImpl,- ManagedFunctionTypeImpl,- ManagedObjectDependencyTypeImpl,- OfficeSectionInputTypeImpl,- OfficeSectionOutputTypeImpl,- SectionInputTypeImpl,- SectionObjectTypeImpl,- SectionOutputTypeImpl
 
 public interface AnnotatedTypeIdentifies types that may be annotated. Also, provides additional helper methods on the annotated type. - Author:
- Daniel Sagenschneider
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default <A> AgetAnnotation(java.lang.Class<A> type)Obtains the first annotation matching the type.java.lang.Object[]getAnnotations()Obtains the annotations.default <A> A[]getAnnotations(java.lang.Class<A> type)Obtain all annotations matching the type.
 
- 
- 
- 
Method Detail- 
getAnnotationsjava.lang.Object[] getAnnotations() Obtains the annotations.- Returns:
- Annotations.
 
 - 
getAnnotationdefault <A> A getAnnotation(java.lang.Class<A> type) Obtains the first annotation matching the type.- Type Parameters:
- A- Type of annotation.
- Parameters:
- type- Type of annotation.
- Returns:
- First annotation matching the type.
 
 - 
getAnnotationsdefault <A> A[] getAnnotations(java.lang.Class<A> type) Obtain all annotations matching the type.- Type Parameters:
- A- Type of annotation.
- Parameters:
- type- Type of annotation.
- Returns:
- All annotations matching the type. May be empty array if no matches.
 
 
- 
 
-