com.googlecode.androidannotations.validation
Class OptionsMenuValidator

java.lang.Object
  extended by com.googlecode.androidannotations.validation.OptionsMenuValidator
All Implemented Interfaces:
HasTarget, ElementValidator

public class OptionsMenuValidator
extends java.lang.Object
implements ElementValidator


Constructor Summary
OptionsMenuValidator(javax.annotation.processing.ProcessingEnvironment processingEnv, IRClass rClass)
           
 
Method Summary
 java.lang.Class<? extends java.lang.annotation.Annotation> getTarget()
           
 boolean validate(javax.lang.model.element.Element element, AnnotationElements validatedElements)
          Method used to filter validated elements from annotated elements
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OptionsMenuValidator

public OptionsMenuValidator(javax.annotation.processing.ProcessingEnvironment processingEnv,
                            IRClass rClass)
Method Detail

getTarget

public java.lang.Class<? extends java.lang.annotation.Annotation> getTarget()
Specified by:
getTarget in interface HasTarget

validate

public boolean validate(javax.lang.model.element.Element element,
                        AnnotationElements validatedElements)
Description copied from interface: ElementValidator
Method used to filter validated elements from annotated elements

Specified by:
validate in interface ElementValidator
Parameters:
element - the element to validate
validatedElements - to already validated elements
Returns:
true if the element should be added to the validatedElements, false otherwise


Copyright © 2010-2012. All Rights Reserved.