org.richfaces.cdk.apt
Class AptSourceUtils.AptBeanProperty

java.lang.Object
  extended by org.richfaces.cdk.apt.AptSourceUtils.AptBeanProperty
All Implemented Interfaces:
SourceUtils.BeanProperty
Enclosing class:
AptSourceUtils

protected final class AptSourceUtils.AptBeanProperty
extends java.lang.Object
implements SourceUtils.BeanProperty

Author:
asmirnov@exadel.com

Constructor Summary
AptSourceUtils.AptBeanProperty(java.lang.String name)
          

 
Method Summary
 boolean equals(java.lang.Object obj)
           
<T extends java.lang.annotation.Annotation>
T
getAnnotation(java.lang.Class<T> annotationType)
           
 javax.lang.model.element.AnnotationMirror getAnnotationMirror(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
           
 java.lang.String getDocComment()
          

Get JavaDoc comment of appropriate bean property element.

 java.lang.String getName()
          

 ClassName getType()
           
 int hashCode()
           
 boolean isExists()
          

 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AptSourceUtils.AptBeanProperty

public AptSourceUtils.AptBeanProperty(java.lang.String name)

Parameters:
name -
Method Detail

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

getName

public java.lang.String getName()

Specified by:
getName in interface SourceUtils.BeanProperty
Returns:
the name

getDocComment

public java.lang.String getDocComment()

Get JavaDoc comment of appropriate bean property element.

Specified by:
getDocComment in interface SourceUtils.BeanProperty
Returns:

getType

public ClassName getType()
Specified by:
getType in interface SourceUtils.BeanProperty

isExists

public boolean isExists()

Specified by:
isExists in interface SourceUtils.BeanProperty
Returns:
the exists

getAnnotationMirror

public javax.lang.model.element.AnnotationMirror getAnnotationMirror(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
Specified by:
getAnnotationMirror in interface SourceUtils.BeanProperty

getAnnotation

public <T extends java.lang.annotation.Annotation> T getAnnotation(java.lang.Class<T> annotationType)
Specified by:
getAnnotation in interface SourceUtils.BeanProperty


Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.