net.vidageek.mirror.reflect
Class DefaultAllMemberHandler

java.lang.Object
  extended by net.vidageek.mirror.reflect.DefaultAllMemberHandler
All Implemented Interfaces:
AllMemberHandler

public final class DefaultAllMemberHandler
extends Object
implements AllMemberHandler

This class is responsible for reflecting all annotations on any AccessibleObject

Author:
dnfeitosa

Constructor Summary
DefaultAllMemberHandler(ReflectionProvider provider, AnnotatedElement member)
           
 
Method Summary
 MirrorList<Annotation> annotations()
          Use this method to reflect a list of annotations on the AnnotatedElement
 List<Annotation> annotationsMatching(Matcher<Annotation> matcher)
          Use this method to reflect all annotations on the wrapped AnnotatedElement that matches matcher.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultAllMemberHandler

public DefaultAllMemberHandler(ReflectionProvider provider,
                               AnnotatedElement member)
Method Detail

annotations

public MirrorList<Annotation> annotations()
Description copied from interface: AllMemberHandler
Use this method to reflect a list of annotations on the AnnotatedElement

Specified by:
annotations in interface AllMemberHandler
Returns:
The list of annotation or a empty list if none was found.
See Also:
AnnotatedElementReflectionProvider.getAnnotations()

annotationsMatching

public List<Annotation> annotationsMatching(Matcher<Annotation> matcher)
Description copied from interface: AllMemberHandler
Use this method to reflect all annotations on the wrapped AnnotatedElement that matches matcher.

Specified by:
annotationsMatching in interface AllMemberHandler
Returns:
The list of annotations or an empty list if none was accepted by the matcher.
See Also:
AllMemberHandler.annotations()


Copyright © 2011 VidaGeek.net. All Rights Reserved.